#97AF47#97AF47

#97AF47 is a light, vivid yellow-green. Relative luminance 0.377; OKLCH L 71.4% C 0.133 H 120.8°. Best body text is #000000 at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#97AF47
RGBrgb(151, 175, 71)
HSLhsl(74, 42%, 48%)
HSVhsv(74, 59%, 69%)
CMYKcmyk(13.7%, 0%, 59.4%, 31.4%)
CIE-LABlab(67.79, -23.69, 49.40)
CIE-LCHlch(67.79, 54.79, 115.62°)
OKLaboklab(71.42% -0.0682 0.1143)
OKLCHoklch(71.42% 0.133 120.8)
XYZxyz(29.2301, 37.6942, 11.6958)
Luminance0.3769 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97AF47 #5F47AF
analogous
#AF9347 #97AF47 #63AF47
triadic
#97AF47 #4797AF #AF4797
tetradic
#97AF47 #47AF93 #5F47AF #AF4763
square
#97AF47 #47AF93 #5F47AF #AF4763
split-complementary
#97AF47 #4763AF #9347AF
monochromatic
#4C5824 #718335 #97AF47 #B1C46F #C8D69A

Accessibility & contrast

On white

2.46
#97AF47 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.54
#97AF47 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97AF47
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97AF47#FFFFFF#000000##000000
##97AF471.002.468.548.54
#FFFFFF2.461.0021.0021.00
#0000008.5421.001.001.00
##0000008.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A53C
Deuteranopia (green-blind)
#B6A54E
Tritanopia (blue-blind)
#9FA799
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #97af47;
/* rgb */ color: rgb(151, 175, 71);
/* oklch */ color: oklch(71.4% 0.133 120.8);
Tailwind
colors: {
  custom: {
    50: '#b8c67e',
    500: '#97af47',
    950: '#000000',
  },
}
SCSS
$custom: #97af47;
$custom-light: #b8c67e;
$custom-dark: #000000;
JSON
{
  "hex": "#97af47",
  "rgb": {
    "r": 151,
    "g": 175,
    "b": 71
  },
  "hsl": {
    "h": 73.846,
    "s": 42.276,
    "l": 48.235
  },
  "oklch": {
    "l": 0.71421,
    "c": 0.13312,
    "h": 120.8
  },
  "luminance": 0.37694
}

Semantic roles & 50–950 ramp

primary
#97AF47
secondary
#9B8FC2
accent
#56D272
background
#FBFCF7
surface
#F6F8EE
border
#D0D1C9
text
#12130A
muted
#81827C

Preview Lab

Preview with #97AF47

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

Preview Lab → · Contrast checker → · Palette generator →

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