#978E25#978E25
#978E25 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 | #978E25 |
|---|---|
| RGB | rgb(151, 142, 37) |
| HSL | hsl(55, 61%, 37%) |
| HSV | hsv(55, 75%, 59%) |
| CMYK | cmyk(0%, 6%, 75.5%, 40.8%) |
| CIE-LAB | lab(58.09, -8.83, 53.46) |
| CIE-LCH | lch(58.09, 54.18, 99.38°) |
| OKLab | oklab(63.57% -0.03 0.1176) |
| OKLCH | oklch(63.57% 0.121 104.3) |
| XYZ | xyz(22.7704, 26.0598, 5.5805) |
| Luminance | 0.2606 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 5.56
Baby Poop Green
#8F9805
ΔE00 5.66
Baby Poo
#AB9004
ΔE00 6.15
Olive
#808000
ΔE00 6.36
Diarrhea
#9F8303
ΔE00 6.57
Baby Shit Brown
#AD900D
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#978E25 #252E97
analogous
#975525 #978E25 #679725
triadic
#978E25 #25978E #8E2597
tetradic
#978E25 #259755 #252E97 #972567
square
#978E25 #259755 #252E97 #972567
split-complementary
#978E25 #256797 #552597
monochromatic
#35320D #666019 #978E25 #C8BC31 #D8CE5F
Accessibility & contrast
On white
3.38
#978E25 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.21
#978E25 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #978E25
6.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##978E25 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##978E25 | 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)
#9B8910
Deuteranopia (green-blind)
#9E8E2D
Tritanopia (blue-blind)
#A3847A
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #978e25; /* rgb */ color: rgb(151, 142, 37); /* oklch */ color: oklch(63.6% 0.121 104.3);
Tailwind
colors: {
custom: {
50: '#b9ae68',
500: '#978e25',
950: '#000000',
},
}SCSS
$custom: #978e25; $custom-light: #b9ae68; $custom-dark: #000000;
JSON
{
"hex": "#978e25",
"rgb": {
"r": 151,
"g": 142,
"b": 37
},
"hsl": {
"h": 55.263,
"s": 60.638,
"l": 36.863
},
"oklch": {
"l": 0.63572,
"c": 0.12135,
"h": 104.3
},
"luminance": 0.26059
}Semantic roles & 50–950 ramp
primary
#978E25
secondary
#5B63BD
accent
#51E444
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121007
muted
#817F7A