#97A920#97A920

#97A920 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#97A920
RGBrgb(151, 169, 32)
HSLhsl(68, 68%, 39%)
HSVhsv(68, 81%, 66%)
CMYKcmyk(10.7%, 0%, 81.1%, 33.7%)
CIE-LABlab(65.80, -23.02, 62.07)
CIE-LCHlch(65.80, 66.20, 110.35°)
OKLaboklab(69.73% -0.0699 0.135)
OKLCHoklch(69.73% 0.152 117.4)
XYZxyz(27.2119, 35.0599, 6.6999)
Luminance0.3506 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A920 #3220A9
analogous
#A97720 #97A920 #53A920
triadic
#97A920 #2097A9 #A92097
tetradic
#97A920 #20A977 #3220A9 #A92053
square
#97A920 #20A977 #3220A9 #A92053
split-complementary
#97A920 #2053A9 #7720A9
monochromatic
#3B420D #697616 #97A920 #C1D82F #D1E162

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97A920#FFFFFF#000000##000000
##97A9201.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)
#B3A12E
Tritanopia (blue-blind)
#A19F90
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #97a920;
/* rgb */ color: rgb(151, 169, 32);
/* oklch */ color: oklch(69.7% 0.152 117.4);
Tailwind
colors: {
  custom: {
    50: '#b9c269',
    500: '#97a920',
    950: '#000000',
  },
}
SCSS
$custom: #97a920;
$custom-light: #b9c269;
$custom-dark: #000000;
JSON
{
  "hex": "#97a920",
  "rgb": {
    "r": 151,
    "g": 169,
    "b": 32
  },
  "hsl": {
    "h": 67.883,
    "s": 68.159,
    "l": 39.412
  },
  "oklch": {
    "l": 0.69727,
    "c": 0.152,
    "h": 117.4
  },
  "luminance": 0.3506
}

Semantic roles & 50–950 ramp

primary
#97A920
secondary
#6C5FC6
accent
#3DEB54
background
#FBFBF6
surface
#F7F7EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #97A920

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

Preview Lab → · Contrast checker → · Palette generator →

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