#958D27#958D27
#958D27 is a light, moderate yellow. Relative luminance 0.256; OKLCH L 63.2% C 0.119 H 104.8°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).
Color values
| HEX | #958D27 |
|---|---|
| RGB | rgb(149, 141, 39) |
| HSL | hsl(56, 59%, 37%) |
| HSV | hsv(56, 74%, 58%) |
| CMYK | cmyk(0%, 5.4%, 73.8%, 41.6%) |
| CIE-LAB | lab(57.64, -9.10, 52.22) |
| CIE-LCH | lch(57.64, 53.01, 99.89°) |
| OKLab | oklab(63.17% -0.0305 0.1154) |
| OKLCH | oklch(63.17% 0.119 104.8) |
| XYZ | xyz(22.2864, 25.5867, 5.6838) |
| Luminance | 0.2559 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 5.72
Baby Poop Green
#8F9805
ΔE00 5.74
Olive
#808000
ΔE00 5.95
Baby Shit Green
#889717
ΔE00 6.48
Baby Poo
#AB9004
ΔE00 6.68
Diarrhea
#9F8303
ΔE00 6.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#958D27 #272F95
analogous
#955627 #958D27 #669527
triadic
#958D27 #27958D #8D2795
tetradic
#958D27 #279556 #272F95 #952766
square
#958D27 #279556 #272F95 #952766
split-complementary
#958D27 #276695 #562795
monochromatic
#34310E #645F1A #958D27 #C6BB34 #D6CD61
Accessibility & contrast
On white
3.43
#958D27 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.12
#958D27 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #958D27
6.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##958D27 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##958D27 | 1.00 | 3.43 | 6.12 | 6.12 |
| #FFFFFF | 3.43 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.12 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.12 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9A8815
Deuteranopia (green-blind)
#9D8C2E
Tritanopia (blue-blind)
#A08379
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #958d27; /* rgb */ color: rgb(149, 141, 39); /* oklch */ color: oklch(63.2% 0.119 104.8);
Tailwind
colors: {
custom: {
50: '#b7ae69',
500: '#958d27',
950: '#000000',
},
}SCSS
$custom: #958d27; $custom-light: #b7ae69; $custom-dark: #000000;
JSON
{
"hex": "#958d27",
"rgb": {
"r": 149,
"g": 141,
"b": 39
},
"hsl": {
"h": 55.636,
"s": 58.511,
"l": 36.863
},
"oklch": {
"l": 0.63173,
"c": 0.11938,
"h": 104.8
},
"luminance": 0.25586
}Semantic roles & 50–950 ramp
primary
#958D27
secondary
#5D64BB
accent
#51E246
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121007
muted
#817F7A