#9F952F#9F952F
#9F952F is a light, vivid yellow. Relative luminance 0.291; OKLCH L 66.0% C 0.121 H 103.7°. Best body text is #000000 at 6.81:1 contrast (WCAG AA passes).
Color values
| HEX | #9F952F |
|---|---|
| RGB | rgb(159, 149, 47) |
| HSL | hsl(55, 54%, 40%) |
| HSV | hsv(55, 70%, 62%) |
| CMYK | cmyk(0%, 6.3%, 70.4%, 37.6%) |
| CIE-LAB | lab(60.85, -8.50, 52.55) |
| CIE-LCH | lch(60.85, 53.23, 99.19°) |
| OKLab | oklab(65.96% -0.0285 0.1172) |
| OKLCH | oklch(65.96% 0.121 103.7) |
| XYZ | xyz(25.5597, 29.0721, 6.9539) |
| Luminance | 0.2907 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 5.32
Baby Poop Green
#8F9805
ΔE00 5.62
Baby Poo
#AB9004
ΔE00 5.80
Vomit
#A2A415
ΔE00 5.93
Brown Yellow
#B29705
ΔE00 6.15
Baby Shit Brown
#AD900D
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F952F #2F399F
analogous
#9F5D2F #9F952F #719F2F
triadic
#9F952F #2F9F95 #952F9F
tetradic
#9F952F #2F9F5D #2F399F #9F2F71
square
#9F952F #2F9F5D #2F399F #9F2F71
split-complementary
#9F952F #2F719F #5D2F9F
monochromatic
#413C13 #706921 #9F952F #C8BC44 #D6CD73
Accessibility & contrast
On white
3.08
#9F952F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.81
#9F952F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9F952F
6.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F952F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9F952F | 1.00 | 3.08 | 6.81 | 6.81 |
| #FFFFFF | 3.08 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A29020
Deuteranopia (green-blind)
#A69536
Tritanopia (blue-blind)
#AB8B81
Achromatopsia (no color)
#939393
Design tokens & code
CSS
--color: #9f952f; /* rgb */ color: rgb(159, 149, 47); /* oklch */ color: oklch(66.0% 0.121 103.7);
Tailwind
colors: {
custom: {
50: '#bfb36e',
500: '#9f952f',
950: '#000000',
},
}SCSS
$custom: #9f952f; $custom-light: #bfb36e; $custom-dark: #000000;
JSON
{
"hex": "#9f952f",
"rgb": {
"r": 159,
"g": 149,
"b": 47
},
"hsl": {
"h": 54.643,
"s": 54.369,
"l": 40.392
},
"oklch": {
"l": 0.65955,
"c": 0.12064,
"h": 103.7
},
"luminance": 0.29071
}Semantic roles & 50–950 ramp
primary
#9F952F
secondary
#6D74BD
accent
#57DE4A
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131107
muted
#82807A