#958C28#958C28
#958C28 is a light, moderate yellow. Relative luminance 0.253; OKLCH L 63.0% C 0.118 H 104.1°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).
Color values
| HEX | #958C28 |
|---|---|
| RGB | rgb(149, 140, 40) |
| HSL | hsl(55, 58%, 37%) |
| HSV | hsv(55, 73%, 58%) |
| CMYK | cmyk(0%, 6%, 73.2%, 41.6%) |
| CIE-LAB | lab(57.37, -8.51, 51.57) |
| CIE-LCH | lch(57.37, 52.27, 99.37°) |
| OKLab | oklab(62.96% -0.0287 0.1142) |
| OKLCH | oklch(62.96% 0.118 104.1) |
| XYZ | xyz(22.1564, 25.2998, 5.7233) |
| Luminance | 0.2530 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 5.88
Pea Soup
#929901
ΔE00 6.16
Baby Poop Green
#8F9805
ΔE00 6.18
Diarrhea
#9F8303
ΔE00 6.48
Baby Poo
#AB9004
ΔE00 6.61
Baby Poop
#937C00
ΔE00 6.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#958C28 #283195
analogous
#955628 #958C28 #689528
triadic
#958C28 #28958C #8C2895
tetradic
#958C28 #289556 #283195 #952868
square
#958C28 #289556 #283195 #952868
split-complementary
#958C28 #286895 #562895
monochromatic
#35310E #655F1B #958C28 #C5B935 #D5CC62
Accessibility & contrast
On white
3.47
#958C28 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.06
#958C28 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #958C28
6.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##958C28 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##958C28 | 1.00 | 3.47 | 6.06 | 6.06 |
| #FFFFFF | 3.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#998717
Deuteranopia (green-blind)
#9C8C2F
Tritanopia (blue-blind)
#A08278
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #958c28; /* rgb */ color: rgb(149, 140, 40); /* oklch */ color: oklch(63.0% 0.118 104.1);
Tailwind
colors: {
custom: {
50: '#b7ad69',
500: '#958c28',
950: '#000000',
},
}SCSS
$custom: #958c28; $custom-light: #b7ad69; $custom-dark: #000000;
JSON
{
"hex": "#958c28",
"rgb": {
"r": 149,
"g": 140,
"b": 40
},
"hsl": {
"h": 55.046,
"s": 57.672,
"l": 37.059
},
"oklch": {
"l": 0.62955,
"c": 0.11779,
"h": 104.1
},
"luminance": 0.25299
}Semantic roles & 50–950 ramp
primary
#958C28
secondary
#5E66BB
accent
#54E147
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121007
muted
#817F7A