#97AD23#97AD23

#97AD23 is a light, vivid yellow. Relative luminance 0.366; OKLCH L 70.7% C 0.155 H 118.8°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#97AD23
RGBrgb(151, 173, 35)
HSLhsl(70, 66%, 41%)
HSVhsv(70, 80%, 68%)
CMYKcmyk(12.7%, 0%, 79.8%, 32.2%)
CIE-LABlab(66.97, -24.88, 62.26)
CIE-LCHlch(66.97, 67.05, 111.79°)
OKLaboklab(70.68% -0.0748 0.1359)
OKLCHoklch(70.68% 0.155 118.8)
XYZxyz(28.0101, 36.5880, 7.1764)
Luminance0.3659 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97AD23 #3923AD
analogous
#AD7E23 #97AD23 #52AD23
triadic
#97AD23 #2397AD #AD2397
tetradic
#97AD23 #23AD7E #3923AD #AD2352
square
#97AD23 #23AD7E #3923AD #AD2352
split-complementary
#97AD23 #2352AD #7E23AD
monochromatic
#3E470E #6B7A19 #97AD23 #BDD637 #CEE16A

Accessibility & contrast

On white

2.52
#97AD23 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##97AD23#FFFFFF#000000##000000
##97AD231.002.528.328.32
#FFFFFF2.521.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #97ad23;
/* rgb */ color: rgb(151, 173, 35);
/* oklch */ color: oklch(70.7% 0.155 118.8);
Tailwind
colors: {
  custom: {
    50: '#b9c56b',
    500: '#97ad23',
    950: '#000000',
  },
}
SCSS
$custom: #97ad23;
$custom-light: #b9c56b;
$custom-dark: #000000;
JSON
{
  "hex": "#97ad23",
  "rgb": {
    "r": 151,
    "g": 173,
    "b": 35
  },
  "hsl": {
    "h": 69.565,
    "s": 66.346,
    "l": 40.784
  },
  "oklch": {
    "l": 0.70675,
    "c": 0.15512,
    "h": 118.8
  },
  "luminance": 0.36588
}

Semantic roles & 50–950 ramp

primary
#97AD23
secondary
#7565C7
accent
#3FE95A
background
#FBFCF6
surface
#F7F8EC
border
#D0D1C7
text
#121207
muted
#81817A

Preview Lab

Preview with #97AD23

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

Preview Lab → · Contrast checker → · Palette generator →

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