#958E2F#958E2F
#958E2F is a light, moderate yellow. Relative luminance 0.259; OKLCH L 63.5% C 0.115 H 105.1°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).
Color values
| HEX | #958E2F |
|---|---|
| RGB | rgb(149, 142, 47) |
| HSL | hsl(56, 52%, 38%) |
| HSV | hsv(56, 68%, 58%) |
| CMYK | cmyk(0%, 4.7%, 68.5%, 41.6%) |
| CIE-LAB | lab(57.98, -9.21, 49.36) |
| CIE-LCH | lch(57.98, 50.21, 100.57°) |
| OKLab | oklab(63.46% -0.0299 0.1108) |
| OKLCH | oklch(63.46% 0.115 105.1) |
| XYZ | xyz(22.5814, 25.9416, 6.5065) |
| Luminance | 0.2594 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop Green
#8F9805
ΔE00 5.85
Pea Soup
#929901
ΔE00 5.88
Baby Shit Green
#889717
ΔE00 6.36
Olive
#808000
ΔE00 6.38
Dark Khaki
#9B8F55
ΔE00 6.49
Baby Poo
#AB9004
ΔE00 7.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#958E2F #2F3695
analogous
#955B2F #958E2F #69952F
triadic
#958E2F #2F958E #8E2F95
tetradic
#958E2F #2F955B #2F3695 #952F69
square
#958E2F #2F955B #2F3695 #952F69
split-complementary
#958E2F #2F6995 #5B2F95
monochromatic
#383512 #666220 #958E2F #C2B93F #D1CA6D
Accessibility & contrast
On white
3.39
#958E2F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.19
#958E2F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #958E2F
6.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##958E2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##958E2F | 1.00 | 3.39 | 6.19 | 6.19 |
| #FFFFFF | 3.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.19 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9A8922
Deuteranopia (green-blind)
#9D8D35
Tritanopia (blue-blind)
#A0847B
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #958e2f; /* rgb */ color: rgb(149, 142, 47); /* oklch */ color: oklch(63.5% 0.115 105.1);
Tailwind
colors: {
custom: {
50: '#b7ae6d',
500: '#958e2f',
950: '#000000',
},
}SCSS
$custom: #958e2f; $custom-light: #b7ae6d; $custom-dark: #000000;
JSON
{
"hex": "#958e2f",
"rgb": {
"r": 149,
"g": 142,
"b": 47
},
"hsl": {
"h": 55.882,
"s": 52.041,
"l": 38.431
},
"oklch": {
"l": 0.63461,
"c": 0.1148,
"h": 105.1
},
"luminance": 0.25941
}Semantic roles & 50–950 ramp
primary
#958E2F
secondary
#676DB8
accent
#56DB4C
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#121007
muted
#817F7A