#97AF26#97AF26

#97AF26 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.48:1 contrast (WCAG AA passes).

Color values

HEX#97AF26
RGBrgb(151, 175, 38)
HSLhsl(71, 64%, 42%)
HSVhsv(71, 78%, 69%)
CMYKcmyk(13.7%, 0%, 78.3%, 31.4%)
CIE-LABlab(67.56, -25.74, 61.90)
CIE-LCHlch(67.56, 67.04, 112.58°)
OKLaboklab(71.16% -0.0769 0.1357)
OKLCHoklch(71.16% 0.156 119.5)
XYZxyz(28.4429, 37.3794, 7.5499)
Luminance0.3738 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97AF26 #3E26AF
analogous
#AF8326 #97AF26 #53AF26
triadic
#97AF26 #2697AF #AF2697
tetradic
#97AF26 #26AF83 #3E26AF #AF2653
square
#97AF26 #26AF83 #3E26AF #AF2653
split-complementary
#97AF26 #2653AF #8326AF
monochromatic
#404A10 #6C7D1B #97AF26 #BAD53D #CCE070

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97AF26#FFFFFF#000000##000000
##97AF261.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)
#BBA500
Deuteranopia (green-blind)
#B8A533
Tritanopia (blue-blind)
#A0A596
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #97af26;
/* rgb */ color: rgb(151, 175, 38);
/* oklch */ color: oklch(71.2% 0.156 119.5);
Tailwind
colors: {
  custom: {
    50: '#b9c66c',
    500: '#97af26',
    950: '#000000',
  },
}
SCSS
$custom: #97af26;
$custom-light: #b9c66c;
$custom-dark: #000000;
JSON
{
  "hex": "#97af26",
  "rgb": {
    "r": 151,
    "g": 175,
    "b": 38
  },
  "hsl": {
    "h": 70.511,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.71158,
    "c": 0.15595,
    "h": 119.5
  },
  "luminance": 0.37379
}

Semantic roles & 50–950 ramp

primary
#97AF26
secondary
#7A6AC7
accent
#40E75E
background
#FBFCF6
surface
#F7F8EC
border
#D0D1C7
text
#121308
muted
#81827B

Preview Lab

Preview with #97AF26

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

Preview Lab → · Contrast checker → · Palette generator →

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