#97AF40#97AF40

#97AF40 is a light, vivid yellow-green. Relative luminance 0.376; OKLCH L 71.4% C 0.139 H 120.4°. Best body text is #000000 at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#97AF40
RGBrgb(151, 175, 64)
HSLhsl(73, 46%, 47%)
HSVhsv(73, 63%, 69%)
CMYKcmyk(13.7%, 0%, 63.4%, 31.4%)
CIE-LABlab(67.73, -24.24, 52.42)
CIE-LCHlch(67.73, 57.75, 114.81°)
OKLaboklab(71.35% -0.0704 0.1198)
OKLCHoklch(71.35% 0.139 120.4)
XYZxyz(29.0183, 37.6095, 10.5801)
Luminance0.3761 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97AF40 #5840AF
analogous
#AF9040 #97AF40 #60AF40
triadic
#97AF40 #4097AF #AF4097
tetradic
#97AF40 #40AF90 #5840AF #AF4060
square
#97AF40 #40AF90 #5840AF #AF4060
split-complementary
#97AF40 #4060AF #9040AF
monochromatic
#4A551F #708230 #97AF40 #B2C765 #C8D792

Accessibility & contrast

On white

2.46
#97AF40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.52
#97AF40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97AF40
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97AF40#FFFFFF#000000##000000
##97AF401.002.468.528.52
#FFFFFF2.461.0021.0021.00
#0000008.5221.001.001.00
##0000008.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A532
Deuteranopia (green-blind)
#B7A548
Tritanopia (blue-blind)
#9FA698
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #97af40;
/* rgb */ color: rgb(151, 175, 64);
/* oklch */ color: oklch(71.4% 0.139 120.4);
Tailwind
colors: {
  custom: {
    50: '#b8c67a',
    500: '#97af40',
    950: '#000000',
  },
}
SCSS
$custom: #97af40;
$custom-light: #b8c67a;
$custom-dark: #000000;
JSON
{
  "hex": "#97af40",
  "rgb": {
    "r": 151,
    "g": 175,
    "b": 64
  },
  "hsl": {
    "h": 72.973,
    "s": 46.444,
    "l": 46.863
  },
  "oklch": {
    "l": 0.7135,
    "c": 0.13897,
    "h": 120.4
  },
  "luminance": 0.37609
}

Semantic roles & 50–950 ramp

primary
#97AF40
secondary
#9588C3
accent
#52D66E
background
#FBFCF7
surface
#F6F8EE
border
#D0D1C9
text
#121309
muted
#81827B

Preview Lab

Preview with #97AF40

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

Preview Lab → · Contrast checker → · Palette generator →

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