#97AF34#97AF34

#97AF34 is a light, vivid yellow-green. Relative luminance 0.375; OKLCH L 71.2% C 0.148 H 119.9°. Best body text is #000000 at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#97AF34
RGBrgb(151, 175, 52)
HSLhsl(72, 54%, 45%)
HSVhsv(72, 70%, 69%)
CMYKcmyk(13.7%, 0%, 70.3%, 31.4%)
CIE-LABlab(67.64, -25.03, 57.18)
CIE-LCHlch(67.64, 62.42, 113.64°)
OKLaboklab(71.25% -0.0737 0.1281)
OKLCHoklch(71.25% 0.148 119.9)
XYZxyz(28.7128, 37.4873, 8.9713)
Luminance0.3749 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97AF34 #4C34AF
analogous
#AF8934 #97AF34 #5AAF34
triadic
#97AF34 #3497AF #AF3497
tetradic
#97AF34 #34AF89 #4C34AF #AF345A
square
#97AF34 #34AF89 #4C34AF #AF345A
split-complementary
#97AF34 #345AAF #8934AF
monochromatic
#465118 #6E8026 #97AF34 #B5CC54 #C9DA83

Accessibility & contrast

On white

2.47
#97AF34 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.50
#97AF34 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97AF34
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97AF34#FFFFFF#000000##000000
##97AF341.002.478.508.50
#FFFFFF2.471.0021.0021.00
#0000008.5021.001.001.00
##0000008.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA520
Deuteranopia (green-blind)
#B7A53E
Tritanopia (blue-blind)
#A0A697
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #97af34;
/* rgb */ color: rgb(151, 175, 52);
/* oklch */ color: oklch(71.2% 0.148 119.9);
Tailwind
colors: {
  custom: {
    50: '#b9c673',
    500: '#97af34',
    950: '#000000',
  },
}
SCSS
$custom: #97af34;
$custom-light: #b9c673;
$custom-dark: #000000;
JSON
{
  "hex": "#97af34",
  "rgb": {
    "r": 151,
    "g": 175,
    "b": 52
  },
  "hsl": {
    "h": 71.707,
    "s": 54.185,
    "l": 44.51
  },
  "oklch": {
    "l": 0.71248,
    "c": 0.14779,
    "h": 119.9
  },
  "luminance": 0.37487
}

Semantic roles & 50–950 ramp

primary
#97AF34
secondary
#897BC4
accent
#4ADE67
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#121309
muted
#81827B

Preview Lab

Preview with #97AF34

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

Preview Lab → · Contrast checker → · Palette generator →

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