#978E30#978E30
#978E30 is a light, moderate yellow. Relative luminance 0.261; OKLCH L 63.7% C 0.114 H 103.8°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).
Color values
| HEX | #978E30 |
|---|---|
| RGB | rgb(151, 142, 48) |
| HSL | hsl(55, 52%, 39%) |
| HSV | hsv(55, 68%, 59%) |
| CMYK | cmyk(0%, 6%, 68.2%, 40.8%) |
| CIE-LAB | lab(58.17, -8.25, 49.19) |
| CIE-LCH | lch(58.17, 49.88, 99.52°) |
| OKLab | oklab(63.66% -0.0272 0.1106) |
| OKLCH | oklch(63.66% 0.114 103.8) |
| XYZ | xyz(22.9699, 26.1396, 6.6312) |
| Luminance | 0.2614 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Khaki
#9B8F55
ΔE00 6.24
Pea Soup
#929901
ΔE00 6.25
Baby Poop Green
#8F9805
ΔE00 6.28
Olive
#808000
ΔE00 6.72
Baby Poo
#AB9004
ΔE00 6.75
Baby Shit Green
#889717
ΔE00 6.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#978E30 #303997
analogous
#975B30 #978E30 #6D9730
triadic
#978E30 #30978E #8E3097
tetradic
#978E30 #30975B #303997 #97306D
square
#978E30 #30975B #303997 #97306D
split-complementary
#978E30 #306D97 #5B3097
monochromatic
#3A3712 #696221 #978E30 #C3B741 #D2C970
Accessibility & contrast
On white
3.37
#978E30 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.23
#978E30 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #978E30
6.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##978E30 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##978E30 | 1.00 | 3.37 | 6.23 | 6.23 |
| #FFFFFF | 3.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.23 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.23 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9B8923
Deuteranopia (green-blind)
#9E8E36
Tritanopia (blue-blind)
#A2847B
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #978e30; /* rgb */ color: rgb(151, 142, 48); /* oklch */ color: oklch(63.7% 0.114 103.8);
Tailwind
colors: {
custom: {
50: '#b9ae6e',
500: '#978e30',
950: '#000000',
},
}SCSS
$custom: #978e30; $custom-light: #b9ae6e; $custom-dark: #000000;
JSON
{
"hex": "#978e30",
"rgb": {
"r": 151,
"g": 142,
"b": 48
},
"hsl": {
"h": 54.757,
"s": 51.759,
"l": 39.02
},
"oklch": {
"l": 0.63656,
"c": 0.11389,
"h": 103.8
},
"luminance": 0.26139
}Semantic roles & 50–950 ramp
primary
#978E30
secondary
#6A71B9
accent
#59DB4D
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#121007
muted
#817F7A