#97C840#97C840

#97C840 is a light, vivid yellow-green. Relative luminance 0.483; OKLCH L 77.2% C 0.171 H 127.2°. Best body text is #000000 at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#97C840
RGBrgb(151, 200, 64)
HSLhsl(82, 55%, 52%)
HSVhsv(82, 68%, 78%)
CMYKcmyk(24.5%, 0%, 68%, 21.6%)
CIE-LABlab(74.99, -36.06, 60.05)
CIE-LCHlch(74.99, 70.05, 120.99°)
OKLaboklab(77.21% -0.1031 0.1359)
OKLCHoklch(77.21% 0.171 127.2)
XYZxyz(34.3422, 48.2574, 12.3548)
Luminance0.4826 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97C840 #7140C8
analogous
#C8B540 #97C840 #53C840
triadic
#97C840 #4097C8 #C84097
tetradic
#97C840 #40C8B5 #7140C8 #C84053
square
#97C840 #40C8B5 #7140C8 #C84053
split-complementary
#97C840 #4053C8 #B540C8
monochromatic
#526E20 #759D2D #97C840 #B1D670 #CBE39F

Accessibility & contrast

On white

1.97
#97C840 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.65
#97C840 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97C840
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97C840#FFFFFF#000000##000000
##97C8401.001.9710.6510.65
#FFFFFF1.971.0021.0021.00
#00000010.6521.001.001.00
##00000010.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BB2C
Deuteranopia (green-blind)
#CBB84B
Tritanopia (blue-blind)
#9DBFAD
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #97c840;
/* rgb */ color: rgb(151, 200, 64);
/* oklch */ color: oklch(77.2% 0.171 127.2);
Tailwind
colors: {
  custom: {
    50: '#b9d97c',
    500: '#97c840',
    950: '#000000',
  },
}
SCSS
$custom: #97c840;
$custom-light: #b9d97c;
$custom-dark: #000000;
JSON
{
  "hex": "#97c840",
  "rgb": {
    "r": 151,
    "g": 200,
    "b": 64
  },
  "hsl": {
    "h": 81.618,
    "s": 55.285,
    "l": 51.765
  },
  "oklch": {
    "l": 0.77211,
    "c": 0.17057,
    "h": 127.2
  },
  "luminance": 0.48258
}

Semantic roles & 50–950 ramp

primary
#97C840
secondary
#AA94D0
accent
#49DF7F
background
#FBFDF7
surface
#F7FAEE
border
#D0D3C9
text
#12140A
muted
#81837C

Preview Lab

Preview with #97C840

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

Preview Lab → · Contrast checker → · Palette generator →

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