#C2DC52#C2DC52

#C2DC52 is a very light, vivid yellow-green. Relative luminance 0.633; OKLCH L 84.9% C 0.164 H 119.1°. Best body text is #000000 at 13.65:1 contrast (WCAG AA passes).

Color values

HEX#C2DC52
RGBrgb(194, 220, 82)
HSLhsl(71, 66%, 59%)
HSVhsv(71, 63%, 86%)
CMYKcmyk(11.8%, 0%, 62.7%, 13.7%)
CIE-LABlab(83.58, -27.32, 62.76)
CIE-LCHlch(83.58, 68.45, 113.52°)
OKLaboklab(84.91% -0.0798 0.1432)
OKLCHoklch(84.91% 0.164 119.1)
XYZxyz(49.3651, 63.2652, 17.5918)
Luminance0.6327 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2DC52 #6C52DC
analogous
#DCB152 #C2DC52 #7DDC52
triadic
#C2DC52 #52C2DC #DC52C2
tetradic
#C2DC52 #52DCB1 #6C52DC #DC527D
square
#C2DC52 #52DCB1 #6C52DC #DC527D
split-complementary
#C2DC52 #527DDC #B152DC
monochromatic
#7F951E #AAC829 #C2DC52 #D4E685 #E6F1B8

Accessibility & contrast

On white

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

On black

13.65
#C2DC52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2DC52
13.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2DC52#FFFFFF#000000##000000
##C2DC521.001.5413.6513.65
#FFFFFF1.541.0021.0021.00
#00000013.6521.001.001.00
##00000013.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D041
Deuteranopia (green-blind)
#E6D15C
Tritanopia (blue-blind)
#CDD1BF
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #c2dc52;
/* rgb */ color: rgb(194, 220, 82);
/* oklch */ color: oklch(84.9% 0.164 119.1);
Tailwind
colors: {
  custom: {
    50: '#d7e689',
    500: '#c2dc52',
    950: '#000000',
  },
}
SCSS
$custom: #c2dc52;
$custom-light: #d7e689;
$custom-dark: #000000;
JSON
{
  "hex": "#c2dc52",
  "rgb": {
    "r": 194,
    "g": 220,
    "b": 82
  },
  "hsl": {
    "h": 71.304,
    "s": 66.346,
    "l": 59.216
  },
  "oklch": {
    "l": 0.84907,
    "c": 0.16396,
    "h": 119.1
  },
  "luminance": 0.63265
}

Semantic roles & 50–950 ramp

primary
#C2DC52
secondary
#4B389A
accent
#3FE95F
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15160C
muted
#84847F

Preview Lab

Preview with #C2DC52

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

Preview Lab → · Contrast checker → · Palette generator →

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