#97AE2F#97AE2F

#97AE2F is a light, vivid yellow-green. Relative luminance 0.371; OKLCH L 71.0% C 0.150 H 119.4°. Best body text is #000000 at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#97AE2F
RGBrgb(151, 174, 47)
HSLhsl(71, 57%, 43%)
HSVhsv(71, 73%, 68%)
CMYKcmyk(13.2%, 0%, 73%, 31.8%)
CIE-LABlab(67.32, -24.82, 58.70)
CIE-LCHlch(67.32, 63.73, 112.92°)
OKLaboklab(70.98% -0.0736 0.1305)
OKLCHoklch(70.98% 0.15 119.4)
XYZxyz(28.4122, 37.0568, 8.3447)
Luminance0.3706 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97AE2F #462FAE
analogous
#AE852F #97AE2F #57AE2F
triadic
#97AE2F #2F97AE #AE2F97
tetradic
#97AE2F #2FAE85 #462FAE #AE2F57
square
#97AE2F #2FAE85 #462FAE #AE2F57
split-complementary
#97AE2F #2F57AE #852FAE
monochromatic
#434E15 #6D7E22 #97AE2F #B7CF4C #CADC7C

Accessibility & contrast

On white

2.50
#97AE2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.41
#97AE2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97AE2F
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97AE2F#FFFFFF#000000##000000
##97AE2F1.002.508.418.41
#FFFFFF2.501.0021.0021.00
#0000008.4121.001.001.00
##0000008.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A417
Deuteranopia (green-blind)
#B7A43A
Tritanopia (blue-blind)
#A0A595
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #97ae2f;
/* rgb */ color: rgb(151, 174, 47);
/* oklch */ color: oklch(71.0% 0.150 119.4);
Tailwind
colors: {
  custom: {
    50: '#b9c671',
    500: '#97ae2f',
    950: '#000000',
  },
}
SCSS
$custom: #97ae2f;
$custom-light: #b9c671;
$custom-dark: #000000;
JSON
{
  "hex": "#97ae2f",
  "rgb": {
    "r": 151,
    "g": 174,
    "b": 47
  },
  "hsl": {
    "h": 70.866,
    "s": 57.466,
    "l": 43.333
  },
  "oklch": {
    "l": 0.70979,
    "c": 0.14979,
    "h": 119.4
  },
  "luminance": 0.37057
}

Semantic roles & 50–950 ramp

primary
#97AE2F
secondary
#8375C4
accent
#47E163
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #97AE2F

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

Preview Lab → · Contrast checker → · Palette generator →

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