#97AC2A#97AC2A
#97AC2A is a light, vivid yellow. Relative luminance 0.363; OKLCH L 70.5% C 0.150 H 118.6°. Best body text is #000000 at 8.25:1 contrast (WCAG AA passes).
Color values
| HEX | #97AC2A |
|---|---|
| RGB | rgb(151, 172, 42) |
| HSL | hsl(70, 61%, 42%) |
| HSV | hsv(70, 76%, 67%) |
| CMYK | cmyk(12.2%, 0%, 75.6%, 32.5%) |
| CIE-LAB | lab(66.71, -24.09, 59.84) |
| CIE-LCH | lch(66.71, 64.51, 111.92°) |
| OKLab | oklab(70.48% -0.072 0.132) |
| OKLCH | oklch(70.48% 0.15 118.6) |
| XYZ | xyz(27.9336, 36.2518, 7.7158) |
| Luminance | 0.3625 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Icky Green
#8FAE22
ΔE00 2.00
Pea Green
#8EAB12
ΔE00 2.01
Barf Green
#94AC02
ΔE00 2.09
Pea Soup Green
#94A617
ΔE00 2.13
Sickly Green
#94B21C
ΔE00 2.34
Puke Green
#9AAE07
ΔE00 2.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#97AC2A #3F2AAC
analogous
#AC802A #97AC2A #56AC2A
triadic
#97AC2A #2A97AC #AC2A97
tetradic
#97AC2A #2AAC80 #3F2AAC #AC2A56
square
#97AC2A #2AAC80 #3F2AAC #AC2A56
split-complementary
#97AC2A #2A56AC #802AAC
monochromatic
#414A12 #6C7B1E #97AC2A #BAD142 #CCDD73
Accessibility & contrast
On white
2.55
#97AC2A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.25
#97AC2A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #97AC2A
8.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##97AC2A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##97AC2A | 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)
#B8A20B
Deuteranopia (green-blind)
#B5A336
Tritanopia (blue-blind)
#A0A293
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #97ac2a; /* rgb */ color: rgb(151, 172, 42); /* oklch */ color: oklch(70.5% 0.150 118.6);
Tailwind
colors: {
custom: {
50: '#b9c46e',
500: '#97ac2a',
950: '#000000',
},
}SCSS
$custom: #97ac2a; $custom-light: #b9c46e; $custom-dark: #000000;
JSON
{
"hex": "#97ac2a",
"rgb": {
"r": 151,
"g": 172,
"b": 42
},
"hsl": {
"h": 69.692,
"s": 60.748,
"l": 41.961
},
"oklch": {
"l": 0.7048,
"c": 0.15038,
"h": 118.6
},
"luminance": 0.36252
}Semantic roles & 50–950 ramp
primary
#97AC2A
secondary
#7C6DC4
accent
#44E45E
background
#FBFCF6
surface
#F7F8EC
border
#D0D1C7
text
#121208
muted
#81817B