#978336#978336
#978336 is a mid, moderate yellow. Relative luminance 0.231; OKLCH L 61.3% C 0.099 H 94.7°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).
Color values
| HEX | #978336 |
|---|---|
| RGB | rgb(151, 131, 54) |
| HSL | hsl(48, 47%, 40%) |
| HSV | hsv(48, 64%, 59%) |
| CMYK | cmyk(0%, 13.2%, 64.2%, 40.8%) |
| CIE-LAB | lab(55.15, -1.83, 43.29) |
| CIE-LCH | lch(55.15, 43.33, 92.42°) |
| OKLab | oklab(61.28% -0.0081 0.0991) |
| OKLCH | oklch(61.28% 0.099 94.7) |
| XYZ | xyz(21.5456, 23.0793, 6.8092) |
| Luminance | 0.2308 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 5.15
Diarrhea
#9F8303
ΔE00 5.30
Hazel
#8E7618
ΔE00 5.33
Dark Khaki
#9B8F55
ΔE00 5.86
Puke Brown
#947706
ΔE00 5.93
Yellowish Brown
#9B7A01
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#978336 #364A97
analogous
#975336 #978336 #7A9736
triadic
#978336 #369783 #833697
tetradic
#978336 #369753 #364A97 #97367A
square
#978336 #369753 #364A97 #97367A
split-complementary
#978336 #367A97 #533697
monochromatic
#3D3516 #6A5C26 #978336 #BFA74B #CFBD78
Accessibility & contrast
On white
3.74
#978336 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.62
#978336 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #978336
5.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##978336 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##978336 | 1.00 | 3.74 | 5.62 | 5.62 |
| #FFFFFF | 3.74 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.62 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.62 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#90802D
Deuteranopia (green-blind)
#95873A
Tritanopia (blue-blind)
#A37972
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #978336; /* rgb */ color: rgb(151, 131, 54); /* oklch */ color: oklch(61.3% 0.099 94.7);
Tailwind
colors: {
custom: {
50: '#b8a670',
500: '#978336',
950: '#000000',
},
}SCSS
$custom: #978336; $custom-light: #b8a670; $custom-dark: #000000;
JSON
{
"hex": "#978336",
"rgb": {
"r": 151,
"g": 131,
"b": 54
},
"hsl": {
"h": 47.629,
"s": 47.317,
"l": 40.196
},
"oklch": {
"l": 0.61281,
"c": 0.0994,
"h": 94.7
},
"luminance": 0.23078
}Semantic roles & 50–950 ramp
primary
#978336
secondary
#7180B8
accent
#6DD751
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#120F08
muted
#817F7B