#9E8331#9E8331
#9E8331 is a mid, moderate yellow. Relative luminance 0.237; OKLCH L 62.0% C 0.105 H 90.6°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).
Color values
| HEX | #9E8331 |
|---|---|
| RGB | rgb(158, 131, 49) |
| HSL | hsl(45, 53%, 41%) |
| HSV | hsv(45, 69%, 62%) |
| CMYK | cmyk(0%, 17.1%, 69%, 38%) |
| CIE-LAB | lab(55.81, 1.02, 46.52) |
| CIE-LCH | lch(55.81, 46.53, 88.75°) |
| OKLab | oklab(61.95% -0.001 0.1049) |
| OKLCH | oklch(61.95% 0.105 90.6) |
| XYZ | xyz(22.7724, 23.7248, 6.2850) |
| Luminance | 0.2372 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 4.11
Yellowish Brown
#9B7A01
ΔE00 4.69
Baby Poop
#937C00
ΔE00 5.01
Dark Mustard
#A88905
ΔE00 5.08
Puke Brown
#947706
ΔE00 5.25
Hazel
#8E7618
ΔE00 5.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E8331 #314C9E
analogous
#9E4D31 #9E8331 #829E31
triadic
#9E8331 #319E83 #83319E
tetradic
#9E8331 #319E4D #314C9E #9E3182
square
#9E8331 #319E4D #314C9E #9E3182
split-complementary
#9E8331 #31829E #4D319E
monochromatic
#413614 #6F5C23 #9E8331 #C6A646 #D4BD75
Accessibility & contrast
On white
3.66
#9E8331 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.74
#9E8331 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9E8331
5.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E8331 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9E8331 | 1.00 | 3.66 | 5.74 | 5.74 |
| #FFFFFF | 3.66 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#918127
Deuteranopia (green-blind)
#988935
Tritanopia (blue-blind)
#AB7872
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #9e8331; /* rgb */ color: rgb(158, 131, 49); /* oklch */ color: oklch(62.0% 0.105 90.6);
Tailwind
colors: {
custom: {
50: '#bea66d',
500: '#9e8331',
950: '#000000',
},
}SCSS
$custom: #9e8331; $custom-light: #bea66d; $custom-dark: #000000;
JSON
{
"hex": "#9e8331",
"rgb": {
"r": 158,
"g": 131,
"b": 49
},
"hsl": {
"h": 45.138,
"s": 52.657,
"l": 40.588
},
"oklch": {
"l": 0.6195,
"c": 0.10489,
"h": 90.6
},
"luminance": 0.23723
}Semantic roles & 50–950 ramp
primary
#9E8331
secondary
#6E82BC
accent
#6FDC4C
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#130F07
muted
#827F7A