#97A92F#97A92F
#97A92F is a light, vivid yellow. Relative luminance 0.352; OKLCH L 69.8% C 0.144 H 117.6°. Best body text is #000000 at 8.03:1 contrast (WCAG AA passes).
Color values
| HEX | #97A92F |
|---|---|
| RGB | rgb(151, 169, 47) |
| HSL | hsl(69, 56%, 42%) |
| HSV | hsv(69, 72%, 66%) |
| CMYK | cmyk(10.7%, 0%, 72.2%, 33.7%) |
| CIE-LAB | lab(65.87, -22.35, 57.29) |
| CIE-LCH | lch(65.87, 61.50, 111.31°) |
| OKLab | oklab(69.82% -0.0668 0.1275) |
| OKLCH | oklch(69.82% 0.144 117.6) |
| XYZ | xyz(27.4642, 35.1608, 8.0287) |
| Luminance | 0.3516 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup Green
#94A617
ΔE00 1.95
Pea Green
#8EAB12
ΔE00 2.69
Icky Green
#8FAE22
ΔE00 2.81
Barf Green
#94AC02
ΔE00 2.85
Puke Green
#9AAE07
ΔE00 3.13
Avocado Green
#87A922
ΔE00 3.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#97A92F #412FA9
analogous
#A97E2F #97A92F #5AA92F
triadic
#97A92F #2F97A9 #A92F97
tetradic
#97A92F #2FA97E #412FA9 #A92F5A
square
#97A92F #2FA97E #412FA9 #A92F5A
split-complementary
#97A92F #2F5AA9 #7E2FA9
monochromatic
#414914 #6C7922 #97A92F #B9CC49 #CBDA79
Accessibility & contrast
On white
2.61
#97A92F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.03
#97A92F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #97A92F
8.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##97A92F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##97A92F | 1.00 | 2.61 | 8.03 | 8.03 |
| #FFFFFF | 2.61 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B4A019
Deuteranopia (green-blind)
#B3A139
Tritanopia (blue-blind)
#A0A091
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #97a92f; /* rgb */ color: rgb(151, 169, 47); /* oklch */ color: oklch(69.8% 0.144 117.6);
Tailwind
colors: {
custom: {
50: '#b9c270',
500: '#97a92f',
950: '#000000',
},
}SCSS
$custom: #97a92f; $custom-light: #b9c270; $custom-dark: #000000;
JSON
{
"hex": "#97a92f",
"rgb": {
"r": 151,
"g": 169,
"b": 47
},
"hsl": {
"h": 68.852,
"s": 56.481,
"l": 42.353
},
"oklch": {
"l": 0.69815,
"c": 0.14392,
"h": 117.6
},
"luminance": 0.3516
}Semantic roles & 50–950 ramp
primary
#97A92F
secondary
#7E72C2
accent
#48E05E
background
#FBFBF7
surface
#F6F7ED
border
#D0D0C8
text
#121208
muted
#81817B