#97AC2C#97AC2C
#97AC2C is a light, vivid yellow. Relative luminance 0.363; OKLCH L 70.5% C 0.149 H 118.7°. Best body text is #000000 at 8.25:1 contrast (WCAG AA passes).
Color values
| HEX | #97AC2C |
|---|---|
| RGB | rgb(151, 172, 44) |
| HSL | hsl(70, 59%, 42%) |
| HSV | hsv(70, 74%, 67%) |
| CMYK | cmyk(12.2%, 0%, 74.4%, 32.5%) |
| CIE-LAB | lab(66.72, -23.99, 59.18) |
| CIE-LCH | lch(66.72, 63.86, 112.07°) |
| OKLab | oklab(70.49% -0.0716 0.131) |
| OKLCH | oklch(70.49% 0.149 118.7) |
| XYZ | xyz(27.9702, 36.2664, 7.9090) |
| Luminance | 0.3627 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Icky Green
#8FAE22
ΔE00 2.01
Pea Green
#8EAB12
ΔE00 2.10
Pea Soup Green
#94A617
ΔE00 2.25
Barf Green
#94AC02
ΔE00 2.27
Sickly Green
#94B21C
ΔE00 2.41
Puke Green
#9AAE07
ΔE00 2.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#97AC2C #412CAC
analogous
#AC812C #97AC2C #57AC2C
triadic
#97AC2C #2C97AC #AC2C97
tetradic
#97AC2C #2CAC81 #412CAC #AC2C57
square
#97AC2C #2CAC81 #412CAC #AC2C57
split-complementary
#97AC2C #2C57AC #812CAC
monochromatic
#414B13 #6C7B20 #97AC2C #B9D046 #CBDC76
Accessibility & contrast
On white
2.54
#97AC2C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.25
#97AC2C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #97AC2C
8.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##97AC2C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##97AC2C | 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)
#B7A211
Deuteranopia (green-blind)
#B5A337
Tritanopia (blue-blind)
#A0A294
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #97ac2c; /* rgb */ color: rgb(151, 172, 44); /* oklch */ color: oklch(70.5% 0.149 118.7);
Tailwind
colors: {
custom: {
50: '#b9c46f',
500: '#97ac2c',
950: '#000000',
},
}SCSS
$custom: #97ac2c; $custom-light: #b9c46f; $custom-dark: #000000;
JSON
{
"hex": "#97ac2c",
"rgb": {
"r": 151,
"g": 172,
"b": 44
},
"hsl": {
"h": 69.844,
"s": 59.259,
"l": 42.353
},
"oklch": {
"l": 0.70493,
"c": 0.14924,
"h": 118.7
},
"luminance": 0.36266
}Semantic roles & 50–950 ramp
primary
#97AC2C
secondary
#7E70C4
accent
#45E25F
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121208
muted
#81817B