#978E37#978E37
#978E37 is a light, moderate yellow. Relative luminance 0.262; OKLCH L 63.7% C 0.108 H 103.4°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).
Color values
| HEX | #978E37 |
|---|---|
| RGB | rgb(151, 142, 55) |
| HSL | hsl(54, 47%, 40%) |
| HSV | hsv(54, 64%, 59%) |
| CMYK | cmyk(0%, 6%, 63.6%, 40.8%) |
| CIE-LAB | lab(58.23, -7.80, 46.17) |
| CIE-LCH | lch(58.23, 46.82, 99.59°) |
| OKLab | oklab(63.72% -0.0251 0.1053) |
| OKLCH | oklch(63.72% 0.108 103.4) |
| XYZ | xyz(23.1259, 26.2020, 7.4530) |
| Luminance | 0.2620 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Khaki
#9B8F55
ΔE00 5.32
Baby Poop Green
#8F9805
ΔE00 6.87
Pea Soup
#929901
ΔE00 6.88
Drab
#828344
ΔE00 6.97
Olive
#808000
ΔE00 7.15
Baby Shit Green
#889717
ΔE00 7.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#978E37 #374097
analogous
#975E37 #978E37 #709737
triadic
#978E37 #37978E #8E3797
tetradic
#978E37 #37975E #374097 #973770
square
#978E37 #37975E #374097 #973770
split-complementary
#978E37 #377097 #5E3797
monochromatic
#3D3A16 #6A6427 #978E37 #BEB44D #CFC77A
Accessibility & contrast
On white
3.37
#978E37 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.24
#978E37 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #978E37
6.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##978E37 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##978E37 | 1.00 | 3.37 | 6.24 | 6.24 |
| #FFFFFF | 3.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.24 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.24 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9A892D
Deuteranopia (green-blind)
#9D8E3C
Tritanopia (blue-blind)
#A2857C
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #978e37; /* rgb */ color: rgb(151, 142, 55); /* oklch */ color: oklch(63.7% 0.108 103.4);
Tailwind
colors: {
custom: {
50: '#b8ae72',
500: '#978e37',
950: '#000000',
},
}SCSS
$custom: #978e37; $custom-light: #b8ae72; $custom-dark: #000000;
JSON
{
"hex": "#978e37",
"rgb": {
"r": 151,
"g": 142,
"b": 55
},
"hsl": {
"h": 54.375,
"s": 46.602,
"l": 40.392
},
"oklch": {
"l": 0.63722,
"c": 0.10827,
"h": 103.4
},
"luminance": 0.26201
}Semantic roles & 50–950 ramp
primary
#978E37
secondary
#7279B8
accent
#5ED652
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#121008
muted
#817F7B