#AB9A2B#AB9A2B
#AB9A2B is a light, vivid yellow. Relative luminance 0.319; OKLCH L 68.2% C 0.127 H 100.2°. Best body text is #000000 at 7.39:1 contrast (WCAG AA passes).
Color values
| HEX | #AB9A2B |
|---|---|
| RGB | rgb(171, 154, 43) |
| HSL | hsl(52, 60%, 42%) |
| HSV | hsv(52, 75%, 67%) |
| CMYK | cmyk(0%, 9.9%, 74.9%, 32.9%) |
| CIE-LAB | lab(63.30, -6.02, 56.85) |
| CIE-LCH | lch(63.30, 57.17, 96.04°) |
| OKLab | oklab(68.16% -0.0226 0.1251) |
| OKLCH | oklch(68.16% 0.127 100.2) |
| XYZ | xyz(28.7876, 31.9449, 6.9347) |
| Luminance | 0.3194 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Yellow
#B29705
ΔE00 3.64
Baby Poo
#AB9004
ΔE00 4.32
Baby Shit Brown
#AD900D
ΔE00 4.56
Dark Gold
#B59410
ΔE00 4.99
Yellow Brown
#B79400
ΔE00 5.65
Vomit
#A2A415
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB9A2B #2B3CAB
analogous
#AB5A2B #AB9A2B #7CAB2B
triadic
#AB9A2B #2BAB9A #9A2BAB
tetradic
#AB9A2B #2BAB5A #2B3CAB #AB2B7C
square
#AB9A2B #2BAB5A #2B3CAB #AB2B7C
split-complementary
#AB9A2B #2B7CAB #5A2BAB
monochromatic
#494212 #7A6E1F #AB9A2B #D0BD43 #DCCE74
Accessibility & contrast
On white
2.84
#AB9A2B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.39
#AB9A2B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AB9A2B
7.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB9A2B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AB9A2B | 1.00 | 2.84 | 7.39 | 7.39 |
| #FFFFFF | 2.84 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.39 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.39 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A99616
Deuteranopia (green-blind)
#AE9C32
Tritanopia (blue-blind)
#B88E85
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #ab9a2b; /* rgb */ color: rgb(171, 154, 43); /* oklch */ color: oklch(68.2% 0.127 100.2);
Tailwind
colors: {
custom: {
50: '#c8b76d',
500: '#ab9a2b',
950: '#000000',
},
}SCSS
$custom: #ab9a2b; $custom-light: #c8b76d; $custom-dark: #000000;
JSON
{
"hex": "#ab9a2b",
"rgb": {
"r": 171,
"g": 154,
"b": 43
},
"hsl": {
"h": 52.031,
"s": 59.813,
"l": 41.961
},
"oklch": {
"l": 0.68156,
"c": 0.12715,
"h": 100.2
},
"luminance": 0.31944
}Semantic roles & 50–950 ramp
primary
#AB9A2B
secondary
#6E7AC4
accent
#5AE345
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141107
muted
#82807A