#978537#978537
#978537 is a mid, moderate yellow. Relative luminance 0.236; OKLCH L 61.7% C 0.100 H 96.3°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).
Color values
| HEX | #978537 |
|---|---|
| RGB | rgb(151, 133, 55) |
| HSL | hsl(49, 47%, 40%) |
| HSV | hsv(49, 64%, 59%) |
| CMYK | cmyk(0%, 11.9%, 63.6%, 40.8%) |
| CIE-LAB | lab(55.72, -2.87, 43.44) |
| CIE-LCH | lch(55.72, 43.53, 93.78°) |
| OKLab | oklab(61.73% -0.011 0.0995) |
| OKLCH | oklch(61.73% 0.1 96.3) |
| XYZ | xyz(21.8406, 23.6312, 7.0246) |
| Luminance | 0.2363 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Khaki
#9B8F55
ΔE00 5.36
Baby Poop
#937C00
ΔE00 5.49
Diarrhea
#9F8303
ΔE00 5.49
Hazel
#8E7618
ΔE00 5.98
Puke Brown
#947706
ΔE00 6.59
Dark Mustard
#A88905
ΔE00 6.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#978537 #374997
analogous
#975537 #978537 #799737
triadic
#978537 #379785 #853797
tetradic
#978537 #379755 #374997 #973779
square
#978537 #379755 #374997 #973779
split-complementary
#978537 #377997 #553797
monochromatic
#3D3616 #6A5D27 #978537 #BEA94D #CFBF7A
Accessibility & contrast
On white
3.67
#978537 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.73
#978537 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #978537
5.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##978537 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##978537 | 1.00 | 3.67 | 5.73 | 5.73 |
| #FFFFFF | 3.67 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#92822E
Deuteranopia (green-blind)
#96883B
Tritanopia (blue-blind)
#A27B74
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #978537; /* rgb */ color: rgb(151, 133, 55); /* oklch */ color: oklch(61.7% 0.100 96.3);
Tailwind
colors: {
custom: {
50: '#b8a871',
500: '#978537',
950: '#000000',
},
}SCSS
$custom: #978537; $custom-light: #b8a871; $custom-dark: #000000;
JSON
{
"hex": "#978537",
"rgb": {
"r": 151,
"g": 133,
"b": 55
},
"hsl": {
"h": 48.75,
"s": 46.602,
"l": 40.392
},
"oklch": {
"l": 0.6173,
"c": 0.10013,
"h": 96.3
},
"luminance": 0.2363
}Semantic roles & 50–950 ramp
primary
#978537
secondary
#727FB8
accent
#6AD652
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#120F08
muted
#817F7B