#97A620#97A620

#97A620 is a light, vivid yellow. Relative luminance 0.340; OKLCH L 69.0% C 0.149 H 116.3°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#97A620
RGBrgb(151, 166, 32)
HSLhsl(67, 68%, 39%)
HSVhsv(67, 81%, 65%)
CMYKcmyk(9%, 0%, 80.7%, 34.9%)
CIE-LABlab(64.93, -21.53, 61.30)
CIE-LCHlch(64.93, 64.97, 109.35°)
OKLaboklab(69.03% -0.0658 0.1334)
OKLCHoklch(69.03% 0.149 116.3)
XYZxyz(26.6602, 33.9564, 6.5160)
Luminance0.3396 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A620 #2F20A6
analogous
#A67220 #97A620 #54A620
triadic
#97A620 #2097A6 #A62097
tetradic
#97A620 #20A672 #2F20A6 #A62054
square
#97A620 #20A672 #2F20A6 #A62054
split-complementary
#97A620 #2054A6 #7220A6
monochromatic
#3A3F0C #687316 #97A620 #C3D62D #D2E060

Accessibility & contrast

On white

2.70
#97A620 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.79
#97A620 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97A620
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97A620#FFFFFF#000000##000000
##97A6201.002.707.797.79
#FFFFFF2.701.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D00
Deuteranopia (green-blind)
#B19E2D
Tritanopia (blue-blind)
#A19C8E
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #97a620;
/* rgb */ color: rgb(151, 166, 32);
/* oklch */ color: oklch(69.0% 0.149 116.3);
Tailwind
colors: {
  custom: {
    50: '#b9c069',
    500: '#97a620',
    950: '#000000',
  },
}
SCSS
$custom: #97a620;
$custom-light: #b9c069;
$custom-dark: #000000;
JSON
{
  "hex": "#97a620",
  "rgb": {
    "r": 151,
    "g": 166,
    "b": 32
  },
  "hsl": {
    "h": 66.716,
    "s": 67.677,
    "l": 38.824
  },
  "oklch": {
    "l": 0.6903,
    "c": 0.14869,
    "h": 116.3
  },
  "luminance": 0.33956
}

Semantic roles & 50–950 ramp

primary
#97A620
secondary
#685DC5
accent
#3DEB51
background
#FBFBF6
surface
#F7F7EB
border
#D0D0C6
text
#121207
muted
#81817A

Preview Lab

Preview with #97A620

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

Preview Lab → · Contrast checker → · Palette generator →

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