#C2DF4F#C2DF4F

#C2DF4F is a very light, vivid yellow-green. Relative luminance 0.648; OKLCH L 85.5% C 0.170 H 119.9°. Best body text is #000000 at 13.96:1 contrast (WCAG AA passes).

Color values

HEX#C2DF4F
RGBrgb(194, 223, 79)
HSLhsl(72, 69%, 59%)
HSVhsv(72, 65%, 87%)
CMYKcmyk(13%, 0%, 64.6%, 12.5%)
CIE-LABlab(84.39, -28.94, 64.82)
CIE-LCHlch(84.39, 70.99, 114.06°)
OKLaboklab(85.55% -0.0846 0.1472)
OKLCHoklch(85.55% 0.17 119.9)
XYZxyz(50.0479, 64.8094, 17.2685)
Luminance0.6481 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2DF4F #6C4FDF
analogous
#DFB44F #C2DF4F #7ADF4F
triadic
#C2DF4F #4FC2DF #DF4FC2
tetradic
#C2DF4F #4FDFB4 #6C4FDF #DF4F7A
square
#C2DF4F #4FDFB4 #6C4FDF #DF4F7A
split-complementary
#C2DF4F #4F7ADF #B44FDF
monochromatic
#7F981C #AACC25 #C2DF4F #D4E883 #E6F2B7

Accessibility & contrast

On white

1.50
#C2DF4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.96
#C2DF4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2DF4F
13.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2DF4F#FFFFFF#000000##000000
##C2DF4F1.001.5013.9613.96
#FFFFFF1.501.0021.0021.00
#00000013.9621.001.001.00
##00000013.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD33C
Deuteranopia (green-blind)
#E9D359
Tritanopia (blue-blind)
#CCD4C2
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #c2df4f;
/* rgb */ color: rgb(194, 223, 79);
/* oklch */ color: oklch(85.5% 0.170 119.9);
Tailwind
colors: {
  custom: {
    50: '#d7e987',
    500: '#c2df4f',
    950: '#000000',
  },
}
SCSS
$custom: #c2df4f;
$custom-light: #d7e987;
$custom-dark: #000000;
JSON
{
  "hex": "#c2df4f",
  "rgb": {
    "r": 194,
    "g": 223,
    "b": 79
  },
  "hsl": {
    "h": 72.083,
    "s": 69.231,
    "l": 59.216
  },
  "oklch": {
    "l": 0.85546,
    "c": 0.16974,
    "h": 119.9
  },
  "luminance": 0.64809
}

Semantic roles & 50–950 ramp

primary
#C2DF4F
secondary
#4B369C
accent
#3CEC5F
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15160C
muted
#84847F

Preview Lab

Preview with #C2DF4F

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

Preview Lab → · Contrast checker → · Palette generator →

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