#978E23#978E23
#978E23 is a light, vivid yellow. Relative luminance 0.260; OKLCH L 63.6% C 0.123 H 104.4°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).
Color values
| HEX | #978E23 |
|---|---|
| RGB | rgb(151, 142, 35) |
| HSL | hsl(55, 62%, 36%) |
| HSV | hsv(55, 77%, 59%) |
| CMYK | cmyk(0%, 6%, 76.8%, 40.8%) |
| CIE-LAB | lab(58.08, -8.92, 54.16) |
| CIE-LCH | lch(58.08, 54.89, 99.35°) |
| OKLab | oklab(63.56% -0.0305 0.1187) |
| OKLCH | oklch(63.56% 0.123 104.4) |
| XYZ | xyz(22.7399, 26.0476, 5.4197) |
| Luminance | 0.2605 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 5.47
Baby Poop Green
#8F9805
ΔE00 5.59
Baby Poo
#AB9004
ΔE00 6.07
Olive
#808000
ΔE00 6.32
Diarrhea
#9F8303
ΔE00 6.52
Baby Shit Brown
#AD900D
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#978E23 #232C97
analogous
#975423 #978E23 #669723
triadic
#978E23 #23978E #8E2397
tetradic
#978E23 #239754 #232C97 #972366
square
#978E23 #239754 #232C97 #972366
split-complementary
#978E23 #236697 #542397
monochromatic
#34310C #655F17 #978E23 #C9BD2F #D9CF5B
Accessibility & contrast
On white
3.38
#978E23 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.21
#978E23 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #978E23
6.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##978E23 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##978E23 | 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)
#9B890B
Deuteranopia (green-blind)
#9E8E2B
Tritanopia (blue-blind)
#A3847A
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #978e23; /* rgb */ color: rgb(151, 142, 35); /* oklch */ color: oklch(63.6% 0.123 104.4);
Tailwind
colors: {
custom: {
50: '#b9ae67',
500: '#978e23',
950: '#000000',
},
}SCSS
$custom: #978e23; $custom-light: #b9ae67; $custom-dark: #000000;
JSON
{
"hex": "#978e23",
"rgb": {
"r": 151,
"g": 142,
"b": 35
},
"hsl": {
"h": 55.345,
"s": 62.366,
"l": 36.471
},
"oklch": {
"l": 0.63559,
"c": 0.12252,
"h": 104.4
},
"luminance": 0.26047
}Semantic roles & 50–950 ramp
primary
#978E23
secondary
#5860BE
accent
#4FE542
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A