#9D952F#9D952F
#9D952F is a light, vivid yellow. Relative luminance 0.289; OKLCH L 65.8% C 0.121 H 104.8°. Best body text is #000000 at 6.77:1 contrast (WCAG AA passes).
Color values
| HEX | #9D952F |
|---|---|
| RGB | rgb(157, 149, 47) |
| HSL | hsl(56, 54%, 40%) |
| HSV | hsv(56, 70%, 62%) |
| CMYK | cmyk(0%, 5.1%, 70.1%, 38.4%) |
| CIE-LAB | lab(60.67, -9.39, 52.31) |
| CIE-LCH | lch(60.67, 53.15, 100.18°) |
| OKLab | oklab(65.77% -0.0309 0.1168) |
| OKLCH | oklch(65.77% 0.121 104.8) |
| XYZ | xyz(25.1662, 28.8692, 6.9354) |
| Luminance | 0.2887 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 4.88
Baby Poop Green
#8F9805
ΔE00 5.14
Vomit
#A2A415
ΔE00 5.76
Baby Shit Green
#889717
ΔE00 6.22
Puke
#A5A502
ΔE00 6.33
Baby Poo
#AB9004
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D952F #2F379D
analogous
#9D5E2F #9D952F #6E9D2F
triadic
#9D952F #2F9D95 #952F9D
tetradic
#9D952F #2F9D5E #2F379D #9D2F6E
square
#9D952F #2F9D5E #2F379D #9D2F6E
split-complementary
#9D952F #2F6E9D #5E2F9D
monochromatic
#3F3C13 #6E6821 #9D952F #C7BD43 #D5CD72
Accessibility & contrast
On white
3.10
#9D952F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.77
#9D952F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9D952F
6.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D952F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9D952F | 1.00 | 3.10 | 6.77 | 6.77 |
| #FFFFFF | 3.10 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A29020
Deuteranopia (green-blind)
#A59436
Tritanopia (blue-blind)
#A98B81
Achromatopsia (no color)
#929292
Design tokens & code
CSS
--color: #9d952f; /* rgb */ color: rgb(157, 149, 47); /* oklch */ color: oklch(65.8% 0.121 104.8);
Tailwind
colors: {
custom: {
50: '#bdb36e',
500: '#9d952f',
950: '#000000',
},
}SCSS
$custom: #9d952f; $custom-light: #bdb36e; $custom-dark: #000000;
JSON
{
"hex": "#9d952f",
"rgb": {
"r": 157,
"g": 149,
"b": 47
},
"hsl": {
"h": 55.636,
"s": 53.922,
"l": 40
},
"oklch": {
"l": 0.65769,
"c": 0.12082,
"h": 104.8
},
"luminance": 0.28868
}Semantic roles & 50–950 ramp
primary
#9D952F
secondary
#6B71BC
accent
#55DD4B
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#121107
muted
#81807A