#97AF29#97AF29

#97AF29 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#97AF29
RGBrgb(151, 175, 41)
HSLhsl(71, 62%, 42%)
HSVhsv(71, 77%, 69%)
CMYKcmyk(13.7%, 0%, 76.6%, 31.4%)
CIE-LABlab(67.58, -25.60, 60.98)
CIE-LCHlch(67.58, 66.14, 112.78°)
OKLaboklab(71.17% -0.0763 0.1342)
OKLCHoklch(71.17% 0.154 119.6)
XYZxyz(28.4933, 37.3995, 7.8152)
Luminance0.3740 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97AF29 #4129AF
analogous
#AF8429 #97AF29 #54AF29
triadic
#97AF29 #2997AF #AF2997
tetradic
#97AF29 #29AF84 #4129AF #AF2954
square
#97AF29 #29AF84 #4129AF #AF2954
split-complementary
#97AF29 #2954AF #8429AF
monochromatic
#414C12 #6C7D1D #97AF29 #B9D342 #CBDE74

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97AF29#FFFFFF#000000##000000
##97AF291.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)
#BAA505
Deuteranopia (green-blind)
#B8A535
Tritanopia (blue-blind)
#A0A596
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #97af29;
/* rgb */ color: rgb(151, 175, 41);
/* oklch */ color: oklch(71.2% 0.154 119.6);
Tailwind
colors: {
  custom: {
    50: '#b9c66e',
    500: '#97af29',
    950: '#000000',
  },
}
SCSS
$custom: #97af29;
$custom-light: #b9c66e;
$custom-dark: #000000;
JSON
{
  "hex": "#97af29",
  "rgb": {
    "r": 151,
    "g": 175,
    "b": 41
  },
  "hsl": {
    "h": 70.746,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.71174,
    "c": 0.1544,
    "h": 119.6
  },
  "luminance": 0.37399
}

Semantic roles & 50–950 ramp

primary
#97AF29
secondary
#7E6EC6
accent
#43E560
background
#FBFCF6
surface
#F7F8EC
border
#D0D1C7
text
#121308
muted
#81827B

Preview Lab

Preview with #97AF29

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

Preview Lab → · Contrast checker → · Palette generator →

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