#97AA22#97AA22

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

Color values

HEX#97AA22
RGBrgb(151, 170, 34)
HSLhsl(68, 67%, 40%)
HSVhsv(68, 80%, 67%)
CMYKcmyk(11.2%, 0%, 80%, 33.3%)
CIE-LABlab(66.09, -23.44, 61.77)
CIE-LCHlch(66.09, 66.07, 110.79°)
OKLaboklab(69.97% -0.0709 0.1347)
OKLCHoklch(69.97% 0.152 117.8)
XYZxyz(27.4266, 35.4445, 6.9097)
Luminance0.3544 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97AA22 #3522AA
analogous
#AA7922 #97AA22 #53AA22
triadic
#97AA22 #2297AA #AA2297
tetradic
#97AA22 #22AA79 #3522AA #AA2253
square
#97AA22 #22AA79 #3522AA #AA2253
split-complementary
#97AA22 #2253AA #7922AA
monochromatic
#3C440E #6A7718 #97AA22 #BFD633 #CFE066

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97AA22#FFFFFF#000000##000000
##97AA221.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)
#B4A130
Tritanopia (blue-blind)
#A1A091
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #97aa22;
/* rgb */ color: rgb(151, 170, 34);
/* oklch */ color: oklch(70.0% 0.152 117.8);
Tailwind
colors: {
  custom: {
    50: '#b9c36a',
    500: '#97aa22',
    950: '#000000',
  },
}
SCSS
$custom: #97aa22;
$custom-light: #b9c36a;
$custom-dark: #000000;
JSON
{
  "hex": "#97aa22",
  "rgb": {
    "r": 151,
    "g": 170,
    "b": 34
  },
  "hsl": {
    "h": 68.382,
    "s": 66.667,
    "l": 40
  },
  "oklch": {
    "l": 0.6997,
    "c": 0.15221,
    "h": 117.8
  },
  "luminance": 0.35444
}

Semantic roles & 50–950 ramp

primary
#97AA22
secondary
#7062C6
accent
#3EEA56
background
#FBFBF6
surface
#F7F7EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #97AA22

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

Preview Lab → · Contrast checker → · Palette generator →

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