#958C1F#958C1F
#958C1F is a light, vivid yellow. Relative luminance 0.252; OKLCH L 62.9% C 0.123 H 104.5°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).
Color values
| HEX | #958C1F |
|---|---|
| RGB | rgb(149, 140, 31) |
| HSL | hsl(55, 66%, 35%) |
| HSV | hsv(55, 79%, 58%) |
| CMYK | cmyk(0%, 6%, 79.2%, 41.6%) |
| CIE-LAB | lab(57.31, -8.92, 54.74) |
| CIE-LCH | lch(57.31, 55.46, 99.25°) |
| OKLab | oklab(62.9% -0.0307 0.1192) |
| OKLCH | oklch(62.9% 0.123 104.5) |
| XYZ | xyz(22.0208, 25.2456, 5.0090) |
| Luminance | 0.2525 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 5.68
Pea Soup
#929901
ΔE00 5.77
Baby Poop Green
#8F9805
ΔE00 5.84
Baby Poo
#AB9004
ΔE00 6.25
Diarrhea
#9F8303
ΔE00 6.25
Baby Poop
#937C00
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#958C1F #1F2895
analogous
#95511F #958C1F #63951F
triadic
#958C1F #1F958C #8C1F95
tetradic
#958C1F #1F9551 #1F2895 #951F63
square
#958C1F #1F9551 #1F2895 #951F63
split-complementary
#958C1F #1F6395 #511F95
monochromatic
#302D0A #625C14 #958C1F #C8BC2A #DBD153
Accessibility & contrast
On white
3.47
#958C1F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.05
#958C1F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #958C1F
6.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##958C1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##958C1F | 1.00 | 3.47 | 6.05 | 6.05 |
| #FFFFFF | 3.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.05 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.05 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#998702
Deuteranopia (green-blind)
#9C8C28
Tritanopia (blue-blind)
#A18278
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #958c1f; /* rgb */ color: rgb(149, 140, 31); /* oklch */ color: oklch(62.9% 0.123 104.5);
Tailwind
colors: {
custom: {
50: '#b8ad65',
500: '#958c1f',
950: '#000000',
},
}SCSS
$custom: #958c1f; $custom-light: #b8ad65; $custom-dark: #000000;
JSON
{
"hex": "#958c1f",
"rgb": {
"r": 149,
"g": 140,
"b": 31
},
"hsl": {
"h": 55.424,
"s": 65.556,
"l": 35.294
},
"oklch": {
"l": 0.62897,
"c": 0.1231,
"h": 104.5
},
"luminance": 0.25245
}Semantic roles & 50–950 ramp
primary
#958C1F
secondary
#515ABF
accent
#4CE93F
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A