#97AC38#97AC38

#97AC38 is a light, vivid yellow-green. Relative luminance 0.364; OKLCH L 70.6% C 0.141 H 119.0°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#97AC38
RGBrgb(151, 172, 56)
HSLhsl(71, 51%, 45%)
HSVhsv(71, 67%, 67%)
CMYKcmyk(12.2%, 0%, 67.4%, 32.5%)
CIE-LABlab(66.80, -23.31, 54.77)
CIE-LCHlch(66.80, 59.52, 113.05°)
OKLaboklab(70.58% -0.0686 0.1236)
OKLCHoklch(70.58% 0.141 119)
XYZxyz(28.2293, 36.3701, 9.2736)
Luminance0.3637 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97AC38 #4D38AC
analogous
#AC8738 #97AC38 #5DAC38
triadic
#97AC38 #3897AC #AC3897
tetradic
#97AC38 #38AC87 #4D38AC #AC385D
square
#97AC38 #38AC87 #4D38AC #AC385D
split-complementary
#97AC38 #385DAC #8738AC
monochromatic
#46501A #6E7E29 #97AC38 #B4C958 #C9D887

Accessibility & contrast

On white

2.54
#97AC38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.27
#97AC38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97AC38
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97AC38#FFFFFF#000000##000000
##97AC381.002.548.278.27
#FFFFFF2.541.0021.0021.00
#0000008.2721.001.001.00
##0000008.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A227
Deuteranopia (green-blind)
#B5A341
Tritanopia (blue-blind)
#A0A395
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #97ac38;
/* rgb */ color: rgb(151, 172, 56);
/* oklch */ color: oklch(70.6% 0.141 119.0);
Tailwind
colors: {
  custom: {
    50: '#b8c475',
    500: '#97ac38',
    950: '#000000',
  },
}
SCSS
$custom: #97ac38;
$custom-light: #b8c475;
$custom-dark: #000000;
JSON
{
  "hex": "#97ac38",
  "rgb": {
    "r": 151,
    "g": 172,
    "b": 56
  },
  "hsl": {
    "h": 70.862,
    "s": 50.877,
    "l": 44.706
  },
  "oklch": {
    "l": 0.70581,
    "c": 0.14138,
    "h": 119
  },
  "luminance": 0.3637
}

Semantic roles & 50–950 ramp

primary
#97AC38
secondary
#8A7EC2
accent
#4DDA67
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#121209
muted
#81817B

Preview Lab

Preview with #97AC38

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

Preview Lab → · Contrast checker → · Palette generator →

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