#958D20#958D20
#958D20 is a light, vivid yellow. Relative luminance 0.255; OKLCH L 63.1% C 0.123 H 105.0°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).
Color values
| HEX | #958D20 |
|---|---|
| RGB | rgb(149, 141, 32) |
| HSL | hsl(56, 65%, 35%) |
| HSV | hsv(56, 79%, 58%) |
| CMYK | cmyk(0%, 5.4%, 78.5%, 41.6%) |
| CIE-LAB | lab(57.60, -9.42, 54.67) |
| CIE-LCH | lch(57.60, 55.48, 99.77°) |
| OKLab | oklab(63.13% -0.032 0.1193) |
| OKLCH | oklch(63.13% 0.123 105) |
| XYZ | xyz(22.1810, 25.5445, 5.1284) |
| Luminance | 0.2554 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 5.40
Baby Poop Green
#8F9805
ΔE00 5.47
Olive
#808000
ΔE00 5.81
Baby Shit Green
#889717
ΔE00 6.39
Baby Poo
#AB9004
ΔE00 6.41
Diarrhea
#9F8303
ΔE00 6.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#958D20 #202895
analogous
#955220 #958D20 #639520
triadic
#958D20 #20958D #8D2095
tetradic
#958D20 #209552 #202895 #952063
square
#958D20 #209552 #202895 #952063
split-complementary
#958D20 #206395 #522095
monochromatic
#302E0A #635D15 #958D20 #C7BD2B #DAD155
Accessibility & contrast
On white
3.44
#958D20 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.11
#958D20 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #958D20
6.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##958D20 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##958D20 | 1.00 | 3.44 | 6.11 | 6.11 |
| #FFFFFF | 3.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.11 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.11 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9A8804
Deuteranopia (green-blind)
#9D8C29
Tritanopia (blue-blind)
#A18379
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #958d20; /* rgb */ color: rgb(149, 141, 32); /* oklch */ color: oklch(63.1% 0.123 105.0);
Tailwind
colors: {
custom: {
50: '#b8ae65',
500: '#958d20',
950: '#000000',
},
}SCSS
$custom: #958d20; $custom-light: #b8ae65; $custom-dark: #000000;
JSON
{
"hex": "#958d20",
"rgb": {
"r": 149,
"g": 141,
"b": 32
},
"hsl": {
"h": 55.897,
"s": 64.641,
"l": 35.49
},
"oklch": {
"l": 0.63128,
"c": 0.12349,
"h": 105
},
"luminance": 0.25544
}Semantic roles & 50–950 ramp
primary
#958D20
secondary
#535ABE
accent
#4CE840
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121006
muted
#817F7A