#C2DF97#C2DF97

#C2DF97 is a very light, moderate yellow-green. Relative luminance 0.665; OKLCH L 86.5% C 0.100 H 126.2°. Best body text is #000000 at 14.30:1 contrast (WCAG AA passes).

Color values

HEX#C2DF97
RGBrgb(194, 223, 151)
HSLhsl(84, 53%, 73%)
HSVhsv(84, 32%, 87%)
CMYKcmyk(13%, 0%, 32.3%, 12.5%)
CIE-LABlab(85.24, -21.70, 32.22)
CIE-LCHlch(85.24, 38.84, 123.96°)
OKLaboklab(86.51% -0.0588 0.0804)
OKLCHoklch(86.51% 0.1 126.2)
XYZxyz(54.2211, 66.4787, 39.2473)
Luminance0.6648 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2DF97 #B497DF
analogous
#DFD897 #C2DF97 #9EDF97
triadic
#C2DF97 #97C2DF #DF97C2
tetradic
#C2DF97 #97DFD8 #B497DF #DF979E
square
#C2DF97 #97DFD8 #B497DF #DF979E
split-complementary
#C2DF97 #979EDF #D897DF
monochromatic
#8BC03B #A7D168 #C2DF97 #DDEDC6 #F1F8E8

Accessibility & contrast

On white

1.47
#C2DF97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.30
#C2DF97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2DF97
14.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2DF97#FFFFFF#000000##000000
##C2DF971.001.4714.3014.30
#FFFFFF1.471.0021.0021.00
#00000014.3021.001.001.00
##00000014.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D692
Deuteranopia (green-blind)
#E2D59A
Tritanopia (blue-blind)
#C6D8CC
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #c2df97;
/* rgb */ color: rgb(194, 223, 151);
/* oklch */ color: oklch(86.5% 0.100 126.2);
Tailwind
colors: {
  custom: {
    50: '#d5e9b6',
    500: '#c2df97',
    950: '#000000',
  },
}
SCSS
$custom: #c2df97;
$custom-light: #d5e9b6;
$custom-dark: #000000;
JSON
{
  "hex": "#c2df97",
  "rgb": {
    "r": 194,
    "g": 223,
    "b": 151
  },
  "hsl": {
    "h": 84.167,
    "s": 52.941,
    "l": 73.333
  },
  "oklch": {
    "l": 0.86509,
    "c": 0.0996,
    "h": 126.2
  },
  "luminance": 0.66479
}

Semantic roles & 50–950 ramp

primary
#C2DF97
secondary
#8563B7
accent
#25C064
background
#FEFEFD
surface
#FBFCF8
border
#D4D5D1
text
#141611
muted
#838481

Preview Lab

Preview with #C2DF97

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

Preview Lab → · Contrast checker → · Palette generator →

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