#97AB27#97AB27
#97AB27 is a light, vivid yellow. Relative luminance 0.359; OKLCH L 70.2% C 0.151 H 118.2°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).
Color values
| HEX | #97AB27 |
|---|---|
| RGB | rgb(151, 171, 39) |
| HSL | hsl(69, 63%, 41%) |
| HSV | hsv(69, 77%, 67%) |
| CMYK | cmyk(11.7%, 0%, 77.2%, 32.9%) |
| CIE-LAB | lab(66.41, -23.73, 60.53) |
| CIE-LCH | lch(66.41, 65.02, 111.41°) |
| OKLab | oklab(70.23% -0.0713 0.133) |
| OKLCH | oklch(70.23% 0.151 118.2) |
| XYZ | xyz(27.6923, 35.8519, 7.3803) |
| Luminance | 0.3585 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup Green
#94A617
ΔE00 1.74
Barf Green
#94AC02
ΔE00 1.91
Pea Green
#8EAB12
ΔE00 2.00
Puke Green
#9AAE07
ΔE00 2.20
Icky Green
#8FAE22
ΔE00 2.24
Sickly Green
#94B21C
ΔE00 2.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#97AB27 #3B27AB
analogous
#AB7D27 #97AB27 #55AB27
triadic
#97AB27 #2797AB #AB2797
tetradic
#97AB27 #27AB7D #3B27AB #AB2755
square
#97AB27 #27AB7D #3B27AB #AB2755
split-complementary
#97AB27 #2755AB #7D27AB
monochromatic
#3F4710 #6B791C #97AB27 #BCD33D #CDDE6E
Accessibility & contrast
On white
2.57
#97AB27 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.17
#97AB27 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #97AB27
8.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##97AB27 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##97AB27 | 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)
#B7A102
Deuteranopia (green-blind)
#B5A233
Tritanopia (blue-blind)
#A0A192
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #97ab27; /* rgb */ color: rgb(151, 171, 39); /* oklch */ color: oklch(70.2% 0.151 118.2);
Tailwind
colors: {
custom: {
50: '#b9c46c',
500: '#97ab27',
950: '#000000',
},
}SCSS
$custom: #97ab27; $custom-light: #b9c46c; $custom-dark: #000000;
JSON
{
"hex": "#97ab27",
"rgb": {
"r": 151,
"g": 171,
"b": 39
},
"hsl": {
"h": 69.091,
"s": 62.857,
"l": 41.176
},
"oklch": {
"l": 0.7023,
"c": 0.15086,
"h": 118.2
},
"luminance": 0.35852
}Semantic roles & 50–950 ramp
primary
#97AB27
secondary
#7769C5
accent
#42E65B
background
#FBFCF6
surface
#F7F8EC
border
#D0D1C7
text
#121207
muted
#81817A