#97AE23#97AE23
#97AE23 is a light, vivid yellow. Relative luminance 0.370; OKLCH L 70.9% C 0.156 H 119.1°. Best body text is #000000 at 8.39:1 contrast (WCAG AA passes).
Color values
| HEX | #97AE23 |
|---|---|
| RGB | rgb(151, 174, 35) |
| HSL | hsl(70, 67%, 41%) |
| HSV | hsv(70, 80%, 68%) |
| CMYK | cmyk(13.2%, 0%, 79.9%, 31.8%) |
| CIE-LAB | lab(67.26, -25.37, 62.52) |
| CIE-LCH | lch(67.26, 67.47, 112.09°) |
| OKLab | oklab(70.91% -0.0761 0.1365) |
| OKLCH | oklch(70.91% 0.156 119.1) |
| XYZ | xyz(28.2026, 36.9730, 7.2405) |
| Luminance | 0.3697 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Barf Green
#94AC02
ΔE00 1.56
Sickly Green
#94B21C
ΔE00 1.59
Pea Green
#8EAB12
ΔE00 1.74
Icky Green
#8FAE22
ΔE00 1.74
Puke Green
#9AAE07
ΔE00 1.81
Booger Green
#96B403
ΔE00 2.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#97AE23 #3A23AE
analogous
#AE7F23 #97AE23 #51AE23
triadic
#97AE23 #2397AE #AE2397
tetradic
#97AE23 #23AE7F #3A23AE #AE2351
square
#97AE23 #23AE7F #3A23AE #AE2351
split-complementary
#97AE23 #2351AE #7F23AE
monochromatic
#3F480F #6B7B19 #97AE23 #BCD737 #CDE16A
Accessibility & contrast
On white
2.50
#97AE23 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.39
#97AE23 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #97AE23
8.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##97AE23 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##97AE23 | 1.00 | 2.50 | 8.39 | 8.39 |
| #FFFFFF | 2.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.39 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.39 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BAA400
Deuteranopia (green-blind)
#B7A431
Tritanopia (blue-blind)
#A0A495
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #97ae23; /* rgb */ color: rgb(151, 174, 35); /* oklch */ color: oklch(70.9% 0.156 119.1);
Tailwind
colors: {
custom: {
50: '#b9c66b',
500: '#97ae23',
950: '#000000',
},
}SCSS
$custom: #97ae23; $custom-light: #b9c66b; $custom-dark: #000000;
JSON
{
"hex": "#97ae23",
"rgb": {
"r": 151,
"g": 174,
"b": 35
},
"hsl": {
"h": 69.928,
"s": 66.507,
"l": 40.98
},
"oklch": {
"l": 0.70908,
"c": 0.15626,
"h": 119.1
},
"luminance": 0.36973
}Semantic roles & 50–950 ramp
primary
#97AE23
secondary
#7666C7
accent
#3EE95B
background
#FBFCF6
surface
#F7F8EC
border
#D0D1C7
text
#121307
muted
#81827A