#978431#978431
#978431 is a mid, moderate yellow. Relative luminance 0.233; OKLCH L 61.4% C 0.104 H 96.2°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).
Color values
| HEX | #978431 |
|---|---|
| RGB | rgb(151, 132, 49) |
| HSL | hsl(49, 51%, 39%) |
| HSV | hsv(49, 68%, 59%) |
| CMYK | cmyk(0%, 12.6%, 67.5%, 40.8%) |
| CIE-LAB | lab(55.38, -2.72, 45.86) |
| CIE-LCH | lch(55.38, 45.94, 93.39°) |
| OKLab | oklab(61.45% -0.0113 0.1037) |
| OKLCH | oklch(61.45% 0.104 96.2) |
| XYZ | xyz(21.5691, 23.3047, 6.2673) |
| Luminance | 0.2330 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 4.64
Diarrhea
#9F8303
ΔE00 4.70
Hazel
#8E7618
ΔE00 5.38
Puke Brown
#947706
ΔE00 5.86
Yellowish Brown
#9B7A01
ΔE00 5.95
Dark Mustard
#A88905
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#978431 #314497
analogous
#975131 #978431 #779731
triadic
#978431 #319784 #843197
tetradic
#978431 #319751 #314497 #973177
square
#978431 #319751 #314497 #973177
split-complementary
#978431 #317797 #513197
monochromatic
#3B3313 #695C22 #978431 #C2AA43 #D1BF71
Accessibility & contrast
On white
3.71
#978431 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.66
#978431 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #978431
5.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##978431 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##978431 | 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)
#918127
Deuteranopia (green-blind)
#968735
Tritanopia (blue-blind)
#A37A73
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #978431; /* rgb */ color: rgb(151, 132, 49); /* oklch */ color: oklch(61.4% 0.104 96.2);
Tailwind
colors: {
custom: {
50: '#b9a76d',
500: '#978431',
950: '#000000',
},
}SCSS
$custom: #978431; $custom-light: #b9a76d; $custom-dark: #000000;
JSON
{
"hex": "#978431",
"rgb": {
"r": 151,
"g": 132,
"b": 49
},
"hsl": {
"h": 48.824,
"s": 51,
"l": 39.216
},
"oklch": {
"l": 0.61449,
"c": 0.10433,
"h": 96.2
},
"luminance": 0.23304
}Semantic roles & 50–950 ramp
primary
#978431
secondary
#6B79B9
accent
#68DA4D
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#120F07
muted
#817F7A