#978D30#978D30
#978D30 is a light, moderate yellow. Relative luminance 0.258; OKLCH L 63.4% C 0.113 H 103.1°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).
Color values
| HEX | #978D30 |
|---|---|
| RGB | rgb(151, 141, 48) |
| HSL | hsl(54, 52%, 39%) |
| HSV | hsv(54, 68%, 59%) |
| CMYK | cmyk(0%, 6.6%, 68.2%, 40.8%) |
| CIE-LAB | lab(57.89, -7.71, 48.90) |
| CIE-LCH | lch(57.89, 49.51, 98.96°) |
| OKLab | oklab(63.43% -0.0257 0.11) |
| OKLCH | oklch(63.43% 0.113 103.1) |
| XYZ | xyz(22.8218, 25.8434, 6.5819) |
| Luminance | 0.2584 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Khaki
#9B8F55
ΔE00 6.13
Pea Soup
#929901
ΔE00 6.62
Baby Poo
#AB9004
ΔE00 6.64
Diarrhea
#9F8303
ΔE00 6.65
Olive
#808000
ΔE00 6.65
Baby Poop Green
#8F9805
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#978D30 #303A97
analogous
#975A30 #978D30 #6E9730
triadic
#978D30 #30978D #8D3097
tetradic
#978D30 #30975A #303A97 #97306E
square
#978D30 #30975A #303A97 #97306E
split-complementary
#978D30 #306E97 #5A3097
monochromatic
#3A3612 #696221 #978D30 #C3B641 #D2C870
Accessibility & contrast
On white
3.40
#978D30 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.17
#978D30 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #978D30
6.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##978D30 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##978D30 | 1.00 | 3.40 | 6.17 | 6.17 |
| #FFFFFF | 3.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9A8823
Deuteranopia (green-blind)
#9D8D36
Tritanopia (blue-blind)
#A2837A
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #978d30; /* rgb */ color: rgb(151, 141, 48); /* oklch */ color: oklch(63.4% 0.113 103.1);
Tailwind
colors: {
custom: {
50: '#b9ae6e',
500: '#978d30',
950: '#000000',
},
}SCSS
$custom: #978d30; $custom-light: #b9ae6e; $custom-dark: #000000;
JSON
{
"hex": "#978d30",
"rgb": {
"r": 151,
"g": 141,
"b": 48
},
"hsl": {
"h": 54.175,
"s": 51.759,
"l": 39.02
},
"oklch": {
"l": 0.63432,
"c": 0.11294,
"h": 103.1
},
"luminance": 0.25842
}Semantic roles & 50–950 ramp
primary
#978D30
secondary
#6A71B9
accent
#5ADB4D
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#121007
muted
#817F7A