#AB9E2E#AB9E2E
#AB9E2E is a light, vivid yellow. Relative luminance 0.333; OKLCH L 69.0% C 0.129 H 102.5°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).
Color values
| HEX | #AB9E2E |
|---|---|
| RGB | rgb(171, 158, 46) |
| HSL | hsl(54, 58%, 43%) |
| HSV | hsv(54, 73%, 67%) |
| CMYK | cmyk(0%, 7.6%, 73.1%, 32.9%) |
| CIE-LAB | lab(64.41, -8.01, 56.81) |
| CIE-LCH | lch(64.41, 57.37, 98.03°) |
| OKLab | oklab(69.05% -0.0279 0.1256) |
| OKLCH | oklch(69.05% 0.129 102.5) |
| XYZ | xyz(29.5159, 33.3102, 7.4590) |
| Luminance | 0.3331 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 4.55
Puke
#A5A502
ΔE00 4.62
Brown Yellow
#B29705
ΔE00 4.82
Baby Poo
#AB9004
ΔE00 5.78
Muddy Yellow
#BFAC05
ΔE00 5.94
Baby Shit Brown
#AD900D
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB9E2E #2E3BAB
analogous
#AB5F2E #AB9E2E #7AAB2E
triadic
#AB9E2E #2EAB9E #9E2EAB
tetradic
#AB9E2E #2EAB5F #2E3BAB #AB2E7A
square
#AB9E2E #2EAB5F #2E3BAB #AB2E7A
split-complementary
#AB9E2E #2E7AAB #5F2EAB
monochromatic
#4B4514 #7B7121 #AB9E2E #CEC048 #DBD179
Accessibility & contrast
On white
2.74
#AB9E2E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.66
#AB9E2E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AB9E2E
7.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB9E2E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AB9E2E | 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)
#AD991B
Deuteranopia (green-blind)
#B19F36
Tritanopia (blue-blind)
#B89388
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #ab9e2e; /* rgb */ color: rgb(171, 158, 46); /* oklch */ color: oklch(69.0% 0.129 102.5);
Tailwind
colors: {
custom: {
50: '#c8ba6f',
500: '#ab9e2e',
950: '#000000',
},
}SCSS
$custom: #ab9e2e; $custom-light: #c8ba6f; $custom-dark: #000000;
JSON
{
"hex": "#ab9e2e",
"rgb": {
"r": 171,
"g": 158,
"b": 46
},
"hsl": {
"h": 53.76,
"s": 57.604,
"l": 42.549
},
"oklch": {
"l": 0.69047,
"c": 0.12869,
"h": 102.5
},
"luminance": 0.33309
}Semantic roles & 50–950 ramp
primary
#AB9E2E
secondary
#727AC3
accent
#57E147
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141108
muted
#82807B