#AB9932#AB9932
#AB9932 is a light, vivid yellow. Relative luminance 0.317; OKLCH L 68.0% C 0.122 H 99.1°. Best body text is #000000 at 7.33:1 contrast (WCAG AA passes).
Color values
| HEX | #AB9932 |
|---|---|
| RGB | rgb(171, 153, 50) |
| HSL | hsl(51, 55%, 43%) |
| HSV | hsv(51, 71%, 67%) |
| CMYK | cmyk(0%, 10.5%, 70.8%, 32.9%) |
| CIE-LAB | lab(63.07, -5.14, 53.93) |
| CIE-LCH | lch(63.07, 54.17, 95.44°) |
| OKLab | oklab(67.99% -0.0193 0.1203) |
| OKLCH | oklch(67.99% 0.122 99.1) |
| XYZ | xyz(28.7629, 31.6720, 7.6153) |
| Luminance | 0.3167 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Yellow
#B29705
ΔE00 3.97
Baby Poo
#AB9004
ΔE00 4.38
Baby Shit Brown
#AD900D
ΔE00 4.50
Dark Gold
#B59410
ΔE00 4.96
Yellow Brown
#B79400
ΔE00 5.68
Ocher
#BF9B0C
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB9932 #3244AB
analogous
#AB5C32 #AB9932 #80AB32
triadic
#AB9932 #32AB99 #9932AB
tetradic
#AB9932 #32AB5C #3244AB #AB3280
square
#AB9932 #32AB5C #3244AB #AB3280
split-complementary
#AB9932 #3280AB #5C32AB
monochromatic
#4C4416 #7C6F24 #AB9932 #CBB94F #D9CC7E
Accessibility & contrast
On white
2.86
#AB9932 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.33
#AB9932 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AB9932
7.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB9932 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AB9932 | 1.00 | 2.86 | 7.33 | 7.33 |
| #FFFFFF | 2.86 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.33 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.33 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A89523
Deuteranopia (green-blind)
#AD9B38
Tritanopia (blue-blind)
#B88E84
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #ab9932; /* rgb */ color: rgb(171, 153, 50); /* oklch */ color: oklch(68.0% 0.122 99.1);
Tailwind
colors: {
custom: {
50: '#c7b670',
500: '#ab9932',
950: '#000000',
},
}SCSS
$custom: #ab9932; $custom-light: #c7b670; $custom-dark: #000000;
JSON
{
"hex": "#ab9932",
"rgb": {
"r": 171,
"g": 153,
"b": 50
},
"hsl": {
"h": 51.074,
"s": 54.751,
"l": 43.333
},
"oklch": {
"l": 0.67991,
"c": 0.12182,
"h": 99.1
},
"luminance": 0.31671
}Semantic roles & 50–950 ramp
primary
#AB9932
secondary
#7782C2
accent
#60DE4A
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141108
muted
#82807B