#97AA24#97AA24

#97AA24 is a light, vivid yellow. Relative luminance 0.355; OKLCH L 70.0% C 0.151 H 117.8°. Best body text is #000000 at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#97AA24
RGBrgb(151, 170, 36)
HSLhsl(69, 65%, 40%)
HSVhsv(69, 79%, 67%)
CMYKcmyk(11.2%, 0%, 78.8%, 33.3%)
CIE-LABlab(66.10, -23.36, 61.18)
CIE-LCHlch(66.10, 65.49, 110.90°)
OKLaboklab(69.98% -0.0705 0.1338)
OKLCHoklch(69.98% 0.151 117.8)
XYZxyz(27.4563, 35.4564, 7.0661)
Luminance0.3546 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97AA24 #3724AA
analogous
#AA7A24 #97AA24 #54AA24
triadic
#97AA24 #2497AA #AA2497
tetradic
#97AA24 #24AA7A #3724AA #AA2454
square
#97AA24 #24AA7A #3724AA #AA2454
split-complementary
#97AA24 #2454AA #7A24AA
monochromatic
#3D450F #6A7719 #97AA24 #BED537 #CFDF69

Accessibility & contrast

On white

2.60
#97AA24 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.09
#97AA24 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97AA24
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97AA24#FFFFFF#000000##000000
##97AA241.002.608.098.09
#FFFFFF2.601.0021.0021.00
#0000008.0921.001.001.00
##0000008.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A000
Deuteranopia (green-blind)
#B4A131
Tritanopia (blue-blind)
#A1A091
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #97aa24;
/* rgb */ color: rgb(151, 170, 36);
/* oklch */ color: oklch(70.0% 0.151 117.8);
Tailwind
colors: {
  custom: {
    50: '#b9c36b',
    500: '#97aa24',
    950: '#000000',
  },
}
SCSS
$custom: #97aa24;
$custom-light: #b9c36b;
$custom-dark: #000000;
JSON
{
  "hex": "#97aa24",
  "rgb": {
    "r": 151,
    "g": 170,
    "b": 36
  },
  "hsl": {
    "h": 68.507,
    "s": 65.049,
    "l": 40.392
  },
  "oklch": {
    "l": 0.6998,
    "c": 0.15125,
    "h": 117.8
  },
  "luminance": 0.35456
}

Semantic roles & 50–950 ramp

primary
#97AA24
secondary
#7265C5
accent
#40E858
background
#FBFBF6
surface
#F7F7EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #97AA24

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

Preview Lab → · Contrast checker → · Palette generator →

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