#97AB24#97AB24

#97AB24 is a light, vivid yellow. Relative luminance 0.358; OKLCH L 70.2% C 0.152 H 118.1°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#97AB24
RGBrgb(151, 171, 36)
HSLhsl(69, 65%, 41%)
HSVhsv(69, 79%, 67%)
CMYKcmyk(11.7%, 0%, 78.9%, 32.9%)
CIE-LABlab(66.39, -23.86, 61.45)
CIE-LCHlch(66.39, 65.92, 111.22°)
OKLaboklab(70.21% -0.0719 0.1344)
OKLCHoklch(70.21% 0.152 118.1)
XYZxyz(27.6445, 35.8328, 7.1288)
Luminance0.3583 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97AB24 #3824AB
analogous
#AB7B24 #97AB24 #53AB24
triadic
#97AB24 #2497AB #AB2497
tetradic
#97AB24 #24AB7B #3824AB #AB2453
square
#97AB24 #24AB7B #3824AB #AB2453
split-complementary
#97AB24 #2453AB #7B24AB
monochromatic
#3E460F #6A7819 #97AB24 #BED537 #CEE06A

Accessibility & contrast

On white

2.57
#97AB24 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.17
#97AB24 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97AB24
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97AB24#FFFFFF#000000##000000
##97AB241.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A100
Deuteranopia (green-blind)
#B5A231
Tritanopia (blue-blind)
#A1A192
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #97ab24;
/* rgb */ color: rgb(151, 171, 36);
/* oklch */ color: oklch(70.2% 0.152 118.1);
Tailwind
colors: {
  custom: {
    50: '#b9c46b',
    500: '#97ab24',
    950: '#000000',
  },
}
SCSS
$custom: #97ab24;
$custom-light: #b9c46b;
$custom-dark: #000000;
JSON
{
  "hex": "#97ab24",
  "rgb": {
    "r": 151,
    "g": 171,
    "b": 36
  },
  "hsl": {
    "h": 68.889,
    "s": 65.217,
    "l": 40.588
  },
  "oklch": {
    "l": 0.70213,
    "c": 0.15238,
    "h": 118.1
  },
  "luminance": 0.35833
}

Semantic roles & 50–950 ramp

primary
#97AB24
secondary
#7365C6
accent
#40E859
background
#FBFCF6
surface
#F7F8EC
border
#D0D1C7
text
#121207
muted
#81817A

Preview Lab

Preview with #97AB24

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

Preview Lab → · Contrast checker → · Palette generator →

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