#97AF28#97AF28

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

Color values

HEX#97AF28
RGBrgb(151, 175, 40)
HSLhsl(71, 63%, 42%)
HSVhsv(71, 77%, 69%)
CMYKcmyk(13.7%, 0%, 77.1%, 31.4%)
CIE-LABlab(67.57, -25.65, 61.29)
CIE-LCHlch(67.57, 66.44, 112.71°)
OKLaboklab(71.17% -0.0765 0.1347)
OKLCHoklch(71.17% 0.155 119.6)
XYZxyz(28.4761, 37.3926, 7.7244)
Luminance0.3739 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97AF28 #4028AF
analogous
#AF8428 #97AF28 #53AF28
triadic
#97AF28 #2897AF #AF2897
tetradic
#97AF28 #28AF84 #4028AF #AF2853
square
#97AF28 #28AF84 #4028AF #AF2853
split-complementary
#97AF28 #2853AF #8428AF
monochromatic
#414B11 #6C7D1D #97AF28 #B9D441 #CCDF73

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #97af28;
/* rgb */ color: rgb(151, 175, 40);
/* oklch */ color: oklch(71.2% 0.155 119.6);
Tailwind
colors: {
  custom: {
    50: '#b9c66d',
    500: '#97af28',
    950: '#000000',
  },
}
SCSS
$custom: #97af28;
$custom-light: #b9c66d;
$custom-dark: #000000;
JSON
{
  "hex": "#97af28",
  "rgb": {
    "r": 151,
    "g": 175,
    "b": 40
  },
  "hsl": {
    "h": 70.667,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.71169,
    "c": 0.15493,
    "h": 119.6
  },
  "luminance": 0.37392
}

Semantic roles & 50–950 ramp

primary
#97AF28
secondary
#7D6DC6
accent
#42E65F
background
#FBFCF6
surface
#F7F8EC
border
#D0D1C7
text
#121308
muted
#81827B

Preview Lab

Preview with #97AF28

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

Preview Lab → · Contrast checker → · Palette generator →

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