#97A420#97A420

#97A420 is a light, vivid yellow. Relative luminance 0.332; OKLCH L 68.6% C 0.146 H 115.5°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#97A420
RGBrgb(151, 164, 32)
HSLhsl(66, 67%, 38%)
HSVhsv(66, 80%, 64%)
CMYKcmyk(7.9%, 0%, 80.5%, 35.7%)
CIE-LABlab(64.35, -20.52, 60.79)
CIE-LCHlch(64.35, 64.16, 108.66°)
OKLaboklab(68.57% -0.063 0.1323)
OKLCHoklch(68.57% 0.146 115.5)
XYZxyz(26.2994, 33.2350, 6.3958)
Luminance0.3323 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A420 #2D20A4
analogous
#A46F20 #97A420 #55A420
triadic
#97A420 #2097A4 #A42097
tetradic
#97A420 #20A46F #2D20A4 #A42055
square
#97A420 #20A46F #2D20A4 #A42055
split-complementary
#97A420 #2055A4 #6F20A4
monochromatic
#393E0C #687116 #97A420 #C5D62B #D3E05F

Accessibility & contrast

On white

2.75
#97A420 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.65
#97A420 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97A420
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97A420#FFFFFF#000000##000000
##97A4201.002.757.657.65
#FFFFFF2.751.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09B00
Deuteranopia (green-blind)
#AF9D2D
Tritanopia (blue-blind)
#A19A8C
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #97a420;
/* rgb */ color: rgb(151, 164, 32);
/* oklch */ color: oklch(68.6% 0.146 115.5);
Tailwind
colors: {
  custom: {
    50: '#b9be68',
    500: '#97a420',
    950: '#000000',
  },
}
SCSS
$custom: #97a420;
$custom-light: #b9be68;
$custom-dark: #000000;
JSON
{
  "hex": "#97a420",
  "rgb": {
    "r": 151,
    "g": 164,
    "b": 32
  },
  "hsl": {
    "h": 65.909,
    "s": 67.347,
    "l": 38.431
  },
  "oklch": {
    "l": 0.68566,
    "c": 0.14649,
    "h": 115.5
  },
  "luminance": 0.33235
}

Semantic roles & 50–950 ramp

primary
#97A420
secondary
#665CC4
accent
#3EEA4F
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121207
muted
#81817A

Preview Lab

Preview with #97A420

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

Preview Lab → · Contrast checker → · Palette generator →

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