#958D2F#958D2F
#958D2F is a light, moderate yellow. Relative luminance 0.256; OKLCH L 63.2% C 0.114 H 104.4°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).
Color values
| HEX | #958D2F |
|---|---|
| RGB | rgb(149, 141, 47) |
| HSL | hsl(55, 52%, 38%) |
| HSV | hsv(55, 68%, 58%) |
| CMYK | cmyk(0%, 5.4%, 68.5%, 41.6%) |
| CIE-LAB | lab(57.70, -8.67, 49.07) |
| CIE-LCH | lch(57.70, 49.83, 100.02°) |
| OKLab | oklab(63.24% -0.0284 0.1102) |
| OKLCH | oklch(63.24% 0.114 104.4) |
| XYZ | xyz(22.4333, 25.6454, 6.4572) |
| Luminance | 0.2565 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop Green
#8F9805
ΔE00 6.22
Pea Soup
#929901
ΔE00 6.25
Olive
#808000
ΔE00 6.27
Dark Khaki
#9B8F55
ΔE00 6.36
Baby Shit Green
#889717
ΔE00 6.74
Diarrhea
#9F8303
ΔE00 7.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#958D2F #2F3795
analogous
#955A2F #958D2F #6A952F
triadic
#958D2F #2F958D #8D2F95
tetradic
#958D2F #2F955A #2F3795 #952F6A
square
#958D2F #2F955A #2F3795 #952F6A
split-complementary
#958D2F #2F6A95 #5A2F95
monochromatic
#383512 #666120 #958D2F #C2B83F #D1C96D
Accessibility & contrast
On white
3.43
#958D2F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.13
#958D2F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #958D2F
6.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##958D2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##958D2F | 1.00 | 3.43 | 6.13 | 6.13 |
| #FFFFFF | 3.43 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#998822
Deuteranopia (green-blind)
#9C8D35
Tritanopia (blue-blind)
#A0837A
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #958d2f; /* rgb */ color: rgb(149, 141, 47); /* oklch */ color: oklch(63.2% 0.114 104.4);
Tailwind
colors: {
custom: {
50: '#b7ae6d',
500: '#958d2f',
950: '#000000',
},
}SCSS
$custom: #958d2f; $custom-light: #b7ae6d; $custom-dark: #000000;
JSON
{
"hex": "#958d2f",
"rgb": {
"r": 149,
"g": 141,
"b": 47
},
"hsl": {
"h": 55.294,
"s": 52.041,
"l": 38.431
},
"oklch": {
"l": 0.63236,
"c": 0.11382,
"h": 104.4
},
"luminance": 0.25645
}Semantic roles & 50–950 ramp
primary
#958D2F
secondary
#676EB8
accent
#58DB4C
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#121007
muted
#817F7A