#97AC23#97AC23

#97AC23 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#97AC23
RGBrgb(151, 172, 35)
HSLhsl(69, 66%, 41%)
HSVhsv(69, 80%, 67%)
CMYKcmyk(12.2%, 0%, 79.7%, 32.5%)
CIE-LABlab(66.68, -24.39, 62.00)
CIE-LCHlch(66.68, 66.62, 111.48°)
OKLaboklab(70.44% -0.0734 0.1354)
OKLCHoklch(70.44% 0.154 118.5)
XYZxyz(27.8190, 36.2059, 7.1127)
Luminance0.3621 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97AC23 #3823AC
analogous
#AC7C23 #97AC23 #52AC23
triadic
#97AC23 #2397AC #AC2397
tetradic
#97AC23 #23AC7C #3823AC #AC2352
square
#97AC23 #23AC7C #3823AC #AC2352
split-complementary
#97AC23 #2352AC #7C23AC
monochromatic
#3E460E #6A7919 #97AC23 #BED636 #CEE069

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97AC23#FFFFFF#000000##000000
##97AC231.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)
#B5A331
Tritanopia (blue-blind)
#A0A293
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #97ac23;
/* rgb */ color: rgb(151, 172, 35);
/* oklch */ color: oklch(70.4% 0.154 118.5);
Tailwind
colors: {
  custom: {
    50: '#b9c46b',
    500: '#97ac23',
    950: '#000000',
  },
}
SCSS
$custom: #97ac23;
$custom-light: #b9c46b;
$custom-dark: #000000;
JSON
{
  "hex": "#97ac23",
  "rgb": {
    "r": 151,
    "g": 172,
    "b": 35
  },
  "hsl": {
    "h": 69.197,
    "s": 66.184,
    "l": 40.588
  },
  "oklch": {
    "l": 0.70441,
    "c": 0.15399,
    "h": 118.5
  },
  "luminance": 0.36206
}

Semantic roles & 50–950 ramp

primary
#97AC23
secondary
#7364C6
accent
#3FE959
background
#FBFCF6
surface
#F7F8EC
border
#D0D1C7
text
#121207
muted
#81817A

Preview Lab

Preview with #97AC23

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

Preview Lab → · Contrast checker → · Palette generator →

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