#978320#978320
#978320 is a mid, moderate yellow. Relative luminance 0.229; OKLCH L 61.1% C 0.115 H 97.1°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).
Color values
| HEX | #978320 |
|---|---|
| RGB | rgb(151, 131, 32) |
| HSL | hsl(50, 65%, 36%) |
| HSV | hsv(50, 79%, 59%) |
| CMYK | cmyk(0%, 13.2%, 78.8%, 40.8%) |
| CIE-LAB | lab(54.99, -3.03, 52.35) |
| CIE-LCH | lch(54.99, 52.44, 93.32°) |
| OKLab | oklab(61.1% -0.0142 0.1142) |
| OKLCH | oklch(61.1% 0.115 97.1) |
| XYZ | xyz(21.1406, 22.9173, 4.6762) |
| Luminance | 0.2292 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 3.02
Diarrhea
#9F8303
ΔE00 3.12
Dark Mustard
#A88905
ΔE00 4.85
Hazel
#8E7618
ΔE00 4.87
Yellowish Brown
#9B7A01
ΔE00 4.87
Puke Brown
#947706
ΔE00 4.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#978320 #203497
analogous
#974720 #978320 #6F9720
triadic
#978320 #209783 #832097
tetradic
#978320 #209747 #203497 #97206F
square
#978320 #209747 #203497 #97206F
split-complementary
#978320 #206F97 #472097
monochromatic
#322B0B #645715 #978320 #C9AF2B #DBC556
Accessibility & contrast
On white
3.76
#978320 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.58
#978320 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #978320
5.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##978320 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##978320 | 1.00 | 3.76 | 5.58 | 5.58 |
| #FFFFFF | 3.76 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.58 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.58 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#91800A
Deuteranopia (green-blind)
#968627
Tritanopia (blue-blind)
#A37870
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #978320; /* rgb */ color: rgb(151, 131, 32); /* oklch */ color: oklch(61.1% 0.115 97.1);
Tailwind
colors: {
custom: {
50: '#b9a664',
500: '#978320',
950: '#000000',
},
}SCSS
$custom: #978320; $custom-light: #b9a664; $custom-dark: #000000;
JSON
{
"hex": "#978320",
"rgb": {
"r": 151,
"g": 131,
"b": 32
},
"hsl": {
"h": 49.916,
"s": 65.027,
"l": 35.882
},
"oklch": {
"l": 0.61096,
"c": 0.11508,
"h": 97.1
},
"luminance": 0.22916
}Semantic roles & 50–950 ramp
primary
#978320
secondary
#5466BF
accent
#5CE840
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A