#9E9937#9E9937
#9E9937 is a light, moderate yellow. Relative luminance 0.303; OKLCH L 66.8% C 0.119 H 106.4°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).
Color values
| HEX | #9E9937 |
|---|---|
| RGB | rgb(158, 153, 55) |
| HSL | hsl(57, 48%, 42%) |
| HSV | hsv(57, 65%, 62%) |
| CMYK | cmyk(0%, 3.2%, 65.2%, 38%) |
| CIE-LAB | lab(61.94, -10.60, 50.30) |
| CIE-LCH | lch(61.94, 51.40, 101.90°) |
| OKLab | oklab(66.82% -0.0335 0.1139) |
| OKLCH | oklch(66.82% 0.119 106.4) |
| XYZ | xyz(26.1823, 30.3283, 8.0885) |
| Luminance | 0.3033 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 4.76
Baby Poop Green
#8F9805
ΔE00 4.99
Vomit
#A2A415
ΔE00 5.11
Baby Shit Green
#889717
ΔE00 5.84
Puke
#A5A502
ΔE00 5.86
Khaki (survey)
#AAA662
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E9937 #373C9E
analogous
#9E6637 #9E9937 #709E37
triadic
#9E9937 #379E99 #99379E
tetradic
#9E9937 #379E66 #373C9E #9E3770
square
#9E9937 #379E66 #373C9E #9E3770
split-complementary
#9E9937 #37709E #66379E
monochromatic
#434117 #716D27 #9E9937 #C2BD50 #D2CE7D
Accessibility & contrast
On white
2.97
#9E9937 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.07
#9E9937 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9E9937
7.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E9937 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9E9937 | 1.00 | 2.97 | 7.07 | 7.07 |
| #FFFFFF | 2.97 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A6932A
Deuteranopia (green-blind)
#A8983D
Tritanopia (blue-blind)
#A98F85
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #9e9937; /* rgb */ color: rgb(158, 153, 55); /* oklch */ color: oklch(66.8% 0.119 106.4);
Tailwind
colors: {
custom: {
50: '#bdb673',
500: '#9e9937',
950: '#000000',
},
}SCSS
$custom: #9e9937; $custom-light: #bdb673; $custom-dark: #000000;
JSON
{
"hex": "#9e9937",
"rgb": {
"r": 158,
"g": 153,
"b": 55
},
"hsl": {
"h": 57.087,
"s": 48.357,
"l": 41.765
},
"oklch": {
"l": 0.66822,
"c": 0.1187,
"h": 106.4
},
"luminance": 0.30327
}Semantic roles & 50–950 ramp
primary
#9E9937
secondary
#7679BB
accent
#56D850
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#121108
muted
#81807B