#97A020#97A020

#97A020 is a light, vivid yellow. Relative luminance 0.318; OKLCH L 67.6% C 0.142 H 113.8°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#97A020
RGBrgb(151, 160, 32)
HSLhsl(64, 67%, 38%)
HSVhsv(64, 80%, 63%)
CMYKcmyk(5.6%, 0%, 80%, 37.3%)
CIE-LABlab(63.20, -18.49, 59.77)
CIE-LCHlch(63.20, 62.56, 107.19°)
OKLaboklab(67.64% -0.0574 0.1301)
OKLCHoklch(67.64% 0.142 113.8)
XYZxyz(25.5948, 31.8257, 6.1609)
Luminance0.3182 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A020 #2920A0
analogous
#A06920 #97A020 #57A020
triadic
#97A020 #2097A0 #A02097
tetradic
#97A020 #20A069 #2920A0 #A02057
square
#97A020 #20A069 #2920A0 #A02057
split-complementary
#97A020 #2057A0 #6920A0
monochromatic
#373A0C #676D16 #97A020 #C7D32A #D5DE5C

Accessibility & contrast

On white

2.85
#97A020 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.36
#97A020 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97A020
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97A020#FFFFFF#000000##000000
##97A0201.002.857.367.36
#FFFFFF2.851.0021.0021.00
#0000007.3621.001.001.00
##0000007.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9800
Deuteranopia (green-blind)
#AC9A2C
Tritanopia (blue-blind)
#A29689
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #97a020;
/* rgb */ color: rgb(151, 160, 32);
/* oklch */ color: oklch(67.6% 0.142 113.8);
Tailwind
colors: {
  custom: {
    50: '#b9bb68',
    500: '#97a020',
    950: '#000000',
  },
}
SCSS
$custom: #97a020;
$custom-light: #b9bb68;
$custom-dark: #000000;
JSON
{
  "hex": "#97a020",
  "rgb": {
    "r": 151,
    "g": 160,
    "b": 32
  },
  "hsl": {
    "h": 64.219,
    "s": 66.667,
    "l": 37.647
  },
  "oklch": {
    "l": 0.67642,
    "c": 0.14217,
    "h": 113.8
  },
  "luminance": 0.31825
}

Semantic roles & 50–950 ramp

primary
#97A020
secondary
#6159C3
accent
#3EEA4A
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #97A020

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

Preview Lab → · Contrast checker → · Palette generator →

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