#97AF3C#97AF3C

#97AF3C is a light, vivid yellow-green. Relative luminance 0.376; OKLCH L 71.3% C 0.142 H 120.2°. Best body text is #000000 at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#97AF3C
RGBrgb(151, 175, 60)
HSLhsl(73, 49%, 46%)
HSVhsv(73, 66%, 69%)
CMYKcmyk(13.7%, 0%, 65.7%, 31.4%)
CIE-LABlab(67.70, -24.52, 54.07)
CIE-LCHlch(67.70, 59.37, 114.39°)
OKLaboklab(71.31% -0.0716 0.1228)
OKLCHoklch(71.31% 0.142 120.2)
XYZxyz(28.9085, 37.5656, 10.0020)
Luminance0.3756 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97AF3C #543CAF
analogous
#AF8D3C #97AF3C #5DAF3C
triadic
#97AF3C #3C97AF #AF3C97
tetradic
#97AF3C #3CAF8D #543CAF #AF3C5D
square
#97AF3C #3CAF8D #543CAF #AF3C5D
split-complementary
#97AF3C #3C5DAF #8D3CAF
monochromatic
#48541D #70812C #97AF3C #B3C860 #C8D88D

Accessibility & contrast

On white

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

On black

8.51
#97AF3C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97AF3C
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97AF3C#FFFFFF#000000##000000
##97AF3C1.002.478.518.51
#FFFFFF2.471.0021.0021.00
#0000008.5121.001.001.00
##0000008.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA52C
Deuteranopia (green-blind)
#B7A544
Tritanopia (blue-blind)
#9FA697
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #97af3c;
/* rgb */ color: rgb(151, 175, 60);
/* oklch */ color: oklch(71.3% 0.142 120.2);
Tailwind
colors: {
  custom: {
    50: '#b8c678',
    500: '#97af3c',
    950: '#000000',
  },
}
SCSS
$custom: #97af3c;
$custom-light: #b8c678;
$custom-dark: #000000;
JSON
{
  "hex": "#97af3c",
  "rgb": {
    "r": 151,
    "g": 175,
    "b": 60
  },
  "hsl": {
    "h": 72.522,
    "s": 48.936,
    "l": 46.078
  },
  "oklch": {
    "l": 0.71313,
    "c": 0.14209,
    "h": 120.2
  },
  "luminance": 0.37565
}

Semantic roles & 50–950 ramp

primary
#97AF3C
secondary
#9184C3
accent
#4FD86C
background
#FBFCF7
surface
#F6F8EE
border
#D0D1C9
text
#121309
muted
#81827B

Preview Lab

Preview with #97AF3C

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

Preview Lab → · Contrast checker → · Palette generator →

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