#958828#958828
#958828 is a light, moderate yellow. Relative luminance 0.242; OKLCH L 62.1% C 0.114 H 101.4°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).
Color values
| HEX | #958828 |
|---|---|
| RGB | rgb(149, 136, 40) |
| HSL | hsl(53, 58%, 37%) |
| HSV | hsv(53, 73%, 58%) |
| CMYK | cmyk(0%, 8.7%, 73.2%, 41.6%) |
| CIE-LAB | lab(56.24, -6.34, 50.48) |
| CIE-LCH | lch(56.24, 50.87, 97.16°) |
| OKLab | oklab(62.06% -0.0226 0.1119) |
| OKLCH | oklch(62.06% 0.114 101.4) |
| XYZ | xyz(21.5826, 24.1520, 5.5320) |
| Luminance | 0.2415 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 5.23
Baby Poop
#937C00
ΔE00 5.28
Olive
#808000
ΔE00 5.80
Dark Mustard
#A88905
ΔE00 6.24
Baby Poo
#AB9004
ΔE00 6.41
Baby Shit Brown
#AD900D
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#958828 #283595
analogous
#955228 #958828 #6C9528
triadic
#958828 #289588 #882895
tetradic
#958828 #289552 #283595 #95286C
square
#958828 #289552 #283595 #95286C
split-complementary
#958828 #286C95 #522895
monochromatic
#35300E #655C1B #958828 #C5B435 #D5C762
Accessibility & contrast
On white
3.60
#958828 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.83
#958828 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #958828
5.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##958828 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##958828 | 1.00 | 3.60 | 5.83 | 5.83 |
| #FFFFFF | 3.60 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#958418
Deuteranopia (green-blind)
#99892E
Tritanopia (blue-blind)
#A17E75
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #958828; /* rgb */ color: rgb(149, 136, 40); /* oklch */ color: oklch(62.1% 0.114 101.4);
Tailwind
colors: {
custom: {
50: '#b7aa69',
500: '#958828',
950: '#000000',
},
}SCSS
$custom: #958828; $custom-light: #b7aa69; $custom-dark: #000000;
JSON
{
"hex": "#958828",
"rgb": {
"r": 149,
"g": 136,
"b": 40
},
"hsl": {
"h": 52.844,
"s": 57.672,
"l": 37.059
},
"oklch": {
"l": 0.6206,
"c": 0.11417,
"h": 101.4
},
"luminance": 0.24151
}Semantic roles & 50–950 ramp
primary
#958828
secondary
#5E69BB
accent
#59E147
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121007
muted
#817F7A