#AB9E2D#AB9E2D
#AB9E2D is a light, vivid yellow. Relative luminance 0.333; OKLCH L 69.0% C 0.129 H 102.6°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).
Color values
| HEX | #AB9E2D |
|---|---|
| RGB | rgb(171, 158, 45) |
| HSL | hsl(54, 58%, 42%) |
| HSV | hsv(54, 74%, 67%) |
| CMYK | cmyk(0%, 7.6%, 73.7%, 32.9%) |
| CIE-LAB | lab(64.41, -8.06, 57.17) |
| CIE-LCH | lch(64.41, 57.74, 98.02°) |
| OKLab | oklab(69.04% -0.0281 0.1262) |
| OKLCH | oklch(69.04% 0.129 102.6) |
| XYZ | xyz(29.4964, 33.3024, 7.3564) |
| Luminance | 0.3330 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 4.50
Puke
#A5A502
ΔE00 4.55
Brown Yellow
#B29705
ΔE00 4.78
Baby Poo
#AB9004
ΔE00 5.76
Muddy Yellow
#BFAC05
ΔE00 5.88
Baby Shit Brown
#AD900D
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB9E2D #2D3AAB
analogous
#AB5F2D #AB9E2D #79AB2D
triadic
#AB9E2D #2DAB9E #9E2DAB
tetradic
#AB9E2D #2DAB5F #2D3AAB #AB2D79
square
#AB9E2D #2DAB5F #2D3AAB #AB2D79
split-complementary
#AB9E2D #2D79AB #5F2DAB
monochromatic
#4A4414 #7B7120 #AB9E2D #CEC047 #DBD177
Accessibility & contrast
On white
2.74
#AB9E2D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.66
#AB9E2D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AB9E2D
7.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB9E2D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AB9E2D | 1.00 | 2.74 | 7.66 | 7.66 |
| #FFFFFF | 2.74 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.66 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.66 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AD9919
Deuteranopia (green-blind)
#B19F35
Tritanopia (blue-blind)
#B89388
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #ab9e2d; /* rgb */ color: rgb(171, 158, 45); /* oklch */ color: oklch(69.0% 0.129 102.6);
Tailwind
colors: {
custom: {
50: '#c8ba6e',
500: '#ab9e2d',
950: '#000000',
},
}SCSS
$custom: #ab9e2d; $custom-light: #c8ba6e; $custom-dark: #000000;
JSON
{
"hex": "#ab9e2d",
"rgb": {
"r": 171,
"g": 158,
"b": 45
},
"hsl": {
"h": 53.81,
"s": 58.333,
"l": 42.353
},
"oklch": {
"l": 0.6904,
"c": 0.1293,
"h": 102.6
},
"luminance": 0.33301
}Semantic roles & 50–950 ramp
primary
#AB9E2D
secondary
#7179C3
accent
#56E246
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141108
muted
#82807B