#97AD20#97AD20

#97AD20 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.31:1 contrast (WCAG AA passes).

Color values

HEX#97AD20
RGBrgb(151, 173, 32)
HSLhsl(69, 69%, 40%)
HSVhsv(69, 82%, 68%)
CMYKcmyk(12.7%, 0%, 81.5%, 32.2%)
CIE-LABlab(66.95, -25.00, 63.09)
CIE-LCHlch(66.95, 67.86, 111.61°)
OKLaboklab(70.66% -0.0753 0.1372)
OKLCHoklch(70.66% 0.156 118.8)
XYZxyz(27.9674, 36.5710, 6.9518)
Luminance0.3657 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97AD20 #3620AD
analogous
#AD7D20 #97AD20 #50AD20
triadic
#97AD20 #2097AD #AD2097
tetradic
#97AD20 #20AD7D #3620AD #AD2050
square
#97AD20 #20AD7D #3620AD #AD2050
split-complementary
#97AD20 #2050AD #7D20AD
monochromatic
#3D460D #6A7916 #97AD20 #BFD931 #CFE265

Accessibility & contrast

On white

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

On black

8.31
#97AD20 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97AD20
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97AD20#FFFFFF#000000##000000
##97AD201.002.538.318.31
#FFFFFF2.531.0021.0021.00
#0000008.3121.001.001.00
##0000008.3121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #97ad20;
/* rgb */ color: rgb(151, 173, 32);
/* oklch */ color: oklch(70.7% 0.156 118.8);
Tailwind
colors: {
  custom: {
    50: '#b9c56a',
    500: '#97ad20',
    950: '#000000',
  },
}
SCSS
$custom: #97ad20;
$custom-light: #b9c56a;
$custom-dark: #000000;
JSON
{
  "hex": "#97ad20",
  "rgb": {
    "r": 151,
    "g": 173,
    "b": 32
  },
  "hsl": {
    "h": 69.362,
    "s": 68.78,
    "l": 40.196
  },
  "oklch": {
    "l": 0.7066,
    "c": 0.15647,
    "h": 118.8
  },
  "luminance": 0.36571
}

Semantic roles & 50–950 ramp

primary
#97AD20
secondary
#7161C8
accent
#3CEC58
background
#FBFCF6
surface
#F7F8EC
border
#D0D1C7
text
#121207
muted
#81817A

Preview Lab

Preview with #97AD20

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

Preview Lab → · Contrast checker → · Palette generator →

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