#AB9A2D#AB9A2D
#AB9A2D is a light, vivid yellow. Relative luminance 0.320; OKLCH L 68.2% C 0.126 H 100.1°. Best body text is #000000 at 7.39:1 contrast (WCAG AA passes).
Color values
| HEX | #AB9A2D |
|---|---|
| RGB | rgb(171, 154, 45) |
| HSL | hsl(52, 58%, 42%) |
| HSV | hsv(52, 74%, 67%) |
| CMYK | cmyk(0%, 9.9%, 73.7%, 32.9%) |
| CIE-LAB | lab(63.31, -5.92, 56.12) |
| CIE-LCH | lch(63.31, 56.43, 96.03°) |
| OKLab | oklab(68.17% -0.0221 0.124) |
| OKLCH | oklch(68.17% 0.126 100.1) |
| XYZ | xyz(28.8252, 31.9599, 7.1327) |
| Luminance | 0.3196 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Yellow
#B29705
ΔE00 3.77
Baby Poo
#AB9004
ΔE00 4.40
Baby Shit Brown
#AD900D
ΔE00 4.62
Dark Gold
#B59410
ΔE00 5.05
Yellow Brown
#B79400
ΔE00 5.72
Vomit
#A2A415
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB9A2D #2D3EAB
analogous
#AB5B2D #AB9A2D #7DAB2D
triadic
#AB9A2D #2DAB9A #9A2DAB
tetradic
#AB9A2D #2DAB5B #2D3EAB #AB2D7D
square
#AB9A2D #2DAB5B #2D3EAB #AB2D7D
split-complementary
#AB9A2D #2D7DAB #5B2DAB
monochromatic
#4A4314 #7B6E20 #AB9A2D #CEBC47 #DBCE77
Accessibility & contrast
On white
2.84
#AB9A2D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.39
#AB9A2D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AB9A2D
7.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB9A2D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AB9A2D | 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)
#A9961A
Deuteranopia (green-blind)
#AE9C34
Tritanopia (blue-blind)
#B88F85
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #ab9a2d; /* rgb */ color: rgb(171, 154, 45); /* oklch */ color: oklch(68.2% 0.126 100.1);
Tailwind
colors: {
custom: {
50: '#c8b76e',
500: '#ab9a2d',
950: '#000000',
},
}SCSS
$custom: #ab9a2d; $custom-light: #c8b76e; $custom-dark: #000000;
JSON
{
"hex": "#ab9a2d",
"rgb": {
"r": 171,
"g": 154,
"b": 45
},
"hsl": {
"h": 51.905,
"s": 58.333,
"l": 42.353
},
"oklch": {
"l": 0.6817,
"c": 0.12593,
"h": 100.1
},
"luminance": 0.31959
}Semantic roles & 50–950 ramp
primary
#AB9A2D
secondary
#717CC3
accent
#5BE246
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141108
muted
#82807B