#AB9934#AB9934
#AB9934 is a light, vivid yellow. Relative luminance 0.317; OKLCH L 68.0% C 0.120 H 99.0°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).
Color values
| HEX | #AB9934 |
|---|---|
| RGB | rgb(171, 153, 52) |
| HSL | hsl(51, 53%, 44%) |
| HSV | hsv(51, 70%, 67%) |
| CMYK | cmyk(0%, 10.5%, 69.6%, 32.9%) |
| CIE-LAB | lab(63.09, -5.03, 53.12) |
| CIE-LCH | lch(63.09, 53.36, 95.41°) |
| OKLab | oklab(68.01% -0.0188 0.1189) |
| OKLCH | oklch(68.01% 0.12 99) |
| XYZ | xyz(28.8070, 31.6897, 7.8475) |
| Luminance | 0.3169 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Yellow
#B29705
ΔE00 4.15
Baby Poo
#AB9004
ΔE00 4.52
Baby Shit Brown
#AD900D
ΔE00 4.61
Dark Gold
#B59410
ΔE00 5.06
Yellow Brown
#B79400
ΔE00 5.79
Ocher
#BF9B0C
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB9934 #3446AB
analogous
#AB5D34 #AB9934 #81AB34
triadic
#AB9934 #34AB99 #9934AB
tetradic
#AB9934 #34AB5D #3446AB #AB3481
square
#AB9934 #34AB5D #3446AB #AB3481
split-complementary
#AB9934 #3481AB #5D34AB
monochromatic
#4D4517 #7C6F26 #AB9934 #CAB852 #D9CB81
Accessibility & contrast
On white
2.86
#AB9934 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.34
#AB9934 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AB9934
7.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB9934 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AB9934 | 1.00 | 2.86 | 7.34 | 7.34 |
| #FFFFFF | 2.86 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.34 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.34 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A89526
Deuteranopia (green-blind)
#AD9B3A
Tritanopia (blue-blind)
#B88E84
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #ab9934; /* rgb */ color: rgb(171, 153, 52); /* oklch */ color: oklch(68.0% 0.120 99.0);
Tailwind
colors: {
custom: {
50: '#c7b671',
500: '#ab9934',
950: '#000000',
},
}SCSS
$custom: #ab9934; $custom-light: #c7b671; $custom-dark: #000000;
JSON
{
"hex": "#ab9934",
"rgb": {
"r": 171,
"g": 153,
"b": 52
},
"hsl": {
"h": 50.924,
"s": 53.363,
"l": 43.725
},
"oklch": {
"l": 0.68008,
"c": 0.12041,
"h": 99
},
"luminance": 0.31688
}Semantic roles & 50–950 ramp
primary
#AB9934
secondary
#7984C2
accent
#61DD4B
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#131108
muted
#82807B