#97AC22#97AC22

#97AC22 is a light, vivid yellow. Relative luminance 0.362; OKLCH L 70.4% C 0.154 H 118.5°. Best body text is #000000 at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#97AC22
RGBrgb(151, 172, 34)
HSLhsl(69, 67%, 40%)
HSVhsv(69, 80%, 67%)
CMYKcmyk(12.2%, 0%, 80.2%, 32.5%)
CIE-LABlab(66.67, -24.43, 62.28)
CIE-LCHlch(66.67, 66.90, 111.42°)
OKLaboklab(70.44% -0.0736 0.1358)
OKLCHoklch(70.44% 0.154 118.5)
XYZxyz(27.8044, 36.2001, 7.0356)
Luminance0.3620 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97AC22 #3722AC
analogous
#AC7C22 #97AC22 #52AC22
triadic
#97AC22 #2297AC #AC2297
tetradic
#97AC22 #22AC7C #3722AC #AC2252
square
#97AC22 #22AC7C #3722AC #AC2252
split-complementary
#97AC22 #2252AC #7C22AC
monochromatic
#3D460E #6A7918 #97AC22 #BED734 #CFE167

Accessibility & contrast

On white

2.55
#97AC22 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.24
#97AC22 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97AC22
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97AC22#FFFFFF#000000##000000
##97AC221.002.558.248.24
#FFFFFF2.551.0021.0021.00
#0000008.2421.001.001.00
##0000008.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A200
Deuteranopia (green-blind)
#B6A330
Tritanopia (blue-blind)
#A1A293
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #97ac22;
/* rgb */ color: rgb(151, 172, 34);
/* oklch */ color: oklch(70.4% 0.154 118.5);
Tailwind
colors: {
  custom: {
    50: '#b9c46a',
    500: '#97ac22',
    950: '#000000',
  },
}
SCSS
$custom: #97ac22;
$custom-light: #b9c46a;
$custom-dark: #000000;
JSON
{
  "hex": "#97ac22",
  "rgb": {
    "r": 151,
    "g": 172,
    "b": 34
  },
  "hsl": {
    "h": 69.13,
    "s": 66.99,
    "l": 40.392
  },
  "oklch": {
    "l": 0.70436,
    "c": 0.15445,
    "h": 118.5
  },
  "luminance": 0.362
}

Semantic roles & 50–950 ramp

primary
#97AC22
secondary
#7263C7
accent
#3EEA58
background
#FBFCF6
surface
#F7F8EC
border
#D0D1C7
text
#121207
muted
#81817A

Preview Lab

Preview with #97AC22

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

Preview Lab → · Contrast checker → · Palette generator →

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