#97AF2C#97AF2C

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

Color values

HEX#97AF2C
RGBrgb(151, 175, 44)
HSLhsl(71, 60%, 43%)
HSVhsv(71, 75%, 69%)
CMYKcmyk(13.7%, 0%, 74.9%, 31.4%)
CIE-LABlab(67.59, -25.46, 60.00)
CIE-LCHlch(67.59, 65.18, 112.99°)
OKLaboklab(71.19% -0.0756 0.1327)
OKLCHoklch(71.19% 0.153 119.7)
XYZxyz(28.5477, 37.4212, 8.1015)
Luminance0.3742 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97AF2C #442CAF
analogous
#AF852C #97AF2C #56AF2C
triadic
#97AF2C #2C97AF #AF2C97
tetradic
#97AF2C #2CAF85 #442CAF #AF2C56
square
#97AF2C #2CAF85 #442CAF #AF2C56
split-complementary
#97AF2C #2C56AF #852CAF
monochromatic
#434D13 #6D7E20 #97AF2C #B8D147 #CBDD78

Accessibility & contrast

On white

2.48
#97AF2C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.48
#97AF2C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97AF2C
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97AF2C#FFFFFF#000000##000000
##97AF2C1.002.488.488.48
#FFFFFF2.481.0021.0021.00
#0000008.4821.001.001.00
##0000008.4821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #97af2c;
/* rgb */ color: rgb(151, 175, 44);
/* oklch */ color: oklch(71.2% 0.153 119.7);
Tailwind
colors: {
  custom: {
    50: '#b9c66f',
    500: '#97af2c',
    950: '#000000',
  },
}
SCSS
$custom: #97af2c;
$custom-light: #b9c66f;
$custom-dark: #000000;
JSON
{
  "hex": "#97af2c",
  "rgb": {
    "r": 151,
    "g": 175,
    "b": 44
  },
  "hsl": {
    "h": 70.992,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.71193,
    "c": 0.15274,
    "h": 119.7
  },
  "luminance": 0.37421
}

Semantic roles & 50–950 ramp

primary
#97AF2C
secondary
#8172C5
accent
#45E362
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #97AF2C

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

Preview Lab → · Contrast checker → · Palette generator →

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