#97A71C#97A71C
#97A71C is a light, vivid yellow. Relative luminance 0.343; OKLCH L 69.2% C 0.151 H 116.6°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).
Color values
| HEX | #97A71C |
|---|---|
| RGB | rgb(151, 167, 28) |
| HSL | hsl(67, 71%, 38%) |
| HSV | hsv(67, 83%, 65%) |
| CMYK | cmyk(9.6%, 0%, 83.2%, 34.5%) |
| CIE-LAB | lab(65.20, -22.17, 62.61) |
| CIE-LCH | lch(65.20, 66.42, 109.50°) |
| OKLab | oklab(69.24% -0.0678 0.1355) |
| OKLCH | oklch(69.24% 0.151 116.6) |
| XYZ | xyz(26.7916, 34.3010, 6.3078) |
| Luminance | 0.3430 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup Green
#94A617
ΔE00 0.61
Barf Green
#94AC02
ΔE00 2.15
Puke Green
#9AAE07
ΔE00 2.34
Pea Green
#8EAB12
ΔE00 2.72
Vomit Green
#89A203
ΔE00 2.81
Icky Green
#8FAE22
ΔE00 3.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#97A71C #2C1CA7
analogous
#A7711C #97A71C #52A71C
triadic
#97A71C #1C97A7 #A71C97
tetradic
#97A71C #1CA771 #2C1CA7 #A71C52
square
#97A71C #1CA771 #2C1CA7 #A71C52
split-complementary
#97A71C #1C52A7 #711CA7
monochromatic
#383E0A #687313 #97A71C #C6DB26 #D4E35A
Accessibility & contrast
On white
2.67
#97A71C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.86
#97A71C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #97A71C
7.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##97A71C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##97A71C | 1.00 | 2.67 | 7.86 | 7.86 |
| #FFFFFF | 2.67 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B39E00
Deuteranopia (green-blind)
#B29F2B
Tritanopia (blue-blind)
#A19D8E
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #97a71c; /* rgb */ color: rgb(151, 167, 28); /* oklch */ color: oklch(69.2% 0.151 116.6);
Tailwind
colors: {
custom: {
50: '#b9c167',
500: '#97a71c',
950: '#000000',
},
}SCSS
$custom: #97a71c; $custom-light: #b9c167; $custom-dark: #000000;
JSON
{
"hex": "#97a71c",
"rgb": {
"r": 151,
"g": 167,
"b": 28
},
"hsl": {
"h": 66.906,
"s": 71.282,
"l": 38.235
},
"oklch": {
"l": 0.69244,
"c": 0.15149,
"h": 116.6
},
"luminance": 0.34301
}Semantic roles & 50–950 ramp
primary
#97A71C
secondary
#6558C7
accent
#3AEE4F
background
#FBFBF6
surface
#F7F7EB
border
#D0D0C6
text
#121207
muted
#81817A