#AB9B2E#AB9B2E
#AB9B2E is a light, vivid yellow. Relative luminance 0.323; OKLCH L 68.4% C 0.126 H 100.7°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).
Color values
| HEX | #AB9B2E |
|---|---|
| RGB | rgb(171, 155, 46) |
| HSL | hsl(52, 58%, 43%) |
| HSV | hsv(52, 73%, 67%) |
| CMYK | cmyk(0%, 9.4%, 73.1%, 32.9%) |
| CIE-LAB | lab(63.59, -6.41, 56.01) |
| CIE-LCH | lch(63.59, 56.38, 96.53°) |
| OKLab | oklab(68.39% -0.0234 0.1239) |
| OKLCH | oklch(68.39% 0.126 100.7) |
| XYZ | xyz(29.0104, 32.2992, 7.2905) |
| Luminance | 0.3230 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Yellow
#B29705
ΔE00 4.04
Baby Poo
#AB9004
ΔE00 4.77
Baby Shit Brown
#AD900D
ΔE00 5.00
Dark Gold
#B59410
ΔE00 5.39
Vomit
#A2A415
ΔE00 5.62
Puke
#A5A502
ΔE00 5.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB9B2E #2E3EAB
analogous
#AB5C2E #AB9B2E #7DAB2E
triadic
#AB9B2E #2EAB9B #9B2EAB
tetradic
#AB9B2E #2EAB5C #2E3EAB #AB2E7D
square
#AB9B2E #2EAB5C #2E3EAB #AB2E7D
split-complementary
#AB9B2E #2E7DAB #5C2EAB
monochromatic
#4B4414 #7B6F21 #AB9B2E #CEBD48 #DBCE79
Accessibility & contrast
On white
2.82
#AB9B2E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.46
#AB9B2E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AB9B2E
7.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB9B2E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AB9B2E | 1.00 | 2.82 | 7.46 | 7.46 |
| #FFFFFF | 2.82 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.46 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.46 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AA961C
Deuteranopia (green-blind)
#AE9D35
Tritanopia (blue-blind)
#B89086
Achromatopsia (no color)
#9A9A9A
Design tokens & code
CSS
--color: #ab9b2e; /* rgb */ color: rgb(171, 155, 46); /* oklch */ color: oklch(68.4% 0.126 100.7);
Tailwind
colors: {
custom: {
50: '#c8b86e',
500: '#ab9b2e',
950: '#000000',
},
}SCSS
$custom: #ab9b2e; $custom-light: #c8b86e; $custom-dark: #000000;
JSON
{
"hex": "#ab9b2e",
"rgb": {
"r": 171,
"g": 155,
"b": 46
},
"hsl": {
"h": 52.32,
"s": 57.604,
"l": 42.549
},
"oklch": {
"l": 0.68394,
"c": 0.12612,
"h": 100.7
},
"luminance": 0.32298
}Semantic roles & 50–950 ramp
primary
#AB9B2E
secondary
#727CC3
accent
#5BE147
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141108
muted
#82807B