#97AB1C#97AB1C
#97AB1C is a light, vivid yellow. Relative luminance 0.358; OKLCH L 70.2% C 0.156 H 118.0°. Best body text is #000000 at 8.16:1 contrast (WCAG AA passes).
Color values
| HEX | #97AB1C |
|---|---|
| RGB | rgb(151, 171, 28) |
| HSL | hsl(68, 72%, 39%) |
| HSV | hsv(68, 84%, 67%) |
| CMYK | cmyk(11.7%, 0%, 83.6%, 32.9%) |
| CIE-LAB | lab(66.36, -24.15, 63.61) |
| CIE-LCH | lch(66.36, 68.04, 110.79°) |
| OKLab | oklab(70.18% -0.0732 0.1376) |
| OKLCH | oklch(70.18% 0.156 118) |
| XYZ | xyz(27.5357, 35.7893, 6.5558) |
| Luminance | 0.3579 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Barf Green
#94AC02
ΔE00 1.20
Pea Soup Green
#94A617
ΔE00 1.46
Puke Green
#9AAE07
ΔE00 1.47
Pea Green
#8EAB12
ΔE00 1.88
Icky Green
#8FAE22
ΔE00 2.48
Sickly Green
#94B21C
ΔE00 2.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#97AB1C #301CAB
analogous
#AB781C #97AB1C #4FAB1C
triadic
#97AB1C #1C97AB #AB1C97
tetradic
#97AB1C #1CAB78 #301CAB #AB1C4F
square
#97AB1C #1CAB78 #301CAB #AB1C4F
split-complementary
#97AB1C #1C4FAB #781CAB
monochromatic
#3A420B #697613 #97AB1C #C3DC28 #D2E45D
Accessibility & contrast
On white
2.57
#97AB1C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.16
#97AB1C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #97AB1C
8.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##97AB1C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##97AB1C | 1.00 | 2.57 | 8.16 | 8.16 |
| #FFFFFF | 2.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B7A100
Deuteranopia (green-blind)
#B5A22C
Tritanopia (blue-blind)
#A1A192
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #97ab1c; /* rgb */ color: rgb(151, 171, 28); /* oklch */ color: oklch(70.2% 0.156 118.0);
Tailwind
colors: {
custom: {
50: '#b9c368',
500: '#97ab1c',
950: '#000000',
},
}SCSS
$custom: #97ab1c; $custom-light: #b9c368; $custom-dark: #000000;
JSON
{
"hex": "#97ab1c",
"rgb": {
"r": 151,
"g": 171,
"b": 28
},
"hsl": {
"h": 68.392,
"s": 71.859,
"l": 39.02
},
"oklch": {
"l": 0.70176,
"c": 0.1559,
"h": 118
},
"luminance": 0.35789
}Semantic roles & 50–950 ramp
primary
#97AB1C
secondary
#6A5AC9
accent
#39EF53
background
#FBFCF6
surface
#F7F8EB
border
#D0D1C6
text
#121207
muted
#81817A