#97AD21#97AD21

#97AD21 is a light, vivid yellow. Relative luminance 0.366; OKLCH L 70.7% C 0.156 H 118.8°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#97AD21
RGBrgb(151, 173, 33)
HSLhsl(69, 68%, 40%)
HSVhsv(69, 81%, 68%)
CMYKcmyk(12.7%, 0%, 80.9%, 32.2%)
CIE-LABlab(66.96, -24.96, 62.82)
CIE-LCHlch(66.96, 67.59, 111.67°)
OKLaboklab(70.67% -0.0751 0.1368)
OKLCHoklch(70.67% 0.156 118.8)
XYZxyz(27.9812, 36.5765, 7.0245)
Luminance0.3658 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97AD21 #3721AD
analogous
#AD7D21 #97AD21 #51AD21
triadic
#97AD21 #2197AD #AD2197
tetradic
#97AD21 #21AD7D #3721AD #AD2151
square
#97AD21 #21AD7D #3721AD #AD2151
split-complementary
#97AD21 #2151AD #7D21AD
monochromatic
#3D460D #6A7A17 #97AD21 #BED833 #CFE266

Accessibility & contrast

On white

2.53
#97AD21 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.32
#97AD21 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97AD21
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97AD21#FFFFFF#000000##000000
##97AD211.002.538.328.32
#FFFFFF2.531.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A300
Deuteranopia (green-blind)
#B6A330
Tritanopia (blue-blind)
#A0A394
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #97ad21;
/* rgb */ color: rgb(151, 173, 33);
/* oklch */ color: oklch(70.7% 0.156 118.8);
Tailwind
colors: {
  custom: {
    50: '#b9c56a',
    500: '#97ad21',
    950: '#000000',
  },
}
SCSS
$custom: #97ad21;
$custom-light: #b9c56a;
$custom-dark: #000000;
JSON
{
  "hex": "#97ad21",
  "rgb": {
    "r": 151,
    "g": 173,
    "b": 33
  },
  "hsl": {
    "h": 69.429,
    "s": 67.961,
    "l": 40.392
  },
  "oklch": {
    "l": 0.70665,
    "c": 0.15603,
    "h": 118.8
  },
  "luminance": 0.36576
}

Semantic roles & 50–950 ramp

primary
#97AD21
secondary
#7262C7
accent
#3DEB58
background
#FBFCF6
surface
#F7F8EC
border
#D0D1C7
text
#121207
muted
#81817A

Preview Lab

Preview with #97AD21

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#97AD21 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva