#9E8927#9E8927
#9E8927 is a light, moderate yellow. Relative luminance 0.253; OKLCH L 63.2% C 0.116 H 96.6°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).
Color values
| HEX | #9E8927 |
|---|---|
| RGB | rgb(158, 137, 39) |
| HSL | hsl(49, 60%, 39%) |
| HSV | hsv(49, 75%, 62%) |
| CMYK | cmyk(0%, 13.3%, 75.3%, 38%) |
| CIE-LAB | lab(57.37, -2.83, 52.26) |
| CIE-LCH | lch(57.37, 52.34, 93.11°) |
| OKLab | oklab(63.16% -0.0133 0.1151) |
| OKLCH | oklch(63.16% 0.116 96.6) |
| XYZ | xyz(23.4136, 25.3082, 5.5708) |
| Luminance | 0.2531 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 3.36
Dark Mustard
#A88905
ΔE00 3.81
Baby Poo
#AB9004
ΔE00 4.38
Baby Shit Brown
#AD900D
ΔE00 4.48
Yellowy Brown
#AE8B0C
ΔE00 4.88
Baby Poop
#937C00
ΔE00 4.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E8927 #273C9E
analogous
#9E4D27 #9E8927 #779E27
triadic
#9E8927 #279E89 #89279E
tetradic
#9E8927 #279E4D #273C9E #9E2777
square
#9E8927 #279E4D #273C9E #9E2777
split-complementary
#9E8927 #27779E #4D279E
monochromatic
#3C340F #6D5E1B #9E8927 #CDB235 #D9C566
Accessibility & contrast
On white
3.46
#9E8927 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.06
#9E8927 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9E8927
6.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E8927 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9E8927 | 1.00 | 3.46 | 6.06 | 6.06 |
| #FFFFFF | 3.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#978616
Deuteranopia (green-blind)
#9D8D2D
Tritanopia (blue-blind)
#AB7E76
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #9e8927; /* rgb */ color: rgb(158, 137, 39); /* oklch */ color: oklch(63.2% 0.116 96.6);
Tailwind
colors: {
custom: {
50: '#beab68',
500: '#9e8927',
950: '#000000',
},
}SCSS
$custom: #9e8927; $custom-light: #beab68; $custom-dark: #000000;
JSON
{
"hex": "#9e8927",
"rgb": {
"r": 158,
"g": 137,
"b": 39
},
"hsl": {
"h": 49.412,
"s": 60.406,
"l": 38.627
},
"oklch": {
"l": 0.63161,
"c": 0.1159,
"h": 96.6
},
"luminance": 0.25307
}Semantic roles & 50–950 ramp
primary
#9E8927
secondary
#6272BF
accent
#60E444
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131007
muted
#827F7A