#9E8E1B#9E8E1B
#9E8E1B is a light, vivid yellow. Relative luminance 0.267; OKLCH L 64.2% C 0.126 H 100.7°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).
Color values
| HEX | #9E8E1B |
|---|---|
| RGB | rgb(158, 142, 27) |
| HSL | hsl(53, 71%, 36%) |
| HSV | hsv(53, 83%, 62%) |
| CMYK | cmyk(0%, 10.1%, 82.9%, 38%) |
| CIE-LAB | lab(58.69, -6.04, 57.51) |
| CIE-LCH | lch(58.69, 57.83, 95.99°) |
| OKLab | oklab(64.19% -0.0234 0.1239) |
| OKLCH | oklch(64.19% 0.126 100.7) |
| XYZ | xyz(23.9726, 26.6954, 4.9267) |
| Luminance | 0.2669 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poo
#AB9004
ΔE00 3.78
Baby Shit Brown
#AD900D
ΔE00 4.25
Dark Mustard
#A88905
ΔE00 4.66
Diarrhea
#9F8303
ΔE00 4.82
Brown Yellow
#B29705
ΔE00 5.14
Yellowy Brown
#AE8B0C
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E8E1B #1B2B9E
analogous
#9E4D1B #9E8E1B #6D9E1B
triadic
#9E8E1B #1B9E8E #8E1B9E
tetradic
#9E8E1B #1B9E4D #1B2B9E #9E1B6D
square
#9E8E1B #1B9E4D #1B2B9E #9E1B6D
split-complementary
#9E8E1B #1B6D9E #4D1B9E
monochromatic
#353009 #6A5F12 #9E8E1B #D2BD24 #E1D052
Accessibility & contrast
On white
3.31
#9E8E1B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.34
#9E8E1B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9E8E1B
6.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E8E1B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9E8E1B | 1.00 | 3.31 | 6.34 | 6.34 |
| #FFFFFF | 3.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.34 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.34 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9C8A00
Deuteranopia (green-blind)
#A19025
Tritanopia (blue-blind)
#AB8379
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #9e8e1b; /* rgb */ color: rgb(158, 142, 27); /* oklch */ color: oklch(64.2% 0.126 100.7);
Tailwind
colors: {
custom: {
50: '#bfae64',
500: '#9e8e1b',
950: '#000000',
},
}SCSS
$custom: #9e8e1b; $custom-light: #bfae64; $custom-dark: #000000;
JSON
{
"hex": "#9e8e1b",
"rgb": {
"r": 158,
"g": 142,
"b": 27
},
"hsl": {
"h": 52.672,
"s": 70.811,
"l": 36.275
},
"oklch": {
"l": 0.64185,
"c": 0.12613,
"h": 100.7
},
"luminance": 0.26694
}Semantic roles & 50–950 ramp
primary
#9E8E1B
secondary
#515FC4
accent
#50EE3A
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A