#97A720#97A720

#97A720 is a light, vivid yellow. Relative luminance 0.343; OKLCH L 69.3% C 0.150 H 116.6°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#97A720
RGBrgb(151, 167, 32)
HSLhsl(67, 68%, 39%)
HSVhsv(67, 81%, 65%)
CMYKcmyk(9.6%, 0%, 80.8%, 34.5%)
CIE-LABlab(65.22, -22.03, 61.56)
CIE-LCHlch(65.22, 65.38, 109.69°)
OKLaboklab(69.26% -0.0671 0.1339)
OKLCHoklch(69.26% 0.15 116.6)
XYZxyz(26.8427, 34.3214, 6.5769)
Luminance0.3432 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A720 #3020A7
analogous
#A77420 #97A720 #54A720
triadic
#97A720 #2097A7 #A72097
tetradic
#97A720 #20A774 #3020A7 #A72054
square
#97A720 #20A774 #3020A7 #A72054
split-complementary
#97A720 #2054A7 #7420A7
monochromatic
#3A400C #697416 #97A720 #C3D72D #D2E161

Accessibility & contrast

On white

2.67
#97A720 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.86
#97A720 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97A720
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97A720#FFFFFF#000000##000000
##97A7201.002.677.867.86
#FFFFFF2.671.0021.0021.00
#0000007.8621.001.001.00
##0000007.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E00
Deuteranopia (green-blind)
#B29F2E
Tritanopia (blue-blind)
#A19D8F
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #97a720;
/* rgb */ color: rgb(151, 167, 32);
/* oklch */ color: oklch(69.3% 0.150 116.6);
Tailwind
colors: {
  custom: {
    50: '#b9c169',
    500: '#97a720',
    950: '#000000',
  },
}
SCSS
$custom: #97a720;
$custom-light: #b9c169;
$custom-dark: #000000;
JSON
{
  "hex": "#97a720",
  "rgb": {
    "r": 151,
    "g": 167,
    "b": 32
  },
  "hsl": {
    "h": 67.111,
    "s": 67.839,
    "l": 39.02
  },
  "oklch": {
    "l": 0.69262,
    "c": 0.14978,
    "h": 116.6
  },
  "luminance": 0.34321
}

Semantic roles & 50–950 ramp

primary
#97A720
secondary
#6A5DC5
accent
#3DEB52
background
#FBFBF6
surface
#F7F7EB
border
#D0D0C6
text
#121207
muted
#81817A

Preview Lab

Preview with #97A720

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

Preview Lab → · Contrast checker → · Palette generator →

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