#AB9E2B#AB9E2B
#AB9E2B is a light, vivid yellow. Relative luminance 0.333; OKLCH L 69.0% C 0.131 H 102.7°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).
Color values
| HEX | #AB9E2B |
|---|---|
| RGB | rgb(171, 158, 43) |
| HSL | hsl(54, 60%, 42%) |
| HSV | hsv(54, 75%, 67%) |
| CMYK | cmyk(0%, 7.6%, 74.9%, 32.9%) |
| CIE-LAB | lab(64.39, -8.15, 57.89) |
| CIE-LCH | lch(64.39, 58.46, 98.01°) |
| OKLab | oklab(69.03% -0.0286 0.1273) |
| OKLCH | oklch(69.03% 0.131 102.7) |
| XYZ | xyz(29.4588, 33.2873, 7.1584) |
| Luminance | 0.3329 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 4.42
Puke
#A5A502
ΔE00 4.44
Brown Yellow
#B29705
ΔE00 4.69
Baby Poo
#AB9004
ΔE00 5.70
Muddy Yellow
#BFAC05
ΔE00 5.76
Baby Shit Brown
#AD900D
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB9E2B #2B38AB
analogous
#AB5E2B #AB9E2B #78AB2B
triadic
#AB9E2B #2BAB9E #9E2BAB
tetradic
#AB9E2B #2BAB5E #2B38AB #AB2B78
square
#AB9E2B #2BAB5E #2B38AB #AB2B78
split-complementary
#AB9E2B #2B78AB #5E2BAB
monochromatic
#494412 #7A711F #AB9E2B #D0C243 #DCD274
Accessibility & contrast
On white
2.74
#AB9E2B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.66
#AB9E2B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AB9E2B
7.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB9E2B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AB9E2B | 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)
#AD9915
Deuteranopia (green-blind)
#B19F33
Tritanopia (blue-blind)
#B89388
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #ab9e2b; /* rgb */ color: rgb(171, 158, 43); /* oklch */ color: oklch(69.0% 0.131 102.7);
Tailwind
colors: {
custom: {
50: '#c8ba6d',
500: '#ab9e2b',
950: '#000000',
},
}SCSS
$custom: #ab9e2b; $custom-light: #c8ba6d; $custom-dark: #000000;
JSON
{
"hex": "#ab9e2b",
"rgb": {
"r": 171,
"g": 158,
"b": 43
},
"hsl": {
"h": 53.906,
"s": 59.813,
"l": 41.961
},
"oklch": {
"l": 0.69026,
"c": 0.13051,
"h": 102.7
},
"luminance": 0.33286
}Semantic roles & 50–950 ramp
primary
#AB9E2B
secondary
#6E77C4
accent
#55E345
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141107
muted
#82807A