#97A520#97A520

#97A520 is a light, vivid yellow. Relative luminance 0.336; OKLCH L 68.8% C 0.148 H 115.9°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#97A520
RGBrgb(151, 165, 32)
HSLhsl(66, 68%, 39%)
HSVhsv(66, 81%, 65%)
CMYKcmyk(8.5%, 0%, 80.6%, 35.3%)
CIE-LABlab(64.64, -21.03, 61.05)
CIE-LCHlch(64.64, 64.57, 109.01°)
OKLaboklab(68.8% -0.0644 0.1328)
OKLCHoklch(68.8% 0.148 115.9)
XYZxyz(26.4791, 33.5943, 6.4557)
Luminance0.3359 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A520 #2E20A5
analogous
#A57020 #97A520 #54A520
triadic
#97A520 #2097A5 #A52097
tetradic
#97A520 #20A570 #2E20A5 #A52054
square
#97A520 #20A570 #2E20A5 #A52054
split-complementary
#97A520 #2054A5 #7020A5
monochromatic
#393E0C #687216 #97A520 #C4D62C #D2E05F

Accessibility & contrast

On white

2.72
#97A520 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.72
#97A520 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97A520
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97A520#FFFFFF#000000##000000
##97A5201.002.727.727.72
#FFFFFF2.721.0021.0021.00
#0000007.7221.001.001.00
##0000007.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C00
Deuteranopia (green-blind)
#B09E2D
Tritanopia (blue-blind)
#A19B8D
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #97a520;
/* rgb */ color: rgb(151, 165, 32);
/* oklch */ color: oklch(68.8% 0.148 115.9);
Tailwind
colors: {
  custom: {
    50: '#b9bf69',
    500: '#97a520',
    950: '#000000',
  },
}
SCSS
$custom: #97a520;
$custom-light: #b9bf69;
$custom-dark: #000000;
JSON
{
  "hex": "#97a520",
  "rgb": {
    "r": 151,
    "g": 165,
    "b": 32
  },
  "hsl": {
    "h": 66.316,
    "s": 67.513,
    "l": 38.627
  },
  "oklch": {
    "l": 0.68798,
    "c": 0.14759,
    "h": 115.9
  },
  "luminance": 0.33594
}

Semantic roles & 50–950 ramp

primary
#97A520
secondary
#675CC5
accent
#3DEA50
background
#FBFBF6
surface
#F7F7EB
border
#D0D0C6
text
#121207
muted
#81817A

Preview Lab

Preview with #97A520

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

Preview Lab → · Contrast checker → · Palette generator →

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