# #ab9940 color: Prickly Pear

#ab9940 is rgb(171, 153, 64) in RGB and oklch(68.12% 0.11097 97.9) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/ab9940

## Formats

| Format | Value |
| --- | --- |
| HEX | #ab9940 |
| RGB | rgb(171, 153, 64) |
| HSL | hsl(49.91, 45.53%, 46.08%) |
| HSB / HSV | hsv(49.91 62.57% 67.06%) |
| HWB | hwb(49.91 25.1% 32.94%) |
| CMYK | cmyk(0% 11% 63% 33%) |
| Lab | lab(63.51 -1.1 47.89) |
| LCH | lch(63.51 47.9 91.31) |
| OKLab | oklab(68.12% -0.01525 0.10992) |
| OKLCH | oklch(68.12% 0.11097 97.9) |
| Display P3 | color(display-p3 0.65876 0.60252 0.3069) |
| Rec. 2020 | color(rec2020 0.59712 0.56053 0.25473) |
| Adobe RGB | color(a98-rgb 0.64558 0.59441 0.28298) |
| ProPhoto RGB | color(prophoto-rgb 0.53825 0.53075 0.26036) |
| Linear sRGB | color(srgb-linear 0.40724 0.31855 0.05127) |
| XYZ D65 | color(xyz-d65 0.2911 0.31811 0.09457) |
| XYZ D50 | color(xyz-d50 0.30761 0.32208 0.07321) |
| SwiftUI | Color(red: 0.671, green: 0.6, blue: 0.251) |
| UIKit | UIColor(red: 0.671, green: 0.6, blue: 0.251, alpha: 1) |
| Flutter / Compose | Color(0xFFAB9940) |
| Android XML | #AB9940 |

## Facts

- Closest name: Prickly Pear
- Hue family: Yellow, bright yellow
- Closest Tailwind class: yellow-600
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 2.85:1
- Contrast with black: 7.36:1

## Tints

#ab9940, #b3a356, #bbad6a, #c3b77d, #ccc290, #d4cca3, #dcd6b5, #e5e0c7, #eeeada, #f6f5ec

## Shades

#ab9940, #948436, #7e702d, #685d24, #544a1b, #403813, #2d270b, #1b1705, #0b0801, #010100

## Tones

#ab9940, #a9994c, #a79957, #a59960, #a39969, #a29972, #a0997a, #9e9982, #9c998a, #9a9991

## Harmonies

- Complementary: #ab9940, #8991dc
- Split: #ab9940, #5d9eda, #ac86ce
- Analogous: #ab9940, #c68b47, #85a658
- Triadic: #ab9940, #2ea9c6, #c57db1
- Tetradic: #ab9940, #56ad7e, #8991dc, #c57db1
- Square: #ab9940, #26aea5, #8991dc, #d37a8c
- Monochromatic: #ab9940, #635200, #867511, #d1bf67, #f9e68e

## Questions about #ab9940

### What color is #ab9940?

#ab9940 is bright yellow. The closest named color is Prickly Pear. In RGB it is rgb(171, 153, 64), in HSL hsl(49.91, 45.53%, 46.08%) and in OKLCH oklch(68.12% 0.11097 97.9).

### What colors go well with #ab9940?

The complementary color of #ab9940 is #8991dc. For a calmer combination use the analogous colors #c68b47 and #85a658. The triadic partners are #2ea9c6 and #c57db1.

### Is white or black text more readable on #ab9940?

Black text reads better on #ab9940: white gives a contrast ratio of 2.85:1 and black gives 7.36:1. WCAG AA asks for at least 4.5:1 for body text.

### Is #ab9940 a warm or cool color?

#ab9940 is a warm color. In OKLCH its hue is 98 degrees, its lightness 68.1% and its chroma 0.111.
