#958E28#958E28
#958E28 is a light, moderate yellow. Relative luminance 0.259; OKLCH L 63.4% C 0.120 H 105.4°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).
Color values
| HEX | #958E28 |
|---|---|
| RGB | rgb(149, 142, 40) |
| HSL | hsl(56, 58%, 37%) |
| HSV | hsv(56, 73%, 58%) |
| CMYK | cmyk(0%, 4.7%, 73.2%, 41.6%) |
| CIE-LAB | lab(57.93, -9.59, 52.12) |
| CIE-LCH | lch(57.93, 53.00, 100.43°) |
| OKLab | oklab(63.41% -0.0317 0.1154) |
| OKLCH | oklch(63.41% 0.12 105.4) |
| XYZ | xyz(22.4513, 25.8896, 5.8216) |
| Luminance | 0.2589 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 5.39
Baby Poop Green
#8F9805
ΔE00 5.41
Olive
#808000
ΔE00 6.11
Baby Shit Green
#889717
ΔE00 6.13
Baby Poo
#AB9004
ΔE00 6.87
Diarrhea
#9F8303
ΔE00 7.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#958E28 #282F95
analogous
#955828 #958E28 #669528
triadic
#958E28 #28958E #8E2895
tetradic
#958E28 #289558 #282F95 #952866
square
#958E28 #289558 #282F95 #952866
split-complementary
#958E28 #286695 #582895
monochromatic
#35320E #65601B #958E28 #C5BC35 #D5CE62
Accessibility & contrast
On white
3.40
#958E28 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.18
#958E28 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #958E28
6.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##958E28 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##958E28 | 1.00 | 3.40 | 6.18 | 6.18 |
| #FFFFFF | 3.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.18 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.18 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9B8916
Deuteranopia (green-blind)
#9D8D2F
Tritanopia (blue-blind)
#A0847A
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #958e28; /* rgb */ color: rgb(149, 142, 40); /* oklch */ color: oklch(63.4% 0.120 105.4);
Tailwind
colors: {
custom: {
50: '#b7ae69',
500: '#958e28',
950: '#000000',
},
}SCSS
$custom: #958e28; $custom-light: #b7ae69; $custom-dark: #000000;
JSON
{
"hex": "#958e28",
"rgb": {
"r": 149,
"g": 142,
"b": 40
},
"hsl": {
"h": 56.147,
"s": 57.672,
"l": 37.059
},
"oklch": {
"l": 0.63406,
"c": 0.11969,
"h": 105.4
},
"luminance": 0.25889
}Semantic roles & 50–950 ramp
primary
#958E28
secondary
#5E64BB
accent
#51E147
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121007
muted
#817F7A