#978E27#978E27
#978E27 is a light, vivid yellow. Relative luminance 0.261; OKLCH L 63.6% C 0.120 H 104.2°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).
Color values
| HEX | #978E27 |
|---|---|
| RGB | rgb(151, 142, 39) |
| HSL | hsl(55, 59%, 37%) |
| HSV | hsv(55, 74%, 59%) |
| CMYK | cmyk(0%, 6%, 74.2%, 40.8%) |
| CIE-LAB | lab(58.11, -8.74, 52.73) |
| CIE-LCH | lch(58.11, 53.45, 99.41°) |
| OKLab | oklab(63.59% -0.0296 0.1164) |
| OKLCH | oklch(63.59% 0.12 104.2) |
| XYZ | xyz(22.8027, 26.0727, 5.7505) |
| Luminance | 0.2607 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 5.66
Baby Poop Green
#8F9805
ΔE00 5.75
Baby Poo
#AB9004
ΔE00 6.24
Olive
#808000
ΔE00 6.40
Diarrhea
#9F8303
ΔE00 6.62
Baby Shit Green
#889717
ΔE00 6.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#978E27 #273097
analogous
#975627 #978E27 #689727
triadic
#978E27 #27978E #8E2797
tetradic
#978E27 #279756 #273097 #972768
square
#978E27 #279756 #273097 #972768
split-complementary
#978E27 #276897 #562797
monochromatic
#36330E #66601A #978E27 #C8BC34 #D6CD62
Accessibility & contrast
On white
3.38
#978E27 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.21
#978E27 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #978E27
6.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##978E27 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##978E27 | 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)
#9B8914
Deuteranopia (green-blind)
#9E8E2E
Tritanopia (blue-blind)
#A3847A
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #978e27; /* rgb */ color: rgb(151, 142, 39); /* oklch */ color: oklch(63.6% 0.120 104.2);
Tailwind
colors: {
custom: {
50: '#b9ae69',
500: '#978e27',
950: '#000000',
},
}SCSS
$custom: #978e27; $custom-light: #b9ae69; $custom-dark: #000000;
JSON
{
"hex": "#978e27",
"rgb": {
"r": 151,
"g": 142,
"b": 39
},
"hsl": {
"h": 55.179,
"s": 58.947,
"l": 37.255
},
"oklch": {
"l": 0.63585,
"c": 0.12011,
"h": 104.2
},
"luminance": 0.26072
}Semantic roles & 50–950 ramp
primary
#978E27
secondary
#5E65BC
accent
#52E246
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121007
muted
#817F7A