#C2DF42#C2DF42

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

Color values

HEX#C2DF42
RGBrgb(194, 223, 66)
HSLhsl(71, 71%, 57%)
HSVhsv(71, 70%, 87%)
CMYKcmyk(13%, 0%, 70.4%, 12.5%)
CIE-LABlab(84.30, -29.71, 69.60)
CIE-LCHlch(84.30, 75.67, 113.12°)
OKLaboklab(85.45% -0.0879 0.1553)
OKLCHoklch(85.45% 0.178 119.5)
XYZxyz(49.6201, 64.6383, 15.0156)
Luminance0.6464 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2DF42 #5F42DF
analogous
#DFAE42 #C2DF42 #74DF42
triadic
#C2DF42 #42C2DF #DF42C2
tetradic
#C2DF42 #42DFAE #5F42DF #DF4274
square
#C2DF42 #42DFAE #5F42DF #DF4274
split-complementary
#C2DF42 #4274DF #AE42DF
monochromatic
#798E18 #A5C321 #C2DF42 #D3E876 #E4F1AB

Accessibility & contrast

On white

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

On black

13.93
#C2DF42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2DF42
13.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2DF42#FFFFFF#000000##000000
##C2DF421.001.5113.9313.93
#FFFFFF1.511.0021.0021.00
#00000013.9321.001.001.00
##00000013.9321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c2df42;
/* rgb */ color: rgb(194, 223, 66);
/* oklch */ color: oklch(85.4% 0.178 119.5);
Tailwind
colors: {
  custom: {
    50: '#d8e980',
    500: '#c2df42',
    950: '#000000',
  },
}
SCSS
$custom: #c2df42;
$custom-light: #d8e980;
$custom-dark: #000000;
JSON
{
  "hex": "#c2df42",
  "rgb": {
    "r": 194,
    "g": 223,
    "b": 66
  },
  "hsl": {
    "h": 71.083,
    "s": 71.041,
    "l": 56.667
  },
  "oklch": {
    "l": 0.85447,
    "c": 0.17843,
    "h": 119.5
  },
  "luminance": 0.64638
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C2DF42

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

Preview Lab → · Contrast checker → · Palette generator →

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