#978532#978532
#978532 is a mid, moderate yellow. Relative luminance 0.236; OKLCH L 61.7% C 0.104 H 96.9°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).
Color values
| HEX | #978532 |
|---|---|
| RGB | rgb(151, 133, 50) |
| HSL | hsl(49, 50%, 39%) |
| HSV | hsv(49, 67%, 59%) |
| CMYK | cmyk(0%, 11.9%, 66.9%, 40.8%) |
| CIE-LAB | lab(55.67, -3.21, 45.71) |
| CIE-LCH | lch(55.67, 45.82, 94.01°) |
| OKLab | oklab(61.68% -0.0126 0.1036) |
| OKLCH | oklch(61.68% 0.104 96.9) |
| XYZ | xyz(21.7267, 23.5857, 6.4251) |
| Luminance | 0.2359 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 4.90
Baby Poop
#937C00
ΔE00 4.92
Hazel
#8E7618
ΔE00 5.76
Dark Khaki
#9B8F55
ΔE00 5.95
Dark Mustard
#A88905
ΔE00 6.09
Puke Brown
#947706
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#978532 #324497
analogous
#975332 #978532 #779732
triadic
#978532 #329785 #853297
tetradic
#978532 #329753 #324497 #973277
square
#978532 #329753 #324497 #973277
split-complementary
#978532 #327797 #533297
monochromatic
#3B3414 #695D23 #978532 #C1AB45 #D1C073
Accessibility & contrast
On white
3.67
#978532 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.72
#978532 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #978532
5.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##978532 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##978532 | 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)
#928228
Deuteranopia (green-blind)
#978836
Tritanopia (blue-blind)
#A37B74
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #978532; /* rgb */ color: rgb(151, 133, 50); /* oklch */ color: oklch(61.7% 0.104 96.9);
Tailwind
colors: {
custom: {
50: '#b9a86e',
500: '#978532',
950: '#000000',
},
}SCSS
$custom: #978532; $custom-light: #b9a86e; $custom-dark: #000000;
JSON
{
"hex": "#978532",
"rgb": {
"r": 151,
"g": 133,
"b": 50
},
"hsl": {
"h": 49.307,
"s": 50.249,
"l": 39.412
},
"oklch": {
"l": 0.61678,
"c": 0.10432,
"h": 96.9
},
"luminance": 0.23585
}Semantic roles & 50–950 ramp
primary
#978532
secondary
#6C7AB9
accent
#67DA4E
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#120F07
muted
#817F7A