#97AC28#97AC28
#97AC28 is a light, vivid yellow. Relative luminance 0.362; OKLCH L 70.5% C 0.151 H 118.6°. Best body text is #000000 at 8.25:1 contrast (WCAG AA passes).
Color values
| HEX | #97AC28 |
|---|---|
| RGB | rgb(151, 172, 40) |
| HSL | hsl(70, 62%, 42%) |
| HSV | hsv(70, 77%, 67%) |
| CMYK | cmyk(12.2%, 0%, 76.7%, 32.5%) |
| CIE-LAB | lab(66.70, -24.18, 60.49) |
| CIE-LCH | lch(66.70, 65.14, 111.79°) |
| OKLab | oklab(70.47% -0.0724 0.133) |
| OKLCH | oklch(70.47% 0.151 118.6) |
| XYZ | xyz(27.8987, 36.2378, 7.5320) |
| Luminance | 0.3624 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Barf Green
#94AC02
ΔE00 1.92
Pea Green
#8EAB12
ΔE00 1.92
Icky Green
#8FAE22
ΔE00 2.00
Pea Soup Green
#94A617
ΔE00 2.04
Puke Green
#9AAE07
ΔE00 2.21
Sickly Green
#94B21C
ΔE00 2.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#97AC28 #3D28AC
analogous
#AC7F28 #97AC28 #55AC28
triadic
#97AC28 #2897AC #AC2897
tetradic
#97AC28 #28AC7F #3D28AC #AC2855
square
#97AC28 #28AC7F #3D28AC #AC2855
split-complementary
#97AC28 #2855AC #7F28AC
monochromatic
#404911 #6B7A1C #97AC28 #BBD23F #CCDE71
Accessibility & contrast
On white
2.55
#97AC28 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.25
#97AC28 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #97AC28
8.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##97AC28 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##97AC28 | 1.00 | 2.55 | 8.25 | 8.25 |
| #FFFFFF | 2.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.25 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.25 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B8A204
Deuteranopia (green-blind)
#B5A334
Tritanopia (blue-blind)
#A0A293
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #97ac28; /* rgb */ color: rgb(151, 172, 40); /* oklch */ color: oklch(70.5% 0.151 118.6);
Tailwind
colors: {
custom: {
50: '#b9c46d',
500: '#97ac28',
950: '#000000',
},
}SCSS
$custom: #97ac28; $custom-light: #b9c46d; $custom-dark: #000000;
JSON
{
"hex": "#97ac28",
"rgb": {
"r": 151,
"g": 172,
"b": 40
},
"hsl": {
"h": 69.545,
"s": 62.264,
"l": 41.569
},
"oklch": {
"l": 0.70468,
"c": 0.15147,
"h": 118.6
},
"luminance": 0.36238
}Semantic roles & 50–950 ramp
primary
#97AC28
secondary
#796BC5
accent
#42E55C
background
#FBFCF6
surface
#F7F8EC
border
#D0D1C7
text
#121208
muted
#81817B