#97AA2F#97AA2F
#97AA2F is a light, vivid yellow. Relative luminance 0.355; OKLCH L 70.0% C 0.145 H 118.0°. Best body text is #000000 at 8.11:1 contrast (WCAG AA passes).
Color values
| HEX | #97AA2F |
|---|---|
| RGB | rgb(151, 170, 47) |
| HSL | hsl(69, 57%, 43%) |
| HSV | hsv(69, 72%, 67%) |
| CMYK | cmyk(11.2%, 0%, 72.4%, 33.3%) |
| CIE-LAB | lab(66.16, -22.84, 57.58) |
| CIE-LCH | lch(66.16, 61.94, 111.64°) |
| OKLab | oklab(70.05% -0.0682 0.1281) |
| OKLCH | oklch(70.05% 0.145 118) |
| XYZ | xyz(27.6509, 35.5343, 8.0909) |
| Luminance | 0.3553 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup Green
#94A617
ΔE00 2.07
Pea Green
#8EAB12
ΔE00 2.52
Icky Green
#8FAE22
ΔE00 2.54
Barf Green
#94AC02
ΔE00 2.72
Puke Green
#9AAE07
ΔE00 3.00
Sickly Green
#94B21C
ΔE00 3.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#97AA2F #422FAA
analogous
#AA7F2F #97AA2F #5AAA2F
triadic
#97AA2F #2F97AA #AA2F97
tetradic
#97AA2F #2FAA7F #422FAA #AA2F5A
square
#97AA2F #2FAA7F #422FAA #AA2F5A
split-complementary
#97AA2F #2F5AAA #7F2FAA
monochromatic
#424A14 #6C7A22 #97AA2F #B8CD49 #CBDA79
Accessibility & contrast
On white
2.59
#97AA2F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.11
#97AA2F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #97AA2F
8.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##97AA2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##97AA2F | 1.00 | 2.59 | 8.11 | 8.11 |
| #FFFFFF | 2.59 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.11 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.11 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B5A118
Deuteranopia (green-blind)
#B3A139
Tritanopia (blue-blind)
#A0A192
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #97aa2f; /* rgb */ color: rgb(151, 170, 47); /* oklch */ color: oklch(70.0% 0.145 118.0);
Tailwind
colors: {
custom: {
50: '#b9c370',
500: '#97aa2f',
950: '#000000',
},
}SCSS
$custom: #97aa2f; $custom-light: #b9c370; $custom-dark: #000000;
JSON
{
"hex": "#97aa2f",
"rgb": {
"r": 151,
"g": 170,
"b": 47
},
"hsl": {
"h": 69.268,
"s": 56.682,
"l": 42.549
},
"oklch": {
"l": 0.70048,
"c": 0.14509,
"h": 118
},
"luminance": 0.35534
}Semantic roles & 50–950 ramp
primary
#97AA2F
secondary
#7F72C2
accent
#48E05F
background
#FBFBF7
surface
#F7F7ED
border
#D0D0C8
text
#121208
muted
#81817B