#978E29#978E29
#978E29 is a light, moderate yellow. Relative luminance 0.261; OKLCH L 63.6% C 0.119 H 104.2°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).
Color values
| HEX | #978E29 |
|---|---|
| RGB | rgb(151, 142, 41) |
| HSL | hsl(55, 57%, 38%) |
| HSV | hsv(55, 73%, 59%) |
| CMYK | cmyk(0%, 6%, 72.8%, 40.8%) |
| CIE-LAB | lab(58.12, -8.64, 51.98) |
| CIE-LCH | lch(58.12, 52.70, 99.44°) |
| OKLab | oklab(63.6% -0.0291 0.1152) |
| OKLCH | oklch(63.6% 0.119 104.2) |
| XYZ | xyz(22.8367, 26.0863, 5.9296) |
| Luminance | 0.2609 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 5.77
Baby Poop Green
#8F9805
ΔE00 5.84
Baby Poo
#AB9004
ΔE00 6.34
Olive
#808000
ΔE00 6.45
Baby Shit Green
#889717
ΔE00 6.67
Diarrhea
#9F8303
ΔE00 6.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#978E29 #293297
analogous
#975729 #978E29 #699729
triadic
#978E29 #29978E #8E2997
tetradic
#978E29 #299757 #293297 #972969
square
#978E29 #299757 #293297 #972969
split-complementary
#978E29 #296997 #572997
monochromatic
#37330F #67611C #978E29 #C7BB36 #D5CC65
Accessibility & contrast
On white
3.38
#978E29 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.22
#978E29 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #978E29
6.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##978E29 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##978E29 | 1.00 | 3.38 | 6.22 | 6.22 |
| #FFFFFF | 3.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.22 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.22 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9B8918
Deuteranopia (green-blind)
#9E8E30
Tritanopia (blue-blind)
#A3847A
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #978e29; /* rgb */ color: rgb(151, 142, 41); /* oklch */ color: oklch(63.6% 0.119 104.2);
Tailwind
colors: {
custom: {
50: '#b9ae6a',
500: '#978e29',
950: '#000000',
},
}SCSS
$custom: #978e29; $custom-light: #b9ae6a; $custom-dark: #000000;
JSON
{
"hex": "#978e29",
"rgb": {
"r": 151,
"g": 142,
"b": 41
},
"hsl": {
"h": 55.091,
"s": 57.292,
"l": 37.647
},
"oklch": {
"l": 0.636,
"c": 0.11883,
"h": 104.2
},
"luminance": 0.26085
}Semantic roles & 50–950 ramp
primary
#978E29
secondary
#6168BB
accent
#54E147
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121007
muted
#817F7A