#97AB22#97AB22

#97AB22 is a light, vivid yellow. Relative luminance 0.358; OKLCH L 70.2% C 0.153 H 118.1°. Best body text is #000000 at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#97AB22
RGBrgb(151, 171, 34)
HSLhsl(69, 67%, 40%)
HSVhsv(69, 80%, 67%)
CMYKcmyk(11.7%, 0%, 80.1%, 32.9%)
CIE-LABlab(66.38, -23.94, 62.02)
CIE-LCHlch(66.38, 66.48, 111.10°)
OKLaboklab(70.2% -0.0722 0.1352)
OKLCHoklch(70.2% 0.153 118.1)
XYZxyz(27.6148, 35.8209, 6.9724)
Luminance0.3582 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97AB22 #3622AB
analogous
#AB7A22 #97AB22 #53AB22
triadic
#97AB22 #2297AB #AB2297
tetradic
#97AB22 #22AB7A #3622AB #AB2253
square
#97AB22 #22AB7A #3622AB #AB2253
split-complementary
#97AB22 #2253AB #7A22AB
monochromatic
#3D450E #6A7818 #97AB22 #BFD734 #CFE167

Accessibility & contrast

On white

2.57
#97AB22 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.16
#97AB22 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97AB22
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97AB22#FFFFFF#000000##000000
##97AB221.002.578.168.16
#FFFFFF2.571.0021.0021.00
#0000008.1621.001.001.00
##0000008.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A100
Deuteranopia (green-blind)
#B5A230
Tritanopia (blue-blind)
#A1A192
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #97ab22;
/* rgb */ color: rgb(151, 171, 34);
/* oklch */ color: oklch(70.2% 0.153 118.1);
Tailwind
colors: {
  custom: {
    50: '#b9c36a',
    500: '#97ab22',
    950: '#000000',
  },
}
SCSS
$custom: #97ab22;
$custom-light: #b9c36a;
$custom-dark: #000000;
JSON
{
  "hex": "#97ab22",
  "rgb": {
    "r": 151,
    "g": 171,
    "b": 34
  },
  "hsl": {
    "h": 68.759,
    "s": 66.829,
    "l": 40.196
  },
  "oklch": {
    "l": 0.70203,
    "c": 0.15333,
    "h": 118.1
  },
  "luminance": 0.35821
}

Semantic roles & 50–950 ramp

primary
#97AB22
secondary
#7163C6
accent
#3EEA57
background
#FBFCF6
surface
#F7F8EC
border
#D0D1C7
text
#121207
muted
#81817A

Preview Lab

Preview with #97AB22

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

Preview Lab → · Contrast checker → · Palette generator →

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