#AB9931#AB9931
#AB9931 is a light, vivid yellow. Relative luminance 0.317; OKLCH L 68.0% C 0.122 H 99.2°. Best body text is #000000 at 7.33:1 contrast (WCAG AA passes).
Color values
| HEX | #AB9931 |
|---|---|
| RGB | rgb(171, 153, 49) |
| HSL | hsl(51, 55%, 43%) |
| HSV | hsv(51, 71%, 67%) |
| CMYK | cmyk(0%, 10.5%, 71.3%, 32.9%) |
| CIE-LAB | lab(63.06, -5.19, 54.32) |
| CIE-LCH | lch(63.06, 54.57, 95.46°) |
| OKLab | oklab(67.98% -0.0196 0.1209) |
| OKLCH | oklch(67.98% 0.123 99.2) |
| XYZ | xyz(28.7415, 31.6635, 7.5029) |
| Luminance | 0.3166 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Yellow
#B29705
ΔE00 3.89
Baby Poo
#AB9004
ΔE00 4.32
Baby Shit Brown
#AD900D
ΔE00 4.45
Dark Gold
#B59410
ΔE00 4.91
Yellow Brown
#B79400
ΔE00 5.63
Ocher
#BF9B0C
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB9931 #3143AB
analogous
#AB5C31 #AB9931 #80AB31
triadic
#AB9931 #31AB99 #9931AB
tetradic
#AB9931 #31AB5C #3143AB #AB3180
square
#AB9931 #31AB5C #3143AB #AB3180
split-complementary
#AB9931 #3180AB #5C31AB
monochromatic
#4C4416 #7B6E23 #AB9931 #CCB94D #DACC7D
Accessibility & contrast
On white
2.86
#AB9931 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.33
#AB9931 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AB9931
7.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB9931 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AB9931 | 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)
#A89521
Deuteranopia (green-blind)
#AD9B37
Tritanopia (blue-blind)
#B88E84
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #ab9931; /* rgb */ color: rgb(171, 153, 49); /* oklch */ color: oklch(68.0% 0.122 99.2);
Tailwind
colors: {
custom: {
50: '#c7b670',
500: '#ab9931',
950: '#000000',
},
}SCSS
$custom: #ab9931; $custom-light: #c7b670; $custom-dark: #000000;
JSON
{
"hex": "#ab9931",
"rgb": {
"r": 171,
"g": 153,
"b": 49
},
"hsl": {
"h": 51.148,
"s": 55.455,
"l": 43.137
},
"oklch": {
"l": 0.67983,
"c": 0.1225,
"h": 99.2
},
"luminance": 0.31662
}Semantic roles & 50–950 ramp
primary
#AB9931
secondary
#7581C2
accent
#5FDF49
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141108
muted
#82807B