#978535#978535
#978535 is a mid, moderate yellow. Relative luminance 0.236; OKLCH L 61.7% C 0.102 H 96.6°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).
Color values
| HEX | #978535 |
|---|---|
| RGB | rgb(151, 133, 53) |
| HSL | hsl(49, 48%, 40%) |
| HSV | hsv(49, 65%, 59%) |
| CMYK | cmyk(0%, 11.9%, 64.9%, 40.8%) |
| CIE-LAB | lab(55.70, -3.01, 44.36) |
| CIE-LCH | lch(55.70, 44.46, 93.88°) |
| OKLab | oklab(61.71% -0.0117 0.1012) |
| OKLCH | oklch(61.71% 0.102 96.6) |
| XYZ | xyz(21.7936, 23.6125, 6.7772) |
| Luminance | 0.2361 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 5.25
Baby Poop
#937C00
ΔE00 5.25
Dark Khaki
#9B8F55
ΔE00 5.60
Hazel
#8E7618
ΔE00 5.88
Dark Mustard
#A88905
ΔE00 6.39
Puke Brown
#947706
ΔE00 6.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#978535 #354797
analogous
#975435 #978535 #789735
triadic
#978535 #359785 #853597
tetradic
#978535 #359754 #354797 #973578
square
#978535 #359754 #354797 #973578
split-complementary
#978535 #357897 #543597
monochromatic
#3C3515 #6A5D25 #978535 #BFAA4A #CFBF77
Accessibility & contrast
On white
3.67
#978535 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.72
#978535 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #978535
5.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##978535 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##978535 | 1.00 | 3.67 | 5.72 | 5.72 |
| #FFFFFF | 3.67 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#92822C
Deuteranopia (green-blind)
#978839
Tritanopia (blue-blind)
#A37B74
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #978535; /* rgb */ color: rgb(151, 133, 53); /* oklch */ color: oklch(61.7% 0.102 96.6);
Tailwind
colors: {
custom: {
50: '#b8a870',
500: '#978535',
950: '#000000',
},
}SCSS
$custom: #978535; $custom-light: #b8a870; $custom-dark: #000000;
JSON
{
"hex": "#978535",
"rgb": {
"r": 151,
"g": 133,
"b": 53
},
"hsl": {
"h": 48.98,
"s": 48.039,
"l": 40
},
"oklch": {
"l": 0.61709,
"c": 0.10184,
"h": 96.6
},
"luminance": 0.23611
}Semantic roles & 50–950 ramp
primary
#978535
secondary
#707DB8
accent
#69D850
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#120F08
muted
#817F7B