#97AB28#97AB28
#97AB28 is a light, vivid yellow. Relative luminance 0.359; OKLCH L 70.2% C 0.150 H 118.2°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).
Color values
| HEX | #97AB28 |
|---|---|
| RGB | rgb(151, 171, 40) |
| HSL | hsl(69, 62%, 41%) |
| HSV | hsv(69, 77%, 67%) |
| CMYK | cmyk(11.7%, 0%, 76.6%, 32.9%) |
| CIE-LAB | lab(66.41, -23.69, 60.22) |
| CIE-LCH | lch(66.41, 64.71, 111.47°) |
| OKLab | oklab(70.24% -0.0711 0.1325) |
| OKLCH | oklch(70.24% 0.15 118.2) |
| XYZ | xyz(27.7091, 35.8586, 7.4688) |
| Luminance | 0.3586 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup Green
#94A617
ΔE00 1.79
Barf Green
#94AC02
ΔE00 1.99
Pea Green
#8EAB12
ΔE00 2.03
Icky Green
#8FAE22
ΔE00 2.23
Puke Green
#9AAE07
ΔE00 2.28
Sickly Green
#94B21C
ΔE00 2.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#97AB28 #3C28AB
analogous
#AB7E28 #97AB28 #56AB28
triadic
#97AB28 #2897AB #AB2897
tetradic
#97AB28 #28AB7E #3C28AB #AB2856
square
#97AB28 #28AB7E #3C28AB #AB2856
split-complementary
#97AB28 #2856AB #7E28AB
monochromatic
#3F4811 #6B791C #97AB28 #BBD23E #CDDE70
Accessibility & contrast
On white
2.57
#97AB28 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.17
#97AB28 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #97AB28
8.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##97AB28 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##97AB28 | 1.00 | 2.57 | 8.17 | 8.17 |
| #FFFFFF | 2.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B7A105
Deuteranopia (green-blind)
#B5A234
Tritanopia (blue-blind)
#A0A192
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #97ab28; /* rgb */ color: rgb(151, 171, 40); /* oklch */ color: oklch(70.2% 0.150 118.2);
Tailwind
colors: {
custom: {
50: '#b9c46d',
500: '#97ab28',
950: '#000000',
},
}SCSS
$custom: #97ab28; $custom-light: #b9c46d; $custom-dark: #000000;
JSON
{
"hex": "#97ab28",
"rgb": {
"r": 151,
"g": 171,
"b": 40
},
"hsl": {
"h": 69.16,
"s": 62.085,
"l": 41.373
},
"oklch": {
"l": 0.70235,
"c": 0.15032,
"h": 118.2
},
"luminance": 0.35858
}Semantic roles & 50–950 ramp
primary
#97AB28
secondary
#786AC4
accent
#43E55B
background
#FBFCF6
surface
#F7F8EC
border
#D0D1C7
text
#121208
muted
#81817B