#978C20#978C20
#978C20 is a light, vivid yellow. Relative luminance 0.254; OKLCH L 63.1% C 0.122 H 103.3°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).
Color values
| HEX | #978C20 |
|---|---|
| RGB | rgb(151, 140, 32) |
| HSL | hsl(54, 65%, 36%) |
| HSV | hsv(54, 79%, 59%) |
| CMYK | cmyk(0%, 7.3%, 78.8%, 40.8%) |
| CIE-LAB | lab(57.50, -7.97, 54.65) |
| CIE-LCH | lch(57.50, 55.23, 98.29°) |
| OKLab | oklab(63.09% -0.0281 0.1191) |
| OKLCH | oklch(63.09% 0.122 103.3) |
| XYZ | xyz(22.4023, 25.4407, 5.0967) |
| Luminance | 0.2544 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poo
#AB9004
ΔE00 5.70
Diarrhea
#9F8303
ΔE00 5.74
Olive
#808000
ΔE00 6.10
Baby Shit Brown
#AD900D
ΔE00 6.15
Pea Soup
#929901
ΔE00 6.16
Dark Mustard
#A88905
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#978C20 #202B97
analogous
#975020 #978C20 #669720
triadic
#978C20 #20978C #8C2097
tetradic
#978C20 #209750 #202B97 #972066
square
#978C20 #209750 #202B97 #972066
split-complementary
#978C20 #206697 #502097
monochromatic
#322E0B #645D15 #978C20 #C9BB2B #DBCF56
Accessibility & contrast
On white
3.45
#978C20 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.09
#978C20 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #978C20
6.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##978C20 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##978C20 | 1.00 | 3.45 | 6.09 | 6.09 |
| #FFFFFF | 3.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.09 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.09 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#998705
Deuteranopia (green-blind)
#9D8C28
Tritanopia (blue-blind)
#A38278
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #978c20; /* rgb */ color: rgb(151, 140, 32); /* oklch */ color: oklch(63.1% 0.122 103.3);
Tailwind
colors: {
custom: {
50: '#b9ad65',
500: '#978c20',
950: '#000000',
},
}SCSS
$custom: #978c20; $custom-light: #b9ad65; $custom-dark: #000000;
JSON
{
"hex": "#978c20",
"rgb": {
"r": 151,
"g": 140,
"b": 32
},
"hsl": {
"h": 54.454,
"s": 65.027,
"l": 35.882
},
"oklch": {
"l": 0.63092,
"c": 0.12238,
"h": 103.3
},
"luminance": 0.2544
}Semantic roles & 50–950 ramp
primary
#978C20
secondary
#545EBF
accent
#4FE840
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A