#C1DC42#C1DC42

#C1DC42 is a very light, vivid yellow-green. Relative luminance 0.629; OKLCH L 84.7% C 0.175 H 119.0°. Best body text is #000000 at 13.58:1 contrast (WCAG AA passes).

Color values

HEX#C1DC42
RGBrgb(193, 220, 66)
HSLhsl(71, 69%, 56%)
HSVhsv(71, 70%, 86%)
CMYKcmyk(12.3%, 0%, 70%, 13.7%)
CIE-LABlab(83.40, -28.70, 68.69)
CIE-LCHlch(83.40, 74.44, 112.68°)
OKLaboklab(84.71% -0.085 0.1534)
OKLCHoklch(84.71% 0.175 119)
XYZxyz(48.5698, 62.9175, 14.7388)
Luminance0.6292 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C1DC42 #5D42DC
analogous
#DCAA42 #C1DC42 #74DC42
triadic
#C1DC42 #42C1DC #DC42C1
tetradic
#C1DC42 #42DCAA #5D42DC #DC4274
square
#C1DC42 #42DCAA #5D42DC #DC4274
split-complementary
#C1DC42 #4274DC #AA42DC
monochromatic
#768A1A #A3BE23 #C1DC42 #D2E676 #E3EFA9

Accessibility & contrast

On white

1.55
#C1DC42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.58
#C1DC42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C1DC42
13.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C1DC42#FFFFFF#000000##000000
##C1DC421.001.5513.5813.58
#FFFFFF1.551.0021.0021.00
#00000013.5821.001.001.00
##00000013.5821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c1dc42;
/* rgb */ color: rgb(193, 220, 66);
/* oklch */ color: oklch(84.7% 0.175 119.0);
Tailwind
colors: {
  custom: {
    50: '#d7e680',
    500: '#c1dc42',
    950: '#000000',
  },
}
SCSS
$custom: #c1dc42;
$custom-light: #d7e680;
$custom-dark: #000000;
JSON
{
  "hex": "#c1dc42",
  "rgb": {
    "r": 193,
    "g": 220,
    "b": 66
  },
  "hsl": {
    "h": 70.519,
    "s": 68.75,
    "l": 56.078
  },
  "oklch": {
    "l": 0.84706,
    "c": 0.17539,
    "h": 119
  },
  "luminance": 0.62917
}

Semantic roles & 50–950 ramp

primary
#C1DC42
secondary
#433290
accent
#3CEC5B
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15160B
muted
#84847E

Preview Lab

Preview with #C1DC42

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

Preview Lab → · Contrast checker → · Palette generator →

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