# #ab9742 color: Prickly Pear

#ab9742 is rgb(171, 151, 66) in RGB and oklch(67.713% 0.10759 96.135) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #ab9742 |
| RGB | rgb(171, 151, 66) |
| HSL | hsl(48.57, 44.3%, 46.47%) |
| HSB / HSV | hsv(48.57 61.4% 67.06%) |
| HWB | hwb(48.57 25.88% 32.94%) |
| CMYK | cmyk(0% 12% 61% 33%) |
| Lab | lab(62.99 0.03 46.42) |
| LCH | lch(62.99 46.42 89.96) |
| OKLab | oklab(67.713% -0.0115 0.10697) |
| OKLCH | oklch(67.713% 0.10759 96.135) |
| Display P3 | color(display-p3 0.65754 0.59498 0.31131) |
| Rec. 2020 | color(rec2020 0.59465 0.5528 0.2588) |
| Adobe RGB | color(a98-rgb 0.64359 0.58665 0.2885) |
| ProPhoto RGB | color(prophoto-rgb 0.53592 0.52348 0.26314) |
| Linear sRGB | color(srgb-linear 0.40724 0.30947 0.05448) |
| XYZ D65 | color(xyz-d65 0.28844 0.31185 0.09654) |
| XYZ D50 | color(xyz-d50 0.30457 0.31577 0.07462) |
| SwiftUI | Color(red: 0.671, green: 0.592, blue: 0.259) |
| UIKit | UIColor(red: 0.671, green: 0.592, blue: 0.259, alpha: 1) |
| Flutter / Compose | Color(0xFFAB9742) |
| Android XML | #AB9742 |

## 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.9:1
- Contrast with black: 7.24:1

## Tints

#ab9742, #b3a157, #bbac6b, #c3b67e, #ccc091, #d4cba3, #ddd5b5, #e5dfc8, #eeeada, #f6f4ec

## Shades

#ab9742, #948338, #7e6f2f, #685c25, #54491c, #403714, #2d260b, #1b1705, #0b0801, #010100

## Tones

#ab9742, #a9974d, #a79758, #a59861, #a3986a, #a19872, #9f987a, #9d9881, #9b9889, #999790

## Harmonies

- Complementary: #ab9742, #8691d9
- Split: #ab9742, #5c9dd6, #a886cc
- Analogous: #ab9742, #c4894a, #87a358
- Triadic: #ab9742, #31a8c2, #c17db1
- Tetradic: #ab9742, #5aab7b, #8691d9, #c17db1
- Square: #ab9742, #2eada1, #8691d9, #cf7a8d
- Monochromatic: #ab9742, #645000, #867315, #d1bd69, #f9e48f

## Questions about #ab9742

### What color is #ab9742?

#ab9742 is bright yellow. The closest named color is Prickly Pear. In RGB it is rgb(171, 151, 66), in HSL hsl(48.57, 44.3%, 46.47%) and in OKLCH oklch(67.713% 0.10759 96.135).

### What colors go well with #ab9742?

The complementary color of #ab9742 is #8691d9. For a calmer combination use the analogous colors #c4894a and #87a358. The triadic partners are #31a8c2 and #c17db1.

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

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

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

#ab9742 is a warm color. In OKLCH its hue is 96 degrees, its lightness 67.7% and its chroma 0.108.
