#97CF42#97CF42

#97CF42 is a light, vivid yellow-green. Relative luminance 0.516; OKLCH L 78.9% C 0.178 H 128.7°. Best body text is #000000 at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#97CF42
RGBrgb(151, 207, 66)
HSLhsl(84, 59%, 54%)
HSVhsv(84, 68%, 81%)
CMYKcmyk(27.1%, 0%, 68.1%, 18.8%)
CIE-LABlab(77.04, -39.07, 61.40)
CIE-LCHlch(77.04, 72.78, 122.47°)
OKLaboklab(78.88% -0.1112 0.139)
OKLCHoklch(78.88% 0.178 128.7)
XYZxyz(36.0586, 51.5974, 13.2127)
Luminance0.5160 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97CF42 #7A42CF
analogous
#CFC142 #97CF42 #50CF42
triadic
#97CF42 #4297CF #CF4297
tetradic
#97CF42 #42CFC1 #7A42CF #CF4250
square
#97CF42 #42CFC1 #7A42CF #CF4250
split-complementary
#97CF42 #4250CF #C142CF
monochromatic
#55781F #77A92B #97CF42 #B2DB73 #CDE8A4

Accessibility & contrast

On white

1.86
#97CF42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.32
#97CF42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97CF42
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97CF42#FFFFFF#000000##000000
##97CF421.001.8611.3211.32
#FFFFFF1.861.0021.0021.00
#00000011.3221.001.001.00
##00000011.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C12D
Deuteranopia (green-blind)
#D1BD4E
Tritanopia (blue-blind)
#9CC6B3
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #97cf42;
/* rgb */ color: rgb(151, 207, 66);
/* oklch */ color: oklch(78.9% 0.178 128.7);
Tailwind
colors: {
  custom: {
    50: '#b9de7e',
    500: '#97cf42',
    950: '#000000',
  },
}
SCSS
$custom: #97cf42;
$custom-light: #b9de7e;
$custom-dark: #000000;
JSON
{
  "hex": "#97cf42",
  "rgb": {
    "r": 151,
    "g": 207,
    "b": 66
  },
  "hsl": {
    "h": 83.83,
    "s": 59.494,
    "l": 53.529
  },
  "oklch": {
    "l": 0.7888,
    "c": 0.178,
    "h": 128.7
  },
  "luminance": 0.51598
}

Semantic roles & 50–950 ramp

primary
#97CF42
secondary
#533580
accent
#45E384
background
#FDFEFB
surface
#F8FCF2
border
#D1D5CC
text
#12150A
muted
#82847D

Preview Lab

Preview with #97CF42

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

Preview Lab → · Contrast checker → · Palette generator →

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