#C5E97A#C5E97A

#C5E97A is a very light, vivid yellow-green. Relative luminance 0.716; OKLCH L 88.4% C 0.144 H 124.1°. Best body text is #000000 at 15.31:1 contrast (WCAG AA passes).

Color values

HEX#C5E97A
RGBrgb(197, 233, 122)
HSLhsl(79, 72%, 70%)
HSVhsv(79, 48%, 91%)
CMYKcmyk(15.5%, 0%, 47.6%, 8.6%)
CIE-LABlab(87.75, -28.85, 49.78)
CIE-LCHlch(87.75, 57.54, 120.09°)
OKLaboklab(88.44% -0.0807 0.1192)
OKLCHoklch(88.44% 0.144 124.1)
XYZxyz(55.6777, 71.5530, 29.2864)
Luminance0.7155 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5E97A #9E7AE9
analogous
#E9D57A #C5E97A #8EE97A
triadic
#C5E97A #7AC5E9 #E97AC5
tetradic
#C5E97A #7AE9D5 #9E7AE9 #E97A8E
square
#C5E97A #7AE9D5 #9E7AE9 #E97A8E
split-complementary
#C5E97A #7A8EE9 #D57AE9
monochromatic
#92C821 #AEE045 #C5E97A #DCF2AF #F3FAE3

Accessibility & contrast

On white

1.37
#C5E97A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.31
#C5E97A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5E97A
15.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5E97A#FFFFFF#000000##000000
##C5E97A1.001.3715.3115.31
#FFFFFF1.371.0021.0021.00
#00000015.3121.001.001.00
##00000015.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DD70
Deuteranopia (green-blind)
#EFDC80
Tritanopia (blue-blind)
#CCE0CF
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #c5e97a;
/* rgb */ color: rgb(197, 233, 122);
/* oklch */ color: oklch(88.4% 0.144 124.1);
Tailwind
colors: {
  custom: {
    50: '#d8f0a3',
    500: '#c5e97a',
    950: '#000000',
  },
}
SCSS
$custom: #c5e97a;
$custom-light: #d8f0a3;
$custom-dark: #000000;
JSON
{
  "hex": "#c5e97a",
  "rgb": {
    "r": 197,
    "g": 233,
    "b": 122
  },
  "hsl": {
    "h": 79.459,
    "s": 71.613,
    "l": 69.608
  },
  "oklch": {
    "l": 0.88441,
    "c": 0.14391,
    "h": 124.1
  },
  "luminance": 0.71553
}

Semantic roles & 50–950 ramp

primary
#C5E97A
secondary
#6E46C1
accent
#12D451
background
#FEFFFC
surface
#FCFEF6
border
#D5D6D0
text
#15160F
muted
#848580

Preview Lab

Preview with #C5E97A

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

Preview Lab → · Contrast checker → · Palette generator →

#C5E97A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva