#97AD1F#97AD1F
#97AD1F is a light, vivid yellow. Relative luminance 0.366; OKLCH L 70.7% C 0.157 H 118.7°. Best body text is #000000 at 8.31:1 contrast (WCAG AA passes).
Color values
| HEX | #97AD1F |
|---|---|
| RGB | rgb(151, 173, 31) |
| HSL | hsl(69, 70%, 40%) |
| HSV | hsv(69, 82%, 68%) |
| CMYK | cmyk(12.7%, 0%, 82.1%, 32.2%) |
| CIE-LAB | lab(66.95, -25.03, 63.35) |
| CIE-LCH | lch(66.95, 68.12, 111.56°) |
| OKLab | oklab(70.66% -0.0755 0.1376) |
| OKLCH | oklch(70.66% 0.157 118.7) |
| XYZ | xyz(27.9541, 36.5656, 6.8813) |
| Luminance | 0.3656 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Barf Green
#94AC02
ΔE00 1.24
Puke Green
#9AAE07
ΔE00 1.51
Pea Green
#8EAB12
ΔE00 1.70
Sickly Green
#94B21C
ΔE00 1.88
Icky Green
#8FAE22
ΔE00 2.00
Pea Soup Green
#94A617
ΔE00 2.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#97AD1F #351FAD
analogous
#AD7C1F #97AD1F #50AD1F
triadic
#97AD1F #1F97AD #AD1F97
tetradic
#97AD1F #1FAD7C #351FAD #AD1F50
square
#97AD1F #1FAD7C #351FAD #AD1F50
split-complementary
#97AD1F #1F50AD #7C1FAD
monochromatic
#3C450C #6A7916 #97AD1F #BFDA2F #CFE363
Accessibility & contrast
On white
2.53
#97AD1F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.31
#97AD1F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #97AD1F
8.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##97AD1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##97AD1F | 1.00 | 2.53 | 8.31 | 8.31 |
| #FFFFFF | 2.53 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.31 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.31 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B9A300
Deuteranopia (green-blind)
#B6A32E
Tritanopia (blue-blind)
#A1A394
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #97ad1f; /* rgb */ color: rgb(151, 173, 31); /* oklch */ color: oklch(70.7% 0.157 118.7);
Tailwind
colors: {
custom: {
50: '#b9c569',
500: '#97ad1f',
950: '#000000',
},
}SCSS
$custom: #97ad1f; $custom-light: #b9c569; $custom-dark: #000000;
JSON
{
"hex": "#97ad1f",
"rgb": {
"r": 151,
"g": 173,
"b": 31
},
"hsl": {
"h": 69.296,
"s": 69.608,
"l": 40
},
"oklch": {
"l": 0.70656,
"c": 0.15691,
"h": 118.7
},
"luminance": 0.36565
}Semantic roles & 50–950 ramp
primary
#97AD1F
secondary
#7060C8
accent
#3BEC57
background
#FBFCF6
surface
#F7F8EC
border
#D0D1C7
text
#121207
muted
#81817A