#97AF2D#97AF2D

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

Color values

HEX#97AF2D
RGBrgb(151, 175, 45)
HSLhsl(71, 59%, 43%)
HSVhsv(71, 74%, 69%)
CMYKcmyk(13.7%, 0%, 74.3%, 31.4%)
CIE-LABlab(67.60, -25.41, 59.67)
CIE-LCHlch(67.60, 64.85, 113.07°)
OKLaboklab(71.2% -0.0754 0.1322)
OKLCHoklch(71.2% 0.152 119.7)
XYZxyz(28.5667, 37.4289, 8.2017)
Luminance0.3743 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97AF2D #452DAF
analogous
#AF862D #97AF2D #56AF2D
triadic
#97AF2D #2D97AF #AF2D97
tetradic
#97AF2D #2DAF86 #452DAF #AF2D56
square
#97AF2D #2DAF86 #452DAF #AF2D56
split-complementary
#97AF2D #2D56AF #862DAF
monochromatic
#434E14 #6D7E20 #97AF2D #B7D049 #CADD7A

Accessibility & contrast

On white

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

On black

8.49
#97AF2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97AF2D
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97AF2D#FFFFFF#000000##000000
##97AF2D1.002.478.498.49
#FFFFFF2.471.0021.0021.00
#0000008.4921.001.001.00
##0000008.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA511
Deuteranopia (green-blind)
#B8A538
Tritanopia (blue-blind)
#A0A596
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #97af2d;
/* rgb */ color: rgb(151, 175, 45);
/* oklch */ color: oklch(71.2% 0.152 119.7);
Tailwind
colors: {
  custom: {
    50: '#b9c670',
    500: '#97af2d',
    950: '#000000',
  },
}
SCSS
$custom: #97af2d;
$custom-light: #b9c670;
$custom-dark: #000000;
JSON
{
  "hex": "#97af2d",
  "rgb": {
    "r": 151,
    "g": 175,
    "b": 45
  },
  "hsl": {
    "h": 71.077,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.71199,
    "c": 0.15216,
    "h": 119.7
  },
  "luminance": 0.37429
}

Semantic roles & 50–950 ramp

primary
#97AF2D
secondary
#8273C5
accent
#46E262
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #97AF2D

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

Preview Lab → · Contrast checker → · Palette generator →

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