#C2DC42#C2DC42

#C2DC42 is a very light, vivid yellow-green. Relative luminance 0.630; OKLCH L 84.8% C 0.175 H 118.7°. Best body text is #000000 at 13.61:1 contrast (WCAG AA passes).

Color values

HEX#C2DC42
RGBrgb(194, 220, 66)
HSLhsl(70, 69%, 56%)
HSVhsv(70, 70%, 86%)
CMYKcmyk(11.8%, 0%, 70%, 13.7%)
CIE-LABlab(83.47, -28.30, 68.78)
CIE-LCHlch(83.47, 74.37, 112.37°)
OKLaboklab(84.78% -0.084 0.1536)
OKLCHoklch(84.78% 0.175 118.7)
XYZxyz(48.8257, 63.0495, 14.7508)
Luminance0.6305 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2DC42 #5C42DC
analogous
#DCA942 #C2DC42 #75DC42
triadic
#C2DC42 #42C2DC #DC42C2
tetradic
#C2DC42 #42DCA9 #5C42DC #DC4275
square
#C2DC42 #42DCA9 #5C42DC #DC4275
split-complementary
#C2DC42 #4275DC #A942DC
monochromatic
#778A1A #A4BE23 #C2DC42 #D3E676 #E3EFA9

Accessibility & contrast

On white

1.54
#C2DC42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.61
#C2DC42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2DC42
13.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2DC42#FFFFFF#000000##000000
##C2DC421.001.5413.6113.61
#FFFFFF1.541.0021.0021.00
#00000013.6121.001.001.00
##00000013.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD028
Deuteranopia (green-blind)
#E7D14E
Tritanopia (blue-blind)
#CDD0BE
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #c2dc42;
/* rgb */ color: rgb(194, 220, 66);
/* oklch */ color: oklch(84.8% 0.175 118.7);
Tailwind
colors: {
  custom: {
    50: '#d8e680',
    500: '#c2dc42',
    950: '#000000',
  },
}
SCSS
$custom: #c2dc42;
$custom-light: #d8e680;
$custom-dark: #000000;
JSON
{
  "hex": "#c2dc42",
  "rgb": {
    "r": 194,
    "g": 220,
    "b": 66
  },
  "hsl": {
    "h": 70.13,
    "s": 68.75,
    "l": 56.078
  },
  "oklch": {
    "l": 0.8478,
    "c": 0.17503,
    "h": 118.7
  },
  "luminance": 0.63049
}

Semantic roles & 50–950 ramp

primary
#C2DC42
secondary
#423290
accent
#3CEC5A
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15160B
muted
#84847E

Preview Lab

Preview with #C2DC42

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

Preview Lab → · Contrast checker → · Palette generator →

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