#958B28#958B28
#958B28 is a light, moderate yellow. Relative luminance 0.250; OKLCH L 62.7% C 0.117 H 103.4°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).
Color values
| HEX | #958B28 |
|---|---|
| RGB | rgb(149, 139, 40) |
| HSL | hsl(54, 58%, 37%) |
| HSV | hsv(54, 73%, 58%) |
| CMYK | cmyk(0%, 6.7%, 73.2%, 41.6%) |
| CIE-LAB | lab(57.08, -7.97, 51.30) |
| CIE-LCH | lch(57.08, 51.92, 98.83°) |
| OKLab | oklab(62.73% -0.0272 0.1137) |
| OKLCH | oklch(62.73% 0.117 103.4) |
| XYZ | xyz(22.0110, 25.0089, 5.6749) |
| Luminance | 0.2501 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 5.81
Diarrhea
#9F8303
ΔE00 6.15
Baby Poop
#937C00
ΔE00 6.39
Baby Poo
#AB9004
ΔE00 6.52
Pea Soup
#929901
ΔE00 6.56
Baby Poop Green
#8F9805
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#958B28 #283295
analogous
#955428 #958B28 #699528
triadic
#958B28 #28958B #8B2895
tetradic
#958B28 #289554 #283295 #952869
square
#958B28 #289554 #283295 #952869
split-complementary
#958B28 #286995 #542895
monochromatic
#35310E #655E1B #958B28 #C5B835 #D5CA62
Accessibility & contrast
On white
3.50
#958B28 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.00
#958B28 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #958B28
6.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##958B28 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##958B28 | 1.00 | 3.50 | 6.00 | 6.00 |
| #FFFFFF | 3.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.00 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.00 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#988617
Deuteranopia (green-blind)
#9B8B2F
Tritanopia (blue-blind)
#A08178
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #958b28; /* rgb */ color: rgb(149, 139, 40); /* oklch */ color: oklch(62.7% 0.117 103.4);
Tailwind
colors: {
custom: {
50: '#b7ac69',
500: '#958b28',
950: '#000000',
},
}SCSS
$custom: #958b28; $custom-light: #b7ac69; $custom-dark: #000000;
JSON
{
"hex": "#958b28",
"rgb": {
"r": 149,
"g": 139,
"b": 40
},
"hsl": {
"h": 54.495,
"s": 57.672,
"l": 37.059
},
"oklch": {
"l": 0.62731,
"c": 0.11686,
"h": 103.4
},
"luminance": 0.25008
}Semantic roles & 50–950 ramp
primary
#958B28
secondary
#5E67BB
accent
#55E147
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121007
muted
#817F7A