#AB9F2E#AB9F2E
#AB9F2E is a light, vivid yellow. Relative luminance 0.337; OKLCH L 69.3% C 0.130 H 103.1°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).
Color values
| HEX | #AB9F2E |
|---|---|
| RGB | rgb(171, 159, 46) |
| HSL | hsl(54, 58%, 43%) |
| HSV | hsv(54, 73%, 67%) |
| CMYK | cmyk(0%, 7%, 73.1%, 32.9%) |
| CIE-LAB | lab(64.69, -8.54, 57.07) |
| CIE-LCH | lch(64.69, 57.71, 98.51°) |
| OKLab | oklab(69.27% -0.0294 0.1262) |
| OKLCH | oklch(69.27% 0.13 103.1) |
| XYZ | xyz(29.6872, 33.6527, 7.5161) |
| Luminance | 0.3365 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 4.21
Puke
#A5A502
ΔE00 4.29
Brown Yellow
#B29705
ΔE00 5.11
Muddy Yellow
#BFAC05
ΔE00 5.80
Pea Soup
#929901
ΔE00 6.09
Baby Poo
#AB9004
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB9F2E #2E3AAB
analogous
#AB602E #AB9F2E #79AB2E
triadic
#AB9F2E #2EAB9F #9F2EAB
tetradic
#AB9F2E #2EAB60 #2E3AAB #AB2E79
square
#AB9F2E #2EAB60 #2E3AAB #AB2E79
split-complementary
#AB9F2E #2E79AB #602EAB
monochromatic
#4B4514 #7B7221 #AB9F2E #CEC148 #DBD179
Accessibility & contrast
On white
2.72
#AB9F2E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.73
#AB9F2E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AB9F2E
7.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB9F2E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AB9F2E | 1.00 | 2.72 | 7.73 | 7.73 |
| #FFFFFF | 2.72 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AE9A1A
Deuteranopia (green-blind)
#B19F36
Tritanopia (blue-blind)
#B89489
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #ab9f2e; /* rgb */ color: rgb(171, 159, 46); /* oklch */ color: oklch(69.3% 0.130 103.1);
Tailwind
colors: {
custom: {
50: '#c8bb6f',
500: '#ab9f2e',
950: '#000000',
},
}SCSS
$custom: #ab9f2e; $custom-light: #c8bb6f; $custom-dark: #000000;
JSON
{
"hex": "#ab9f2e",
"rgb": {
"r": 171,
"g": 159,
"b": 46
},
"hsl": {
"h": 54.24,
"s": 57.604,
"l": 42.549
},
"oklch": {
"l": 0.69265,
"c": 0.12956,
"h": 103.1
},
"luminance": 0.33651
}Semantic roles & 50–950 ramp
primary
#AB9F2E
secondary
#727AC3
accent
#56E147
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141108
muted
#82807B