#9E952F#9E952F
#9E952F is a light, vivid yellow. Relative luminance 0.290; OKLCH L 65.9% C 0.121 H 104.2°. Best body text is #000000 at 6.79:1 contrast (WCAG AA passes).
Color values
| HEX | #9E952F |
|---|---|
| RGB | rgb(158, 149, 47) |
| HSL | hsl(55, 54%, 40%) |
| HSV | hsv(55, 70%, 62%) |
| CMYK | cmyk(0%, 5.7%, 70.3%, 38%) |
| CIE-LAB | lab(60.76, -8.94, 52.43) |
| CIE-LCH | lch(60.76, 53.19, 99.68°) |
| OKLab | oklab(65.86% -0.0297 0.117) |
| OKLCH | oklch(65.86% 0.121 104.2) |
| XYZ | xyz(25.3621, 28.9702, 6.9446) |
| Luminance | 0.2897 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 5.09
Baby Poop Green
#8F9805
ΔE00 5.38
Vomit
#A2A415
ΔE00 5.84
Baby Poo
#AB9004
ΔE00 6.07
Puke
#A5A502
ΔE00 6.37
Brown Yellow
#B29705
ΔE00 6.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E952F #2F389E
analogous
#9E5D2F #9E952F #6F9E2F
triadic
#9E952F #2F9E95 #952F9E
tetradic
#9E952F #2F9E5D #2F389E #9E2F6F
square
#9E952F #2F9E5D #2F389E #9E2F6F
split-complementary
#9E952F #2F6F9E #5D2F9E
monochromatic
#403C13 #6F6921 #9E952F #C7BC43 #D5CD72
Accessibility & contrast
On white
3.09
#9E952F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.79
#9E952F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9E952F
6.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E952F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9E952F | 1.00 | 3.09 | 6.79 | 6.79 |
| #FFFFFF | 3.09 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A29020
Deuteranopia (green-blind)
#A59536
Tritanopia (blue-blind)
#AA8B81
Achromatopsia (no color)
#939393
Design tokens & code
CSS
--color: #9e952f; /* rgb */ color: rgb(158, 149, 47); /* oklch */ color: oklch(65.9% 0.121 104.2);
Tailwind
colors: {
custom: {
50: '#beb36e',
500: '#9e952f',
950: '#000000',
},
}SCSS
$custom: #9e952f; $custom-light: #beb36e; $custom-dark: #000000;
JSON
{
"hex": "#9e952f",
"rgb": {
"r": 158,
"g": 149,
"b": 47
},
"hsl": {
"h": 55.135,
"s": 54.146,
"l": 40.196
},
"oklch": {
"l": 0.65862,
"c": 0.12073,
"h": 104.2
},
"luminance": 0.28969
}Semantic roles & 50–950 ramp
primary
#9E952F
secondary
#6C73BD
accent
#56DE4A
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#121107
muted
#81807A