#9D9937#9D9937
#9D9937 is a light, moderate yellow. Relative luminance 0.302; OKLCH L 66.7% C 0.119 H 107.0°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).
Color values
| HEX | #9D9937 |
|---|---|
| RGB | rgb(157, 153, 55) |
| HSL | hsl(58, 48%, 42%) |
| HSV | hsv(58, 65%, 62%) |
| CMYK | cmyk(0%, 2.5%, 65%, 38.4%) |
| CIE-LAB | lab(61.85, -11.04, 50.18) |
| CIE-LCH | lch(61.85, 51.38, 102.41°) |
| OKLab | oklab(66.73% -0.0347 0.1137) |
| OKLCH | oklch(66.73% 0.119 107) |
| XYZ | xyz(25.9864, 30.2272, 8.0793) |
| Luminance | 0.3023 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 4.61
Baby Poop Green
#8F9805
ΔE00 4.80
Vomit
#A2A415
ΔE00 5.09
Baby Shit Green
#889717
ΔE00 5.59
Puke
#A5A502
ΔE00 5.88
Khaki (survey)
#AAA662
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D9937 #373B9D
analogous
#9D6637 #9D9937 #6E9D37
triadic
#9D9937 #379D99 #99379D
tetradic
#9D9937 #379D66 #373B9D #9D376E
square
#9D9937 #379D66 #373B9D #9D376E
split-complementary
#9D9937 #376E9D #66379D
monochromatic
#424117 #706D27 #9D9937 #C2BD50 #D1CE7D
Accessibility & contrast
On white
2.98
#9D9937 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.05
#9D9937 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9D9937
7.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D9937 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9D9937 | 1.00 | 2.98 | 7.05 | 7.05 |
| #FFFFFF | 2.98 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.05 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.05 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A6932A
Deuteranopia (green-blind)
#A8973D
Tritanopia (blue-blind)
#A88F85
Achromatopsia (no color)
#959595
Design tokens & code
CSS
--color: #9d9937; /* rgb */ color: rgb(157, 153, 55); /* oklch */ color: oklch(66.7% 0.119 107.0);
Tailwind
colors: {
custom: {
50: '#bdb673',
500: '#9d9937',
950: '#000000',
},
}SCSS
$custom: #9d9937; $custom-light: #bdb673; $custom-dark: #000000;
JSON
{
"hex": "#9d9937",
"rgb": {
"r": 157,
"g": 153,
"b": 55
},
"hsl": {
"h": 57.647,
"s": 48.113,
"l": 41.569
},
"oklch": {
"l": 0.66732,
"c": 0.11882,
"h": 107
},
"luminance": 0.30226
}Semantic roles & 50–950 ramp
primary
#9D9937
secondary
#7578BB
accent
#55D850
background
#FBFBF7
surface
#F7F6ED
border
#D0D0C8
text
#121108
muted
#81807B