#97AC20#97AC20

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

Color values

HEX#97AC20
RGBrgb(151, 172, 32)
HSLhsl(69, 69%, 40%)
HSVhsv(69, 81%, 67%)
CMYKcmyk(12.2%, 0%, 81.4%, 32.5%)
CIE-LABlab(66.66, -24.51, 62.83)
CIE-LCHlch(66.66, 67.44, 111.31°)
OKLaboklab(70.43% -0.0739 0.1366)
OKLCHoklch(70.43% 0.155 118.4)
XYZxyz(27.7764, 36.1889, 6.8881)
Luminance0.3619 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97AC20 #3520AC
analogous
#AC7B20 #97AC20 #51AC20
triadic
#97AC20 #2097AC #AC2097
tetradic
#97AC20 #20AC7B #3520AC #AC2051
square
#97AC20 #20AC7B #3520AC #AC2051
split-complementary
#97AC20 #2051AC #7B20AC
monochromatic
#3C450D #6A7816 #97AC20 #BFD931 #CFE264

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97AC20#FFFFFF#000000##000000
##97AC201.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)
#B6A32F
Tritanopia (blue-blind)
#A1A293
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #97ac20;
/* rgb */ color: rgb(151, 172, 32);
/* oklch */ color: oklch(70.4% 0.155 118.4);
Tailwind
colors: {
  custom: {
    50: '#b9c46a',
    500: '#97ac20',
    950: '#000000',
  },
}
SCSS
$custom: #97ac20;
$custom-light: #b9c46a;
$custom-dark: #000000;
JSON
{
  "hex": "#97ac20",
  "rgb": {
    "r": 151,
    "g": 172,
    "b": 32
  },
  "hsl": {
    "h": 69,
    "s": 68.627,
    "l": 40
  },
  "oklch": {
    "l": 0.70427,
    "c": 0.15535,
    "h": 118.4
  },
  "luminance": 0.36189
}

Semantic roles & 50–950 ramp

primary
#97AC20
secondary
#7060C7
accent
#3CEB57
background
#FBFCF6
surface
#F7F8EC
border
#D0D1C7
text
#121207
muted
#81817A

Preview Lab

Preview with #97AC20

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

Preview Lab → · Contrast checker → · Palette generator →

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