#AB9A2E#AB9A2E
#AB9A2E is a light, vivid yellow. Relative luminance 0.320; OKLCH L 68.2% C 0.125 H 100.1°. Best body text is #000000 at 7.39:1 contrast (WCAG AA passes).
Color values
| HEX | #AB9A2E |
|---|---|
| RGB | rgb(171, 154, 46) |
| HSL | hsl(52, 58%, 43%) |
| HSV | hsv(52, 73%, 67%) |
| CMYK | cmyk(0%, 9.9%, 73.1%, 32.9%) |
| CIE-LAB | lab(63.32, -5.88, 55.74) |
| CIE-LCH | lch(63.32, 56.05, 96.02°) |
| OKLab | oklab(68.18% -0.0219 0.1234) |
| OKLCH | oklch(68.18% 0.125 100.1) |
| XYZ | xyz(28.8447, 31.9677, 7.2353) |
| Luminance | 0.3197 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Yellow
#B29705
ΔE00 3.83
Baby Poo
#AB9004
ΔE00 4.45
Baby Shit Brown
#AD900D
ΔE00 4.65
Dark Gold
#B59410
ΔE00 5.08
Yellow Brown
#B79400
ΔE00 5.76
Vomit
#A2A415
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB9A2E #2E3FAB
analogous
#AB5B2E #AB9A2E #7EAB2E
triadic
#AB9A2E #2EAB9A #9A2EAB
tetradic
#AB9A2E #2EAB5B #2E3FAB #AB2E7E
square
#AB9A2E #2EAB5B #2E3FAB #AB2E7E
split-complementary
#AB9A2E #2E7EAB #5B2EAB
monochromatic
#4B4314 #7B6F21 #AB9A2E #CEBC48 #DBCD79
Accessibility & contrast
On white
2.84
#AB9A2E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.39
#AB9A2E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AB9A2E
7.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB9A2E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AB9A2E | 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)
#A9961C
Deuteranopia (green-blind)
#AE9C35
Tritanopia (blue-blind)
#B88F85
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #ab9a2e; /* rgb */ color: rgb(171, 154, 46); /* oklch */ color: oklch(68.2% 0.125 100.1);
Tailwind
colors: {
custom: {
50: '#c8b76e',
500: '#ab9a2e',
950: '#000000',
},
}SCSS
$custom: #ab9a2e; $custom-light: #c8b76e; $custom-dark: #000000;
JSON
{
"hex": "#ab9a2e",
"rgb": {
"r": 171,
"g": 154,
"b": 46
},
"hsl": {
"h": 51.84,
"s": 57.604,
"l": 42.549
},
"oklch": {
"l": 0.68177,
"c": 0.1253,
"h": 100.1
},
"luminance": 0.31966
}Semantic roles & 50–950 ramp
primary
#AB9A2E
secondary
#727DC3
accent
#5CE147
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141108
muted
#82807B