#97CF5F#97CF5F

#97CF5F is a light, vivid yellow-green. Relative luminance 0.520; OKLCH L 79.2% C 0.155 H 131.2°. Best body text is #000000 at 11.41:1 contrast (WCAG AA passes).

Color values

HEX#97CF5F
RGBrgb(151, 207, 95)
HSLhsl(90, 54%, 59%)
HSVhsv(90, 54%, 81%)
CMYKcmyk(27.1%, 0%, 54.1%, 18.8%)
CIE-LABlab(77.30, -36.61, 49.27)
CIE-LCHlch(77.30, 61.38, 126.61°)
OKLaboklab(79.17% -0.102 0.1165)
OKLCHoklch(79.17% 0.155 131.2)
XYZxyz(37.1404, 52.0302, 18.9103)
Luminance0.5203 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97CF5F #975FCF
analogous
#CFCF5F #97CF5F #5FCF5F
triadic
#97CF5F #5F97CF #CF5F97
tetradic
#97CF5F #5FCFCF #975FCF #CF5F5F
square
#97CF5F #5FCFCF #975FCF #CF5F5F
split-complementary
#97CF5F #5F5FCF #CF5FCF
monochromatic
#5A8A29 #78B938 #97CF5F #B6DD8E #D4EBBD

Accessibility & contrast

On white

1.84
#97CF5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.41
#97CF5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97CF5F
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97CF5F#FFFFFF#000000##000000
##97CF5F1.001.8411.4111.41
#FFFFFF1.841.0021.0021.00
#00000011.4121.001.001.00
##00000011.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C254
Deuteranopia (green-blind)
#CFBD66
Tritanopia (blue-blind)
#99C7B6
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #97cf5f;
/* rgb */ color: rgb(151, 207, 95);
/* oklch */ color: oklch(79.2% 0.155 131.2);
Tailwind
colors: {
  custom: {
    50: '#b8de8f',
    500: '#97cf5f',
    950: '#000000',
  },
}
SCSS
$custom: #97cf5f;
$custom-light: #b8de8f;
$custom-dark: #000000;
JSON
{
  "hex": "#97cf5f",
  "rgb": {
    "r": 151,
    "g": 207,
    "b": 95
  },
  "hsl": {
    "h": 90,
    "s": 53.846,
    "l": 59.216
  },
  "oklch": {
    "l": 0.79174,
    "c": 0.15481,
    "h": 131.2
  },
  "luminance": 0.52031
}

Semantic roles & 50–950 ramp

primary
#97CF5F
secondary
#694191
accent
#4BDD94
background
#FDFEFC
surface
#F8FCF4
border
#D1D5CE
text
#12150D
muted
#82847F

Preview Lab

Preview with #97CF5F

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

Preview Lab → · Contrast checker → · Palette generator →

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