#97AF38#97AF38

#97AF38 is a light, vivid yellow-green. Relative luminance 0.375; OKLCH L 71.3% C 0.145 H 120.1°. Best body text is #000000 at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#97AF38
RGBrgb(151, 175, 56)
HSLhsl(72, 52%, 45%)
HSVhsv(72, 68%, 69%)
CMYKcmyk(13.7%, 0%, 68%, 31.4%)
CIE-LABlab(67.67, -24.78, 55.66)
CIE-LCHlch(67.67, 60.93, 114.00°)
OKLaboklab(71.28% -0.0727 0.1255)
OKLCHoklch(71.28% 0.145 120.1)
XYZxyz(28.8068, 37.5249, 9.4661)
Luminance0.3752 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97AF38 #5038AF
analogous
#AF8B38 #97AF38 #5BAF38
triadic
#97AF38 #3897AF #AF3897
tetradic
#97AF38 #38AF8B #5038AF #AF385B
square
#97AF38 #38AF8B #5038AF #AF385B
split-complementary
#97AF38 #385BAF #8B38AF
monochromatic
#47521A #6F8129 #97AF38 #B4CA5A #C9D988

Accessibility & contrast

On white

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

On black

8.50
#97AF38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97AF38
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97AF38#FFFFFF#000000##000000
##97AF381.002.478.508.50
#FFFFFF2.471.0021.0021.00
#0000008.5021.001.001.00
##0000008.5021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #97af38;
/* rgb */ color: rgb(151, 175, 56);
/* oklch */ color: oklch(71.3% 0.145 120.1);
Tailwind
colors: {
  custom: {
    50: '#b9c675',
    500: '#97af38',
    950: '#000000',
  },
}
SCSS
$custom: #97af38;
$custom-light: #b9c675;
$custom-dark: #000000;
JSON
{
  "hex": "#97af38",
  "rgb": {
    "r": 151,
    "g": 175,
    "b": 56
  },
  "hsl": {
    "h": 72.101,
    "s": 51.515,
    "l": 45.294
  },
  "oklch": {
    "l": 0.71279,
    "c": 0.14503,
    "h": 120.1
  },
  "luminance": 0.37525
}

Semantic roles & 50–950 ramp

primary
#97AF38
secondary
#8D80C3
accent
#4DDB69
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#121309
muted
#81827B

Preview Lab

Preview with #97AF38

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

Preview Lab → · Contrast checker → · Palette generator →

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