#978F26#978F26
#978F26 is a light, vivid yellow. Relative luminance 0.264; OKLCH L 63.8% C 0.122 H 104.9°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).
Color values
| HEX | #978F26 |
|---|---|
| RGB | rgb(151, 143, 38) |
| HSL | hsl(56, 60%, 37%) |
| HSV | hsv(56, 75%, 59%) |
| CMYK | cmyk(0%, 5.3%, 74.8%, 40.8%) |
| CIE-LAB | lab(58.38, -9.32, 53.37) |
| CIE-LCH | lch(58.38, 54.17, 99.91°) |
| OKLab | oklab(63.8% -0.0313 0.1176) |
| OKLCH | oklch(63.8% 0.122 104.9) |
| XYZ | xyz(22.9358, 26.3651, 5.7142) |
| Luminance | 0.2636 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 5.22
Baby Poop Green
#8F9805
ΔE00 5.32
Baby Shit Green
#889717
ΔE00 6.25
Baby Poo
#AB9004
ΔE00 6.35
Olive
#808000
ΔE00 6.50
Baby Shit Brown
#AD900D
ΔE00 6.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#978F26 #262E97
analogous
#975726 #978F26 #679726
triadic
#978F26 #26978F #8F2697
tetradic
#978F26 #269757 #262E97 #972667
square
#978F26 #269757 #262E97 #972667
split-complementary
#978F26 #266797 #572697
monochromatic
#35320D #66611A #978F26 #C8BD32 #D7CF60
Accessibility & contrast
On white
3.35
#978F26 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.27
#978F26 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #978F26
6.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##978F26 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##978F26 | 1.00 | 3.35 | 6.27 | 6.27 |
| #FFFFFF | 3.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.27 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.27 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9C8A12
Deuteranopia (green-blind)
#9F8E2E
Tritanopia (blue-blind)
#A3857B
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #978f26; /* rgb */ color: rgb(151, 143, 38); /* oklch */ color: oklch(63.8% 0.122 104.9);
Tailwind
colors: {
custom: {
50: '#b9af68',
500: '#978f26',
950: '#000000',
},
}SCSS
$custom: #978f26; $custom-light: #b9af68; $custom-dark: #000000;
JSON
{
"hex": "#978f26",
"rgb": {
"r": 151,
"g": 143,
"b": 38
},
"hsl": {
"h": 55.752,
"s": 59.788,
"l": 37.059
},
"oklch": {
"l": 0.63803,
"c": 0.12168,
"h": 104.9
},
"luminance": 0.26364
}Semantic roles & 50–950 ramp
primary
#978F26
secondary
#5C63BC
accent
#50E345
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121007
muted
#817F7A