#97AF25#97AF25

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

Color values

HEX#97AF25
RGBrgb(151, 175, 37)
HSLhsl(70, 65%, 42%)
HSVhsv(70, 79%, 69%)
CMYKcmyk(13.7%, 0%, 78.9%, 31.4%)
CIE-LABlab(67.56, -25.78, 62.20)
CIE-LCHlch(67.56, 67.33, 112.51°)
OKLaboklab(71.15% -0.0771 0.1361)
OKLCHoklch(71.15% 0.156 119.5)
XYZxyz(28.4270, 37.3730, 7.4661)
Luminance0.3737 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97AF25 #3D25AF
analogous
#AF8225 #97AF25 #52AF25
triadic
#97AF25 #2597AF #AF2597
tetradic
#97AF25 #25AF82 #3D25AF #AF2552
square
#97AF25 #25AF82 #3D25AF #AF2552
split-complementary
#97AF25 #2552AF #8225AF
monochromatic
#404A10 #6B7C1A #97AF25 #BBD63C #CCE06E

Accessibility & contrast

On white

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

On black

8.47
#97AF25 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97AF25
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97AF25#FFFFFF#000000##000000
##97AF251.002.488.478.47
#FFFFFF2.481.0021.0021.00
#0000008.4721.001.001.00
##0000008.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA500
Deuteranopia (green-blind)
#B8A533
Tritanopia (blue-blind)
#A0A596
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #97af25;
/* rgb */ color: rgb(151, 175, 37);
/* oklch */ color: oklch(71.2% 0.156 119.5);
Tailwind
colors: {
  custom: {
    50: '#b9c66c',
    500: '#97af25',
    950: '#000000',
  },
}
SCSS
$custom: #97af25;
$custom-light: #b9c66c;
$custom-dark: #000000;
JSON
{
  "hex": "#97af25",
  "rgb": {
    "r": 151,
    "g": 175,
    "b": 37
  },
  "hsl": {
    "h": 70.435,
    "s": 65.094,
    "l": 41.569
  },
  "oklch": {
    "l": 0.71152,
    "c": 0.15645,
    "h": 119.5
  },
  "luminance": 0.37373
}

Semantic roles & 50–950 ramp

primary
#97AF25
secondary
#7969C7
accent
#40E85D
background
#FBFCF6
surface
#F7F8EC
border
#D0D1C7
text
#121308
muted
#81827B

Preview Lab

Preview with #97AF25

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

Preview Lab → · Contrast checker → · Palette generator →

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