#958D1F#958D1F
#958D1F is a light, vivid yellow. Relative luminance 0.255; OKLCH L 63.1% C 0.124 H 105.1°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).
Color values
| HEX | #958D1F |
|---|---|
| RGB | rgb(149, 141, 31) |
| HSL | hsl(56, 66%, 35%) |
| HSV | hsv(56, 79%, 58%) |
| CMYK | cmyk(0%, 5.4%, 79.2%, 41.6%) |
| CIE-LAB | lab(57.60, -9.46, 55.00) |
| CIE-LCH | lch(57.60, 55.80, 99.76°) |
| OKLab | oklab(63.12% -0.0322 0.1198) |
| OKLCH | oklch(63.12% 0.124 105.1) |
| XYZ | xyz(22.1676, 25.5391, 5.0579) |
| Luminance | 0.2554 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 5.37
Baby Poop Green
#8F9805
ΔE00 5.44
Olive
#808000
ΔE00 5.80
Baby Poo
#AB9004
ΔE00 6.38
Baby Shit Green
#889717
ΔE00 6.39
Diarrhea
#9F8303
ΔE00 6.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#958D1F #1F2795
analogous
#95521F #958D1F #62951F
triadic
#958D1F #1F958D #8D1F95
tetradic
#958D1F #1F9552 #1F2795 #951F62
square
#958D1F #1F9552 #1F2795 #951F62
split-complementary
#958D1F #1F6295 #521F95
monochromatic
#302D0A #625D14 #958D1F #C8BD2A #DBD253
Accessibility & contrast
On white
3.44
#958D1F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.11
#958D1F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #958D1F
6.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##958D1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##958D1F | 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)
#9A8801
Deuteranopia (green-blind)
#9D8C28
Tritanopia (blue-blind)
#A18379
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #958d1f; /* rgb */ color: rgb(149, 141, 31); /* oklch */ color: oklch(63.1% 0.124 105.1);
Tailwind
colors: {
custom: {
50: '#b8ae65',
500: '#958d1f',
950: '#000000',
},
}SCSS
$custom: #958d1f; $custom-light: #b8ae65; $custom-dark: #000000;
JSON
{
"hex": "#958d1f",
"rgb": {
"r": 149,
"g": 141,
"b": 31
},
"hsl": {
"h": 55.932,
"s": 65.556,
"l": 35.294
},
"oklch": {
"l": 0.63122,
"c": 0.12402,
"h": 105.1
},
"luminance": 0.25538
}Semantic roles & 50–950 ramp
primary
#958D1F
secondary
#5159BF
accent
#4BE93F
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A