#AB9D2A#AB9D2A
#AB9D2A is a light, vivid yellow. Relative luminance 0.329; OKLCH L 68.8% C 0.130 H 102.1°. Best body text is #000000 at 7.59:1 contrast (WCAG AA passes).
Color values
| HEX | #AB9D2A |
|---|---|
| RGB | rgb(171, 157, 42) |
| HSL | hsl(53, 61%, 42%) |
| HSV | hsv(53, 75%, 67%) |
| CMYK | cmyk(0%, 8.2%, 75.4%, 32.9%) |
| CIE-LAB | lab(64.11, -7.66, 57.98) |
| CIE-LCH | lch(64.11, 58.48, 97.53°) |
| OKLab | oklab(68.8% -0.0273 0.1273) |
| OKLCH | oklch(68.8% 0.13 102.1) |
| XYZ | xyz(29.2708, 32.9403, 7.0063) |
| Luminance | 0.3294 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Yellow
#B29705
ΔE00 4.36
Puke
#A5A502
ΔE00 4.73
Vomit
#A2A415
ΔE00 4.74
Baby Poo
#AB9004
ΔE00 5.32
Baby Shit Brown
#AD900D
ΔE00 5.62
Muddy Yellow
#BFAC05
ΔE00 5.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB9D2A #2A38AB
analogous
#AB5C2A #AB9D2A #79AB2A
triadic
#AB9D2A #2AAB9D #9D2AAB
tetradic
#AB9D2A #2AAB5C #2A38AB #AB2A79
square
#AB9D2A #2AAB5C #2A38AB #AB2A79
split-complementary
#AB9D2A #2A79AB #5C2AAB
monochromatic
#494312 #7A701E #AB9D2A #D1C142 #DDD173
Accessibility & contrast
On white
2.77
#AB9D2A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.59
#AB9D2A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AB9D2A
7.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB9D2A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AB9D2A | 1.00 | 2.77 | 7.59 | 7.59 |
| #FFFFFF | 2.77 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AC9813
Deuteranopia (green-blind)
#B09E32
Tritanopia (blue-blind)
#B89287
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #ab9d2a; /* rgb */ color: rgb(171, 157, 42); /* oklch */ color: oklch(68.8% 0.130 102.1);
Tailwind
colors: {
custom: {
50: '#c8b96d',
500: '#ab9d2a',
950: '#000000',
},
}SCSS
$custom: #ab9d2a; $custom-light: #c8b96d; $custom-dark: #000000;
JSON
{
"hex": "#ab9d2a",
"rgb": {
"r": 171,
"g": 157,
"b": 42
},
"hsl": {
"h": 53.488,
"s": 60.563,
"l": 41.765
},
"oklch": {
"l": 0.68801,
"c": 0.13024,
"h": 102.1
},
"luminance": 0.32939
}Semantic roles & 50–950 ramp
primary
#AB9D2A
secondary
#6D76C4
accent
#55E444
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141107
muted
#82807A