#958520#958520
#958520 is a mid, moderate yellow. Relative luminance 0.233; OKLCH L 61.3% C 0.117 H 99.8°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).
Color values
| HEX | #958520 |
|---|---|
| RGB | rgb(149, 133, 32) |
| HSL | hsl(52, 65%, 35%) |
| HSV | hsv(52, 79%, 58%) |
| CMYK | cmyk(0%, 10.7%, 78.5%, 41.6%) |
| CIE-LAB | lab(55.35, -5.06, 52.61) |
| CIE-LCH | lch(55.35, 52.86, 95.49°) |
| OKLab | oklab(61.34% -0.0198 0.1149) |
| OKLCH | oklch(61.34% 0.117 99.8) |
| XYZ | xyz(21.0437, 23.2699, 4.7493) |
| Luminance | 0.2327 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 3.87
Diarrhea
#9F8303
ΔE00 4.07
Dark Mustard
#A88905
ΔE00 5.50
Hazel
#8E7618
ΔE00 5.79
Olive
#808000
ΔE00 5.80
Puke Brown
#947706
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#958520 #203095
analogous
#954A20 #958520 #6A9520
triadic
#958520 #209585 #852095
tetradic
#958520 #20954A #203095 #95206A
square
#958520 #20954A #203095 #95206A
split-complementary
#958520 #206A95 #4A2095
monochromatic
#302B0A #635815 #958520 #C7B22B #DAC855
Accessibility & contrast
On white
3.71
#958520 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.65
#958520 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #958520
5.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##958520 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##958520 | 1.00 | 3.71 | 5.65 | 5.65 |
| #FFFFFF | 3.71 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#938109
Deuteranopia (green-blind)
#978727
Tritanopia (blue-blind)
#A17B72
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #958520; /* rgb */ color: rgb(149, 133, 32); /* oklch */ color: oklch(61.3% 0.117 99.8);
Tailwind
colors: {
custom: {
50: '#b8a864',
500: '#958520',
950: '#000000',
},
}SCSS
$custom: #958520; $custom-light: #b8a864; $custom-dark: #000000;
JSON
{
"hex": "#958520",
"rgb": {
"r": 149,
"g": 133,
"b": 32
},
"hsl": {
"h": 51.795,
"s": 64.641,
"l": 35.49
},
"oklch": {
"l": 0.61337,
"c": 0.11655,
"h": 99.8
},
"luminance": 0.23269
}Semantic roles & 50–950 ramp
primary
#958520
secondary
#5361BE
accent
#57E840
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A