#958E1F#958E1F
#958E1F is a light, vivid yellow. Relative luminance 0.258; OKLCH L 63.3% C 0.125 H 105.7°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).
Color values
| HEX | #958E1F |
|---|---|
| RGB | rgb(149, 142, 31) |
| HSL | hsl(56, 66%, 35%) |
| HSV | hsv(56, 79%, 58%) |
| CMYK | cmyk(0%, 4.7%, 79.2%, 41.6%) |
| CIE-LAB | lab(57.88, -9.99, 55.25) |
| CIE-LCH | lch(57.88, 56.15, 100.25°) |
| OKLab | oklab(63.35% -0.0337 0.1203) |
| OKLCH | oklch(63.35% 0.125 105.7) |
| XYZ | xyz(22.3157, 25.8354, 5.1073) |
| Luminance | 0.2583 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 4.98
Baby Poop Green
#8F9805
ΔE00 5.05
Olive
#808000
ΔE00 5.95
Baby Shit Green
#889717
ΔE00 6.02
Baby Poo
#AB9004
ΔE00 6.53
Diarrhea
#9F8303
ΔE00 6.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#958E1F #1F2695
analogous
#95531F #958E1F #61951F
triadic
#958E1F #1F958E #8E1F95
tetradic
#958E1F #1F9553 #1F2695 #951F61
square
#958E1F #1F9553 #1F2695 #951F61
split-complementary
#958E1F #1F6195 #531F95
monochromatic
#302D0A #625E14 #958E1F #C8BE2A #DBD353
Accessibility & contrast
On white
3.41
#958E1F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.17
#958E1F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #958E1F
6.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##958E1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##958E1F | 1.00 | 3.41 | 6.17 | 6.17 |
| #FFFFFF | 3.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9B8901
Deuteranopia (green-blind)
#9E8D28
Tritanopia (blue-blind)
#A18479
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #958e1f; /* rgb */ color: rgb(149, 142, 31); /* oklch */ color: oklch(63.3% 0.125 105.7);
Tailwind
colors: {
custom: {
50: '#b8ae65',
500: '#958e1f',
950: '#000000',
},
}SCSS
$custom: #958e1f; $custom-light: #b8ae65; $custom-dark: #000000;
JSON
{
"hex": "#958e1f",
"rgb": {
"r": 149,
"g": 142,
"b": 31
},
"hsl": {
"h": 56.441,
"s": 65.556,
"l": 35.294
},
"oklch": {
"l": 0.63348,
"c": 0.12494,
"h": 105.7
},
"luminance": 0.25834
}Semantic roles & 50–950 ramp
primary
#958E1F
secondary
#5158BF
accent
#49E93F
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A