#958E18#958E18
#958E18 is a light, vivid yellow. Relative luminance 0.258; OKLCH L 63.3% C 0.128 H 105.8°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).
Color values
| HEX | #958E18 |
|---|---|
| RGB | rgb(149, 142, 24) |
| HSL | hsl(57, 72%, 34%) |
| HSV | hsv(57, 84%, 58%) |
| CMYK | cmyk(0%, 4.7%, 83.9%, 41.6%) |
| CIE-LAB | lab(57.85, -10.24, 57.30) |
| CIE-LCH | lch(57.85, 58.21, 100.13°) |
| OKLab | oklab(63.31% -0.035 0.1234) |
| OKLCH | oklch(63.31% 0.128 105.8) |
| XYZ | xyz(22.2333, 25.8024, 4.6732) |
| Luminance | 0.2580 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 4.79
Baby Poop Green
#8F9805
ΔE00 4.91
Olive
#808000
ΔE00 5.92
Baby Shit Green
#889717
ΔE00 6.03
Baby Poo
#AB9004
ΔE00 6.36
Diarrhea
#9F8303
ΔE00 6.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#958E18 #181F95
analogous
#955018 #958E18 #5E9518
triadic
#958E18 #18958E #8E1895
tetradic
#958E18 #189550 #181F95 #95185E
square
#958E18 #189550 #181F95 #95185E
split-complementary
#958E18 #185E95 #501895
monochromatic
#2C2A07 #605C10 #958E18 #CAC020 #E1D946
Accessibility & contrast
On white
3.41
#958E18 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.16
#958E18 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #958E18
6.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##958E18 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##958E18 | 1.00 | 3.41 | 6.16 | 6.16 |
| #FFFFFF | 3.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9B8800
Deuteranopia (green-blind)
#9E8D23
Tritanopia (blue-blind)
#A18479
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #958e18; /* rgb */ color: rgb(149, 142, 24); /* oklch */ color: oklch(63.3% 0.128 105.8);
Tailwind
colors: {
custom: {
50: '#b8ae62',
500: '#958e18',
950: '#000000',
},
}SCSS
$custom: #958e18; $custom-light: #b8ae62; $custom-dark: #000000;
JSON
{
"hex": "#958e18",
"rgb": {
"r": 149,
"g": 142,
"b": 24
},
"hsl": {
"h": 56.64,
"s": 72.254,
"l": 33.922
},
"oklch": {
"l": 0.63313,
"c": 0.12822,
"h": 105.8
},
"luminance": 0.25802
}Semantic roles & 50–950 ramp
primary
#958E18
secondary
#464DC2
accent
#43EF39
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A