#97A922#97A922

#97A922 is a light, vivid yellow. Relative luminance 0.351; OKLCH L 69.7% C 0.151 H 117.4°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#97A922
RGBrgb(151, 169, 34)
HSLhsl(68, 67%, 40%)
HSVhsv(68, 80%, 66%)
CMYKcmyk(10.7%, 0%, 79.9%, 33.7%)
CIE-LABlab(65.80, -22.95, 61.51)
CIE-LCHlch(65.80, 65.65, 110.46°)
OKLaboklab(69.74% -0.0695 0.1341)
OKLCHoklch(69.74% 0.151 117.4)
XYZxyz(27.2399, 35.0711, 6.8475)
Luminance0.3507 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A922 #3422A9
analogous
#A97822 #97A922 #54A922
triadic
#97A922 #2297A9 #A92297
tetradic
#97A922 #22A978 #3422A9 #A92254
square
#97A922 #22A978 #3422A9 #A92254
split-complementary
#97A922 #2254A9 #7822A9
monochromatic
#3C430D #697618 #97A922 #C0D632 #D0E065

Accessibility & contrast

On white

2.62
#97A922 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.01
#97A922 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97A922
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97A922#FFFFFF#000000##000000
##97A9221.002.628.018.01
#FFFFFF2.621.0021.0021.00
#0000008.0121.001.001.00
##0000008.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B59F00
Deuteranopia (green-blind)
#B3A12F
Tritanopia (blue-blind)
#A19F90
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #97a922;
/* rgb */ color: rgb(151, 169, 34);
/* oklch */ color: oklch(69.7% 0.151 117.4);
Tailwind
colors: {
  custom: {
    50: '#b9c26a',
    500: '#97a922',
    950: '#000000',
  },
}
SCSS
$custom: #97a922;
$custom-light: #b9c26a;
$custom-dark: #000000;
JSON
{
  "hex": "#97a922",
  "rgb": {
    "r": 151,
    "g": 169,
    "b": 34
  },
  "hsl": {
    "h": 68,
    "s": 66.502,
    "l": 39.804
  },
  "oklch": {
    "l": 0.69737,
    "c": 0.15109,
    "h": 117.4
  },
  "luminance": 0.35071
}

Semantic roles & 50–950 ramp

primary
#97A922
secondary
#6F61C5
accent
#3EE955
background
#FBFBF6
surface
#F7F7EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #97A922

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

Preview Lab → · Contrast checker → · Palette generator →

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