#97AF2A#97AF2A

#97AF2A is a light, vivid yellow-green. Relative luminance 0.374; OKLCH L 71.2% C 0.154 H 119.6°. Best body text is #000000 at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#97AF2A
RGBrgb(151, 175, 42)
HSLhsl(71, 61%, 43%)
HSVhsv(71, 76%, 69%)
CMYKcmyk(13.7%, 0%, 76%, 31.4%)
CIE-LABlab(67.58, -25.56, 60.66)
CIE-LCHlch(67.58, 65.82, 112.85°)
OKLaboklab(71.18% -0.0761 0.1337)
OKLCHoklch(71.18% 0.154 119.6)
XYZxyz(28.5110, 37.4066, 7.9082)
Luminance0.3741 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97AF2A #422AAF
analogous
#AF842A #97AF2A #55AF2A
triadic
#97AF2A #2A97AF #AF2A97
tetradic
#97AF2A #2AAF84 #422AAF #AF2A55
square
#97AF2A #2AAF84 #422AAF #AF2A55
split-complementary
#97AF2A #2A55AF #842AAF
monochromatic
#424C12 #6C7E1E #97AF2A #B8D244 #CBDE75

Accessibility & contrast

On white

2.48
#97AF2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.48
#97AF2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97AF2A
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97AF2A#FFFFFF#000000##000000
##97AF2A1.002.488.488.48
#FFFFFF2.481.0021.0021.00
#0000008.4821.001.001.00
##0000008.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA508
Deuteranopia (green-blind)
#B8A536
Tritanopia (blue-blind)
#A0A596
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #97af2a;
/* rgb */ color: rgb(151, 175, 42);
/* oklch */ color: oklch(71.2% 0.154 119.6);
Tailwind
colors: {
  custom: {
    50: '#b9c66e',
    500: '#97af2a',
    950: '#000000',
  },
}
SCSS
$custom: #97af2a;
$custom-light: #b9c66e;
$custom-dark: #000000;
JSON
{
  "hex": "#97af2a",
  "rgb": {
    "r": 151,
    "g": 175,
    "b": 42
  },
  "hsl": {
    "h": 70.827,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.7118,
    "c": 0.15386,
    "h": 119.6
  },
  "luminance": 0.37406
}

Semantic roles & 50–950 ramp

primary
#97AF2A
secondary
#7F6FC6
accent
#43E460
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #97AF2A

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

Preview Lab → · Contrast checker → · Palette generator →

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