#9E9331#9E9331
#9E9331 is a light, moderate yellow. Relative luminance 0.284; OKLCH L 65.4% C 0.117 H 102.9°. Best body text is #000000 at 6.67:1 contrast (WCAG AA passes).
Color values
| HEX | #9E9331 |
|---|---|
| RGB | rgb(158, 147, 49) |
| HSL | hsl(54, 53%, 41%) |
| HSV | hsv(54, 69%, 62%) |
| CMYK | cmyk(0%, 7%, 69%, 38%) |
| CIE-LAB | lab(60.21, -7.76, 51.06) |
| CIE-LCH | lch(60.21, 51.65, 98.64°) |
| OKLab | oklab(65.43% -0.0261 0.1145) |
| OKLCH | oklch(65.43% 0.117 102.9) |
| XYZ | xyz(25.0897, 28.3593, 7.0574) |
| Luminance | 0.2836 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poo
#AB9004
ΔE00 5.73
Pea Soup
#929901
ΔE00 5.87
Baby Shit Brown
#AD900D
ΔE00 6.05
Baby Poop Green
#8F9805
ΔE00 6.11
Brown Yellow
#B29705
ΔE00 6.34
Dark Khaki
#9B8F55
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E9331 #313C9E
analogous
#9E5C31 #9E9331 #729E31
triadic
#9E9331 #319E93 #93319E
tetradic
#9E9331 #319E5C #313C9E #9E3172
square
#9E9331 #319E5C #313C9E #9E3172
split-complementary
#9E9331 #31729E #5C319E
monochromatic
#413C14 #6F6823 #9E9331 #C6B946 #D4CB75
Accessibility & contrast
On white
3.15
#9E9331 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.67
#9E9331 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9E9331
6.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E9331 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9E9331 | 1.00 | 3.15 | 6.67 | 6.67 |
| #FFFFFF | 3.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A08E23
Deuteranopia (green-blind)
#A49337
Tritanopia (blue-blind)
#AA897F
Achromatopsia (no color)
#919191
Design tokens & code
CSS
--color: #9e9331; /* rgb */ color: rgb(158, 147, 49); /* oklch */ color: oklch(65.4% 0.117 102.9);
Tailwind
colors: {
custom: {
50: '#beb26f',
500: '#9e9331',
950: '#000000',
},
}SCSS
$custom: #9e9331; $custom-light: #beb26f; $custom-dark: #000000;
JSON
{
"hex": "#9e9331",
"rgb": {
"r": 158,
"g": 147,
"b": 49
},
"hsl": {
"h": 53.945,
"s": 52.657,
"l": 40.588
},
"oklch": {
"l": 0.65434,
"c": 0.11742,
"h": 102.9
},
"luminance": 0.28358
}Semantic roles & 50–950 ramp
primary
#9E9331
secondary
#6E76BC
accent
#5ADC4C
background
#FCFAF6
surface
#F8F5EC
border
#D1CFC7
text
#121008
muted
#817F7B