#97AD22#97AD22

#97AD22 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#97AD22
RGBrgb(151, 173, 34)
HSLhsl(69, 67%, 41%)
HSVhsv(69, 80%, 68%)
CMYKcmyk(12.7%, 0%, 80.3%, 32.2%)
CIE-LABlab(66.96, -24.92, 62.54)
CIE-LCHlch(66.96, 67.32, 111.73°)
OKLaboklab(70.67% -0.0749 0.1363)
OKLCHoklch(70.67% 0.156 118.8)
XYZxyz(27.9954, 36.5822, 7.0993)
Luminance0.3658 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97AD22 #3822AD
analogous
#AD7D22 #97AD22 #52AD22
triadic
#97AD22 #2297AD #AD2297
tetradic
#97AD22 #22AD7D #3822AD #AD2252
square
#97AD22 #22AD7D #3822AD #AD2252
split-complementary
#97AD22 #2252AD #7D22AD
monochromatic
#3E470E #6A7A18 #97AD22 #BED735 #CEE168

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97AD22#FFFFFF#000000##000000
##97AD221.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: #97ad22;
/* rgb */ color: rgb(151, 173, 34);
/* oklch */ color: oklch(70.7% 0.156 118.8);
Tailwind
colors: {
  custom: {
    50: '#b9c56b',
    500: '#97ad22',
    950: '#000000',
  },
}
SCSS
$custom: #97ad22;
$custom-light: #b9c56b;
$custom-dark: #000000;
JSON
{
  "hex": "#97ad22",
  "rgb": {
    "r": 151,
    "g": 173,
    "b": 34
  },
  "hsl": {
    "h": 69.496,
    "s": 67.15,
    "l": 40.588
  },
  "oklch": {
    "l": 0.7067,
    "c": 0.15558,
    "h": 118.8
  },
  "luminance": 0.36582
}

Semantic roles & 50–950 ramp

primary
#97AD22
secondary
#7364C7
accent
#3EEA59
background
#FBFCF6
surface
#F7F8EC
border
#D0D1C7
text
#121207
muted
#81817A

Preview Lab

Preview with #97AD22

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

Preview Lab → · Contrast checker → · Palette generator →

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