#97AF2E#97AF2E

#97AF2E 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#97AF2E
RGBrgb(151, 175, 46)
HSLhsl(71, 58%, 43%)
HSVhsv(71, 74%, 69%)
CMYKcmyk(13.7%, 0%, 73.7%, 31.4%)
CIE-LABlab(67.60, -25.36, 59.33)
CIE-LCHlch(67.60, 64.52, 113.15°)
OKLaboklab(71.21% -0.0752 0.1316)
OKLCHoklch(71.21% 0.152 119.7)
XYZxyz(28.5862, 37.4366, 8.3043)
Luminance0.3744 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97AF2E #462EAF
analogous
#AF862E #97AF2E #56AF2E
triadic
#97AF2E #2E97AF #AF2E97
tetradic
#97AF2E #2EAF86 #462EAF #AF2E56
square
#97AF2E #2EAF86 #462EAF #AF2E56
split-complementary
#97AF2E #2E56AF #862EAF
monochromatic
#434E15 #6D7F21 #97AF2E #B7D04B #CADC7B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97AF2E#FFFFFF#000000##000000
##97AF2E1.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)
#BAA514
Deuteranopia (green-blind)
#B7A539
Tritanopia (blue-blind)
#A0A696
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #97af2e;
/* rgb */ color: rgb(151, 175, 46);
/* oklch */ color: oklch(71.2% 0.152 119.7);
Tailwind
colors: {
  custom: {
    50: '#b9c670',
    500: '#97af2e',
    950: '#000000',
  },
}
SCSS
$custom: #97af2e;
$custom-light: #b9c670;
$custom-dark: #000000;
JSON
{
  "hex": "#97af2e",
  "rgb": {
    "r": 151,
    "g": 175,
    "b": 46
  },
  "hsl": {
    "h": 71.163,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.71206,
    "c": 0.15157,
    "h": 119.7
  },
  "luminance": 0.37437
}

Semantic roles & 50–950 ramp

primary
#97AF2E
secondary
#8374C5
accent
#46E263
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #97AF2E

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

Preview Lab → · Contrast checker → · Palette generator →

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