#978232#978232
#978232 is a mid, moderate yellow. Relative luminance 0.228; OKLCH L 61.0% C 0.102 H 94.4°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).
Color values
| HEX | #978232 |
|---|---|
| RGB | rgb(151, 130, 50) |
| HSL | hsl(48, 50%, 39%) |
| HSV | hsv(48, 67%, 59%) |
| CMYK | cmyk(0%, 13.9%, 66.9%, 40.8%) |
| CIE-LAB | lab(54.84, -1.54, 44.82) |
| CIE-LCH | lch(54.84, 44.85, 91.97°) |
| OKLab | oklab(61.02% -0.0078 0.1017) |
| OKLCH | oklch(61.02% 0.102 94.4) |
| XYZ | xyz(21.3219, 22.7760, 6.2901) |
| Luminance | 0.2278 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 4.55
Diarrhea
#9F8303
ΔE00 4.79
Hazel
#8E7618
ΔE00 4.80
Puke Brown
#947706
ΔE00 5.32
Yellowish Brown
#9B7A01
ΔE00 5.45
Dark Mustard
#A88905
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#978232 #324797
analogous
#975032 #978232 #7A9732
triadic
#978232 #329782 #823297
tetradic
#978232 #329750 #324797 #97327A
square
#978232 #329750 #324797 #97327A
split-complementary
#978232 #327A97 #503297
monochromatic
#3B3314 #695A23 #978232 #C1A745 #D1BD73
Accessibility & contrast
On white
3.78
#978232 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.56
#978232 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #978232
5.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##978232 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##978232 | 1.00 | 3.78 | 5.56 | 5.56 |
| #FFFFFF | 3.78 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.56 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.56 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8F8028
Deuteranopia (green-blind)
#958636
Tritanopia (blue-blind)
#A37871
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #978232; /* rgb */ color: rgb(151, 130, 50); /* oklch */ color: oklch(61.0% 0.102 94.4);
Tailwind
colors: {
custom: {
50: '#b9a66e',
500: '#978232',
950: '#000000',
},
}SCSS
$custom: #978232; $custom-light: #b9a66e; $custom-dark: #000000;
JSON
{
"hex": "#978232",
"rgb": {
"r": 151,
"g": 130,
"b": 50
},
"hsl": {
"h": 47.525,
"s": 50.249,
"l": 39.412
},
"oklch": {
"l": 0.61022,
"c": 0.10199,
"h": 94.4
},
"luminance": 0.22775
}Semantic roles & 50–950 ramp
primary
#978232
secondary
#6C7CB9
accent
#6BDA4E
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#120F07
muted
#817F7A