#97AF54#97AF54

#97AF54 is a light, vivid yellow-green. Relative luminance 0.379; OKLCH L 71.6% C 0.121 H 121.7°. Best body text is #000000 at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#97AF54
RGBrgb(151, 175, 84)
HSLhsl(76, 36%, 51%)
HSVhsv(76, 52%, 69%)
CMYKcmyk(13.7%, 0%, 52%, 31.4%)
CIE-LABlab(67.93, -22.51, 43.45)
CIE-LCHlch(67.93, 48.93, 117.39°)
OKLaboklab(71.58% -0.0636 0.1028)
OKLCHoklch(71.58% 0.121 121.7)
XYZxyz(29.6929, 37.8793, 14.1329)
Luminance0.3788 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97AF54 #6C54AF
analogous
#AF9954 #97AF54 #69AF54
triadic
#97AF54 #5497AF #AF5497
tetradic
#97AF54 #54AF99 #6C54AF #AF5469
square
#97AF54 #54AF99 #6C54AF #AF5469
split-complementary
#97AF54 #5469AF #9954AF
monochromatic
#505D2C #74873F #97AF54 #B0C37E #CAD6A7

Accessibility & contrast

On white

2.45
#97AF54 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.58
#97AF54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97AF54
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97AF54#FFFFFF#000000##000000
##97AF541.002.458.588.58
#FFFFFF2.451.0021.0021.00
#0000008.5821.001.001.00
##0000008.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A64C
Deuteranopia (green-blind)
#B5A659
Tritanopia (blue-blind)
#9EA79A
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #97af54;
/* rgb */ color: rgb(151, 175, 84);
/* oklch */ color: oklch(71.6% 0.121 121.7);
Tailwind
colors: {
  custom: {
    50: '#b7c786',
    500: '#97af54',
    950: '#000000',
  },
}
SCSS
$custom: #97af54;
$custom-light: #b7c786;
$custom-dark: #000000;
JSON
{
  "hex": "#97af54",
  "rgb": {
    "r": 151,
    "g": 175,
    "b": 84
  },
  "hsl": {
    "h": 75.824,
    "s": 36.255,
    "l": 50.784
  },
  "oklch": {
    "l": 0.71575,
    "c": 0.12093,
    "h": 121.7
  },
  "luminance": 0.37879
}

Semantic roles & 50–950 ramp

primary
#97AF54
secondary
#A69BC4
accent
#5CCC79
background
#FBFCF8
surface
#F6F8F0
border
#D0D1CB
text
#11130B
muted
#80827C

Preview Lab

Preview with #97AF54

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

Preview Lab → · Contrast checker → · Palette generator →

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