#978332#978332
#978332 is a mid, moderate yellow. Relative luminance 0.230; OKLCH L 61.2% C 0.103 H 95.3°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).
Color values
| HEX | #978332 |
|---|---|
| RGB | rgb(151, 131, 50) |
| HSL | hsl(48, 50%, 39%) |
| HSV | hsv(48, 67%, 59%) |
| CMYK | cmyk(0%, 13.2%, 66.9%, 40.8%) |
| CIE-LAB | lab(55.12, -2.10, 45.12) |
| CIE-LCH | lch(55.12, 45.17, 92.66°) |
| OKLab | oklab(61.24% -0.0094 0.1023) |
| OKLCH | oklch(61.24% 0.103 95.3) |
| XYZ | xyz(21.4555, 23.0433, 6.3347) |
| Luminance | 0.2304 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 4.63
Diarrhea
#9F8303
ΔE00 4.78
Hazel
#8E7618
ΔE00 5.10
Puke Brown
#947706
ΔE00 5.61
Yellowish Brown
#9B7A01
ΔE00 5.72
Dark Mustard
#A88905
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#978332 #324697
analogous
#975132 #978332 #799732
triadic
#978332 #329783 #833297
tetradic
#978332 #329751 #324697 #973279
square
#978332 #329751 #324697 #973279
split-complementary
#978332 #327997 #513297
monochromatic
#3B3314 #695B23 #978332 #C1A945 #D1BE73
Accessibility & contrast
On white
3.74
#978332 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.61
#978332 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #978332
5.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##978332 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##978332 | 1.00 | 3.74 | 5.61 | 5.61 |
| #FFFFFF | 3.74 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.61 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.61 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#908028
Deuteranopia (green-blind)
#958736
Tritanopia (blue-blind)
#A37972
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #978332; /* rgb */ color: rgb(151, 131, 50); /* oklch */ color: oklch(61.2% 0.103 95.3);
Tailwind
colors: {
custom: {
50: '#b9a66e',
500: '#978332',
950: '#000000',
},
}SCSS
$custom: #978332; $custom-light: #b9a66e; $custom-dark: #000000;
JSON
{
"hex": "#978332",
"rgb": {
"r": 151,
"g": 131,
"b": 50
},
"hsl": {
"h": 48.119,
"s": 50.249,
"l": 39.412
},
"oklch": {
"l": 0.6124,
"c": 0.10274,
"h": 95.3
},
"luminance": 0.23042
}Semantic roles & 50–950 ramp
primary
#978332
secondary
#6C7BB9
accent
#6ADA4E
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#120F07
muted
#817F7A