#978432#978432
#978432 is a mid, moderate yellow. Relative luminance 0.233; OKLCH L 61.5% C 0.104 H 96.1°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).
Color values
| HEX | #978432 |
|---|---|
| RGB | rgb(151, 132, 50) |
| HSL | hsl(49, 50%, 39%) |
| HSV | hsv(49, 67%, 59%) |
| CMYK | cmyk(0%, 12.6%, 66.9%, 40.8%) |
| CIE-LAB | lab(55.39, -2.65, 45.41) |
| CIE-LCH | lch(55.39, 45.49, 93.34°) |
| OKLab | oklab(61.46% -0.011 0.1029) |
| OKLCH | oklch(61.46% 0.104 96.1) |
| XYZ | xyz(21.5905, 23.3132, 6.3797) |
| Luminance | 0.2331 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 4.75
Diarrhea
#9F8303
ΔE00 4.82
Hazel
#8E7618
ΔE00 5.42
Puke Brown
#947706
ΔE00 5.92
Yellowish Brown
#9B7A01
ΔE00 6.01
Dark Khaki
#9B8F55
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#978432 #324597
analogous
#975232 #978432 #789732
triadic
#978432 #329784 #843297
tetradic
#978432 #329752 #324597 #973278
square
#978432 #329752 #324597 #973278
split-complementary
#978432 #327897 #523297
monochromatic
#3B3414 #695C23 #978432 #C1AA45 #D1BF73
Accessibility & contrast
On white
3.71
#978432 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.66
#978432 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #978432
5.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##978432 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##978432 | 1.00 | 3.71 | 5.66 | 5.66 |
| #FFFFFF | 3.71 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.66 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.66 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#918128
Deuteranopia (green-blind)
#968736
Tritanopia (blue-blind)
#A37A73
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #978432; /* rgb */ color: rgb(151, 132, 50); /* oklch */ color: oklch(61.5% 0.104 96.1);
Tailwind
colors: {
custom: {
50: '#b9a76e',
500: '#978432',
950: '#000000',
},
}SCSS
$custom: #978432; $custom-light: #b9a76e; $custom-dark: #000000;
JSON
{
"hex": "#978432",
"rgb": {
"r": 151,
"g": 132,
"b": 50
},
"hsl": {
"h": 48.713,
"s": 50.249,
"l": 39.412
},
"oklch": {
"l": 0.61459,
"c": 0.10353,
"h": 96.1
},
"luminance": 0.23312
}Semantic roles & 50–950 ramp
primary
#978432
secondary
#6C7BB9
accent
#68DA4E
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#120F07
muted
#817F7A