#97AF48#97AF48

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

Color values

HEX#97AF48
RGBrgb(151, 175, 72)
HSLhsl(74, 42%, 48%)
HSVhsv(74, 59%, 69%)
CMYKcmyk(13.7%, 0%, 58.9%, 31.4%)
CIE-LABlab(67.80, -23.61, 48.96)
CIE-LCHlch(67.80, 54.35, 115.74°)
OKLaboklab(71.43% -0.0678 0.1135)
OKLCHoklch(71.43% 0.132 120.9)
XYZxyz(29.2625, 37.7072, 11.8663)
Luminance0.3771 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97AF48 #6048AF
analogous
#AF9348 #97AF48 #63AF48
triadic
#97AF48 #4897AF #AF4897
tetradic
#97AF48 #48AF93 #6048AF #AF4863
square
#97AF48 #48AF93 #6048AF #AF4863
split-complementary
#97AF48 #4863AF #9348AF
monochromatic
#4C5824 #728436 #97AF48 #B1C470 #C8D69B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##97AF48#FFFFFF#000000##000000
##97AF481.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)
#B9A63D
Deuteranopia (green-blind)
#B6A54F
Tritanopia (blue-blind)
#9EA799
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #97af48;
/* rgb */ color: rgb(151, 175, 72);
/* oklch */ color: oklch(71.4% 0.132 120.9);
Tailwind
colors: {
  custom: {
    50: '#b8c67f',
    500: '#97af48',
    950: '#000000',
  },
}
SCSS
$custom: #97af48;
$custom-light: #b8c67f;
$custom-dark: #000000;
JSON
{
  "hex": "#97af48",
  "rgb": {
    "r": 151,
    "g": 175,
    "b": 72
  },
  "hsl": {
    "h": 73.981,
    "s": 41.7,
    "l": 48.431
  },
  "oklch": {
    "l": 0.71432,
    "c": 0.13223,
    "h": 120.9
  },
  "luminance": 0.37707
}

Semantic roles & 50–950 ramp

primary
#97AF48
secondary
#9C90C2
accent
#56D273
background
#FBFCF7
surface
#F6F8EE
border
#D0D1C9
text
#12130A
muted
#81827C

Preview Lab

Preview with #97AF48

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

Preview Lab → · Contrast checker → · Palette generator →

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