#97A921#97A921

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

Color values

HEX#97A921
RGBrgb(151, 169, 33)
HSLhsl(68, 67%, 40%)
HSVhsv(68, 80%, 66%)
CMYKcmyk(10.7%, 0%, 80.5%, 33.7%)
CIE-LABlab(65.80, -22.99, 61.79)
CIE-LCHlch(65.80, 65.93, 110.41°)
OKLaboklab(69.73% -0.0697 0.1346)
OKLCHoklch(69.73% 0.152 117.4)
XYZxyz(27.2257, 35.0654, 6.7726)
Luminance0.3507 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A921 #3321A9
analogous
#A97721 #97A921 #53A921
triadic
#97A921 #2197A9 #A92197
tetradic
#97A921 #21A977 #3321A9 #A92153
square
#97A921 #21A977 #3321A9 #A92153
split-complementary
#97A921 #2153A9 #7721A9
monochromatic
#3C430D #697617 #97A921 #C1D731 #D0E164

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97A921#FFFFFF#000000##000000
##97A9211.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: #97a921;
/* rgb */ color: rgb(151, 169, 33);
/* oklch */ color: oklch(69.7% 0.152 117.4);
Tailwind
colors: {
  custom: {
    50: '#b9c26a',
    500: '#97a921',
    950: '#000000',
  },
}
SCSS
$custom: #97a921;
$custom-light: #b9c26a;
$custom-dark: #000000;
JSON
{
  "hex": "#97a921",
  "rgb": {
    "r": 151,
    "g": 169,
    "b": 33
  },
  "hsl": {
    "h": 67.941,
    "s": 67.327,
    "l": 39.608
  },
  "oklch": {
    "l": 0.69732,
    "c": 0.15155,
    "h": 117.4
  },
  "luminance": 0.35065
}

Semantic roles & 50–950 ramp

primary
#97A921
secondary
#6D60C6
accent
#3EEA54
background
#FBFBF6
surface
#F7F7EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #97A921

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

Preview Lab → · Contrast checker → · Palette generator →

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