#958F1F#958F1F
#958F1F is a light, vivid yellow. Relative luminance 0.261; OKLCH L 63.6% C 0.126 H 106.3°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).
Color values
| HEX | #958F1F |
|---|---|
| RGB | rgb(149, 143, 31) |
| HSL | hsl(57, 66%, 35%) |
| HSV | hsv(57, 79%, 58%) |
| CMYK | cmyk(0%, 4%, 79.2%, 41.6%) |
| CIE-LAB | lab(58.16, -10.53, 55.51) |
| CIE-LCH | lch(58.16, 56.50, 100.74°) |
| OKLab | oklab(63.57% -0.0352 0.1209) |
| OKLCH | oklch(63.57% 0.126 106.3) |
| XYZ | xyz(22.4652, 26.1343, 5.1571) |
| Luminance | 0.2613 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 4.59
Baby Poop Green
#8F9805
ΔE00 4.66
Baby Shit Green
#889717
ΔE00 5.66
Olive
#808000
ΔE00 6.11
Baby Poo
#AB9004
ΔE00 6.70
Vomit
#A2A415
ΔE00 6.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#958F1F #1F2595
analogous
#95541F #958F1F #60951F
triadic
#958F1F #1F958F #8F1F95
tetradic
#958F1F #1F9554 #1F2595 #951F60
square
#958F1F #1F9554 #1F2595 #951F60
split-complementary
#958F1F #1F6095 #541F95
monochromatic
#302E0A #625E14 #958F1F #C8C02A #DBD453
Accessibility & contrast
On white
3.37
#958F1F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.23
#958F1F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #958F1F
6.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##958F1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##958F1F | 1.00 | 3.37 | 6.23 | 6.23 |
| #FFFFFF | 3.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.23 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.23 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9C8900
Deuteranopia (green-blind)
#9E8E28
Tritanopia (blue-blind)
#A0857A
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #958f1f; /* rgb */ color: rgb(149, 143, 31); /* oklch */ color: oklch(63.6% 0.126 106.3);
Tailwind
colors: {
custom: {
50: '#b8af65',
500: '#958f1f',
950: '#000000',
},
}SCSS
$custom: #958f1f; $custom-light: #b8af65; $custom-dark: #000000;
JSON
{
"hex": "#958f1f",
"rgb": {
"r": 149,
"g": 143,
"b": 31
},
"hsl": {
"h": 56.949,
"s": 65.556,
"l": 35.294
},
"oklch": {
"l": 0.63574,
"c": 0.12588,
"h": 106.3
},
"luminance": 0.26133
}Semantic roles & 50–950 ramp
primary
#958F1F
secondary
#5157BF
accent
#48E93F
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A