#97AC2B#97AC2B
#97AC2B 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 | #97AC2B |
|---|---|
| RGB | rgb(151, 172, 43) |
| HSL | hsl(70, 60%, 42%) |
| HSV | hsv(70, 75%, 67%) |
| CMYK | cmyk(12.2%, 0%, 75%, 32.5%) |
| CIE-LAB | lab(66.72, -24.04, 59.51) |
| CIE-LCH | lch(66.72, 64.18, 112.00°) |
| OKLab | oklab(70.49% -0.0718 0.1315) |
| OKLCH | oklch(70.49% 0.15 118.6) |
| XYZ | xyz(27.9517, 36.2590, 7.8112) |
| Luminance | 0.3626 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Icky Green
#8FAE22
ΔE00 2.00
Pea Green
#8EAB12
ΔE00 2.05
Barf Green
#94AC02
ΔE00 2.18
Pea Soup Green
#94A617
ΔE00 2.19
Sickly Green
#94B21C
ΔE00 2.37
Puke Green
#9AAE07
ΔE00 2.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#97AC2B #402BAC
analogous
#AC802B #97AC2B #57AC2B
triadic
#97AC2B #2B97AC #AC2B97
tetradic
#97AC2B #2BAC80 #402BAC #AC2B57
square
#97AC2B #2BAC80 #402BAC #AC2B57
split-complementary
#97AC2B #2B57AC #802BAC
monochromatic
#414A13 #6C7B1F #97AC2B #B9D044 #CCDC75
Accessibility & contrast
On white
2.54
#97AC2B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.25
#97AC2B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #97AC2B
8.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##97AC2B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##97AC2B | 1.00 | 2.54 | 8.25 | 8.25 |
| #FFFFFF | 2.54 | 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)
#B7A20E
Deuteranopia (green-blind)
#B5A336
Tritanopia (blue-blind)
#A0A294
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #97ac2b; /* rgb */ color: rgb(151, 172, 43); /* oklch */ color: oklch(70.5% 0.150 118.6);
Tailwind
colors: {
custom: {
50: '#b9c46e',
500: '#97ac2b',
950: '#000000',
},
}SCSS
$custom: #97ac2b; $custom-light: #b9c46e; $custom-dark: #000000;
JSON
{
"hex": "#97ac2b",
"rgb": {
"r": 151,
"g": 172,
"b": 43
},
"hsl": {
"h": 69.767,
"s": 60,
"l": 42.157
},
"oklch": {
"l": 0.70487,
"c": 0.14981,
"h": 118.6
},
"luminance": 0.36259
}Semantic roles & 50–950 ramp
primary
#97AC2B
secondary
#7D6FC4
accent
#45E35E
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121208
muted
#81817B