#C2DF40#C2DF40

#C2DF40 is a very light, vivid yellow-green. Relative luminance 0.646; OKLCH L 85.4% C 0.180 H 119.5°. Best body text is #000000 at 13.92:1 contrast (WCAG AA passes).

Color values

HEX#C2DF40
RGBrgb(194, 223, 64)
HSLhsl(71, 71%, 56%)
HSVhsv(71, 71%, 87%)
CMYKcmyk(13%, 0%, 71.3%, 12.5%)
CIE-LABlab(84.28, -29.82, 70.28)
CIE-LCHlch(84.28, 76.34, 112.99°)
OKLaboklab(85.43% -0.0884 0.1564)
OKLCHoklch(85.43% 0.18 119.5)
XYZxyz(49.5622, 64.6151, 14.7105)
Luminance0.6462 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2DF40 #5D40DF
analogous
#DFAC40 #C2DF40 #73DF40
triadic
#C2DF40 #40C2DF #DF40C2
tetradic
#C2DF40 #40DFAC #5D40DF #DF4073
square
#C2DF40 #40DFAC #5D40DF #DF4073
split-complementary
#C2DF40 #4073DF #AC40DF
monochromatic
#788D18 #A4C120 #C2DF40 #D3E874 #E3F1A9

Accessibility & contrast

On white

1.51
#C2DF40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.92
#C2DF40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2DF40
13.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2DF40#FFFFFF#000000##000000
##C2DF401.001.5113.9213.92
#FFFFFF1.511.0021.0021.00
#00000013.9221.001.001.00
##00000013.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD222
Deuteranopia (green-blind)
#EAD34D
Tritanopia (blue-blind)
#CDD3C0
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #c2df40;
/* rgb */ color: rgb(194, 223, 64);
/* oklch */ color: oklch(85.4% 0.180 119.5);
Tailwind
colors: {
  custom: {
    50: '#d8e97f',
    500: '#c2df40',
    950: '#000000',
  },
}
SCSS
$custom: #c2df40;
$custom-light: #d8e97f;
$custom-dark: #000000;
JSON
{
  "hex": "#c2df40",
  "rgb": {
    "r": 194,
    "g": 223,
    "b": 64
  },
  "hsl": {
    "h": 70.943,
    "s": 71.3,
    "l": 56.275
  },
  "oklch": {
    "l": 0.85433,
    "c": 0.17963,
    "h": 119.5
  },
  "luminance": 0.64615
}

Semantic roles & 50–950 ramp

primary
#C2DF40
secondary
#433192
accent
#3AEE5B
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15160B
muted
#84847E

Preview Lab

Preview with #C2DF40

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

Preview Lab → · Contrast checker → · Palette generator →

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