#958D18#958D18
#958D18 is a light, vivid yellow. Relative luminance 0.255; OKLCH L 63.1% C 0.127 H 105.3°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).
Color values
| HEX | #958D18 |
|---|---|
| RGB | rgb(149, 141, 24) |
| HSL | hsl(56, 72%, 34%) |
| HSV | hsv(56, 84%, 58%) |
| CMYK | cmyk(0%, 5.4%, 83.9%, 41.6%) |
| CIE-LAB | lab(57.57, -9.70, 57.06) |
| CIE-LCH | lch(57.57, 57.88, 99.65°) |
| OKLab | oklab(63.09% -0.0335 0.1228) |
| OKLCH | oklch(63.09% 0.127 105.3) |
| XYZ | xyz(22.0852, 25.5062, 4.6238) |
| Luminance | 0.2550 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 5.19
Baby Poop Green
#8F9805
ΔE00 5.30
Olive
#808000
ΔE00 5.77
Baby Poo
#AB9004
ΔE00 6.20
Baby Shit Green
#889717
ΔE00 6.39
Diarrhea
#9F8303
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#958D18 #182095
analogous
#954F18 #958D18 #5F9518
triadic
#958D18 #18958D #8D1895
tetradic
#958D18 #18954F #182095 #95185F
square
#958D18 #18954F #182095 #95185F
split-complementary
#958D18 #185F95 #4F1895
monochromatic
#2C2907 #605B10 #958D18 #CABF20 #E1D746
Accessibility & contrast
On white
3.44
#958D18 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.10
#958D18 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #958D18
6.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##958D18 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##958D18 | 1.00 | 3.44 | 6.10 | 6.10 |
| #FFFFFF | 3.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9A8800
Deuteranopia (green-blind)
#9D8C23
Tritanopia (blue-blind)
#A18378
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #958d18; /* rgb */ color: rgb(149, 141, 24); /* oklch */ color: oklch(63.1% 0.127 105.3);
Tailwind
colors: {
custom: {
50: '#b8ae62',
500: '#958d18',
950: '#000000',
},
}SCSS
$custom: #958d18; $custom-light: #b8ae62; $custom-dark: #000000;
JSON
{
"hex": "#958d18",
"rgb": {
"r": 149,
"g": 141,
"b": 24
},
"hsl": {
"h": 56.16,
"s": 72.254,
"l": 33.922
},
"oklch": {
"l": 0.63087,
"c": 0.12731,
"h": 105.3
},
"luminance": 0.25505
}Semantic roles & 50–950 ramp
primary
#958D18
secondary
#464EC2
accent
#44EF39
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A