#97C040#97C040

#97C040 is a light, vivid yellow-green. Relative luminance 0.446; OKLCH L 75.3% C 0.160 H 125.4°. Best body text is #000000 at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#97C040
RGBrgb(151, 192, 64)
HSLhsl(79, 50%, 50%)
HSVhsv(79, 67%, 75%)
CMYKcmyk(21.4%, 0%, 66.7%, 24.7%)
CIE-LABlab(72.66, -32.38, 57.63)
CIE-LCHlch(72.66, 66.11, 119.33°)
OKLaboklab(75.33% -0.093 0.1308)
OKLCHoklch(75.33% 0.16 125.4)
XYZxyz(32.5377, 44.6484, 11.7533)
Luminance0.4465 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97C040 #6940C0
analogous
#C0A940 #97C040 #57C040
triadic
#97C040 #4097C0 #C04097
tetradic
#97C040 #40C0A9 #6940C0 #C04057
square
#97C040 #40C0A9 #6940C0 #C04057
split-complementary
#97C040 #4057C0 #A940C0
monochromatic
#4F6421 #739230 #97C040 #B0CF6E #C9DE9C

Accessibility & contrast

On white

2.11
#97C040 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.93
#97C040 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97C040
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97C040#FFFFFF#000000##000000
##97C0401.002.119.939.93
#FFFFFF2.111.0021.0021.00
#0000009.9321.001.001.00
##0000009.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB42E
Deuteranopia (green-blind)
#C5B24A
Tritanopia (blue-blind)
#9DB7A6
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #97c040;
/* rgb */ color: rgb(151, 192, 64);
/* oklch */ color: oklch(75.3% 0.160 125.4);
Tailwind
colors: {
  custom: {
    50: '#b9d37b',
    500: '#97c040',
    950: '#000000',
  },
}
SCSS
$custom: #97c040;
$custom-light: #b9d37b;
$custom-dark: #000000;
JSON
{
  "hex": "#97c040",
  "rgb": {
    "r": 151,
    "g": 192,
    "b": 64
  },
  "hsl": {
    "h": 79.219,
    "s": 50.394,
    "l": 50.196
  },
  "oklch": {
    "l": 0.75326,
    "c": 0.16049,
    "h": 125.4
  },
  "luminance": 0.44649
}

Semantic roles & 50–950 ramp

primary
#97C040
secondary
#A491CB
accent
#4EDA7B
background
#FBFCF7
surface
#F6F9EE
border
#D0D2C9
text
#12140A
muted
#81827C

Preview Lab

Preview with #97C040

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

Preview Lab → · Contrast checker → · Palette generator →

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