#978635#978635
#978635 is a mid, moderate yellow. Relative luminance 0.239; OKLCH L 61.9% C 0.103 H 97.4°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).
Color values
| HEX | #978635 |
|---|---|
| RGB | rgb(151, 134, 53) |
| HSL | hsl(50, 48%, 40%) |
| HSV | hsv(50, 65%, 59%) |
| CMYK | cmyk(0%, 11.3%, 64.9%, 40.8%) |
| CIE-LAB | lab(55.98, -3.56, 44.66) |
| CIE-LCH | lch(55.98, 44.80, 94.56°) |
| OKLab | oklab(61.93% -0.0132 0.1018) |
| OKLCH | oklch(61.93% 0.103 97.4) |
| XYZ | xyz(21.9312, 23.8876, 6.8230) |
| Luminance | 0.2389 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 5.35
Baby Poop
#937C00
ΔE00 5.43
Dark Khaki
#9B8F55
ΔE00 5.46
Hazel
#8E7618
ΔE00 6.22
Dark Mustard
#A88905
ΔE00 6.41
Puke Brown
#947706
ΔE00 6.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#978635 #354697
analogous
#975535 #978635 #779735
triadic
#978635 #359786 #863597
tetradic
#978635 #359755 #354697 #973577
square
#978635 #359755 #354697 #973577
split-complementary
#978635 #357797 #553597
monochromatic
#3C3615 #6A5E25 #978635 #BFAB4A #CFC077
Accessibility & contrast
On white
3.63
#978635 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.78
#978635 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #978635
5.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##978635 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##978635 | 1.00 | 3.63 | 5.78 | 5.78 |
| #FFFFFF | 3.63 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#93832C
Deuteranopia (green-blind)
#978939
Tritanopia (blue-blind)
#A37C75
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #978635; /* rgb */ color: rgb(151, 134, 53); /* oklch */ color: oklch(61.9% 0.103 97.4);
Tailwind
colors: {
custom: {
50: '#b8a970',
500: '#978635',
950: '#000000',
},
}SCSS
$custom: #978635; $custom-light: #b8a970; $custom-dark: #000000;
JSON
{
"hex": "#978635",
"rgb": {
"r": 151,
"g": 134,
"b": 53
},
"hsl": {
"h": 49.592,
"s": 48.039,
"l": 40
},
"oklch": {
"l": 0.61928,
"c": 0.10267,
"h": 97.4
},
"luminance": 0.23887
}Semantic roles & 50–950 ramp
primary
#978635
secondary
#707CB8
accent
#68D850
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#120F08
muted
#817F7B