#AB9929#AB9929
#AB9929 is a light, vivid yellow. Relative luminance 0.316; OKLCH L 67.9% C 0.128 H 99.7°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).
Color values
| HEX | #AB9929 |
|---|---|
| RGB | rgb(171, 153, 41) |
| HSL | hsl(52, 61%, 42%) |
| HSV | hsv(52, 76%, 67%) |
| CMYK | cmyk(0%, 10.5%, 76%, 32.9%) |
| CIE-LAB | lab(63.01, -5.57, 57.30) |
| CIE-LCH | lch(63.01, 57.57, 95.55°) |
| OKLab | oklab(67.93% -0.0215 0.1257) |
| OKLCH | oklch(67.93% 0.128 99.7) |
| XYZ | xyz(28.5875, 31.6019, 6.6914) |
| Luminance | 0.3160 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Yellow
#B29705
ΔE00 3.32
Baby Poo
#AB9004
ΔE00 3.91
Baby Shit Brown
#AD900D
ΔE00 4.15
Dark Gold
#B59410
ΔE00 4.64
Yellow Brown
#B79400
ΔE00 5.31
Ocher
#BF9B0C
ΔE00 5.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB9929 #293BAB
analogous
#AB5829 #AB9929 #7CAB29
triadic
#AB9929 #29AB99 #9929AB
tetradic
#AB9929 #29AB58 #293BAB #AB297C
square
#AB9929 #29AB58 #293BAB #AB297C
split-complementary
#AB9929 #297CAB #5829AB
monochromatic
#484111 #7A6D1D #AB9929 #D1BD40 #DDCE71
Accessibility & contrast
On white
2.87
#AB9929 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.32
#AB9929 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AB9929
7.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB9929 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AB9929 | 1.00 | 2.87 | 7.32 | 7.32 |
| #FFFFFF | 2.87 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.32 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.32 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A89513
Deuteranopia (green-blind)
#AD9B31
Tritanopia (blue-blind)
#B98D84
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #ab9929; /* rgb */ color: rgb(171, 153, 41); /* oklch */ color: oklch(67.9% 0.128 99.7);
Tailwind
colors: {
custom: {
50: '#c8b66c',
500: '#ab9929',
950: '#000000',
},
}SCSS
$custom: #ab9929; $custom-light: #c8b66c; $custom-dark: #000000;
JSON
{
"hex": "#ab9929",
"rgb": {
"r": 171,
"g": 153,
"b": 41
},
"hsl": {
"h": 51.692,
"s": 61.321,
"l": 41.569
},
"oklch": {
"l": 0.67926,
"c": 0.12754,
"h": 99.7
},
"luminance": 0.316
}Semantic roles & 50–950 ramp
primary
#AB9929
secondary
#6C78C4
accent
#5AE443
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141107
muted
#82807A