#978E26#978E26
#978E26 is a light, vivid yellow. Relative luminance 0.261; OKLCH L 63.6% C 0.121 H 104.3°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).
Color values
| HEX | #978E26 |
|---|---|
| RGB | rgb(151, 142, 38) |
| HSL | hsl(55, 60%, 37%) |
| HSV | hsv(55, 75%, 59%) |
| CMYK | cmyk(0%, 6%, 74.8%, 40.8%) |
| CIE-LAB | lab(58.10, -8.79, 53.10) |
| CIE-LCH | lch(58.10, 53.82, 99.40°) |
| OKLab | oklab(63.58% -0.0298 0.117) |
| OKLCH | oklch(63.58% 0.121 104.3) |
| XYZ | xyz(22.7863, 26.0662, 5.6644) |
| Luminance | 0.2606 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 5.61
Baby Poop Green
#8F9805
ΔE00 5.70
Baby Poo
#AB9004
ΔE00 6.20
Olive
#808000
ΔE00 6.38
Diarrhea
#9F8303
ΔE00 6.60
Baby Shit Green
#889717
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#978E26 #262F97
analogous
#975626 #978E26 #689726
triadic
#978E26 #26978E #8E2697
tetradic
#978E26 #269756 #262F97 #972668
square
#978E26 #269756 #262F97 #972668
split-complementary
#978E26 #266897 #562697
monochromatic
#35320D #66601A #978E26 #C8BC32 #D7CE60
Accessibility & contrast
On white
3.38
#978E26 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.21
#978E26 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #978E26
6.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##978E26 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##978E26 | 1.00 | 3.38 | 6.21 | 6.21 |
| #FFFFFF | 3.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.21 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.21 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9B8912
Deuteranopia (green-blind)
#9E8E2D
Tritanopia (blue-blind)
#A3847A
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #978e26; /* rgb */ color: rgb(151, 142, 38); /* oklch */ color: oklch(63.6% 0.121 104.3);
Tailwind
colors: {
custom: {
50: '#b9ae68',
500: '#978e26',
950: '#000000',
},
}SCSS
$custom: #978e26; $custom-light: #b9ae68; $custom-dark: #000000;
JSON
{
"hex": "#978e26",
"rgb": {
"r": 151,
"g": 142,
"b": 38
},
"hsl": {
"h": 55.221,
"s": 59.788,
"l": 37.059
},
"oklch": {
"l": 0.63578,
"c": 0.12075,
"h": 104.3
},
"luminance": 0.26065
}Semantic roles & 50–950 ramp
primary
#978E26
secondary
#5C64BC
accent
#51E345
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121007
muted
#817F7A