#C0DC42#C0DC42

#C0DC42 is a very light, vivid yellow-green. Relative luminance 0.628; OKLCH L 84.6% C 0.176 H 119.3°. Best body text is #000000 at 13.56:1 contrast (WCAG AA passes).

Color values

HEX#C0DC42
RGBrgb(192, 220, 66)
HSLhsl(71, 69%, 56%)
HSVhsv(71, 70%, 86%)
CMYKcmyk(12.7%, 0%, 70%, 13.7%)
CIE-LABlab(83.33, -29.10, 68.60)
CIE-LCHlch(83.33, 74.51, 112.99°)
OKLaboklab(84.63% -0.0861 0.1532)
OKLCHoklch(84.63% 0.176 119.3)
XYZxyz(48.3157, 62.7865, 14.7269)
Luminance0.6279 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0DC42 #5E42DC
analogous
#DCAB42 #C0DC42 #73DC42
triadic
#C0DC42 #42C0DC #DC42C0
tetradic
#C0DC42 #42DCAB #5E42DC #DC4273
square
#C0DC42 #42DCAB #5E42DC #DC4273
split-complementary
#C0DC42 #4273DC #AB42DC
monochromatic
#768A1A #A2BE23 #C0DC42 #D1E676 #E2EFA9

Accessibility & contrast

On white

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

On black

13.56
#C0DC42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0DC42
13.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0DC42#FFFFFF#000000##000000
##C0DC421.001.5513.5613.56
#FFFFFF1.551.0021.0021.00
#00000013.5621.001.001.00
##00000013.5621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c0dc42;
/* rgb */ color: rgb(192, 220, 66);
/* oklch */ color: oklch(84.6% 0.176 119.3);
Tailwind
colors: {
  custom: {
    50: '#d6e680',
    500: '#c0dc42',
    950: '#000000',
  },
}
SCSS
$custom: #c0dc42;
$custom-light: #d6e680;
$custom-dark: #000000;
JSON
{
  "hex": "#c0dc42",
  "rgb": {
    "r": 192,
    "g": 220,
    "b": 66
  },
  "hsl": {
    "h": 70.909,
    "s": 68.75,
    "l": 56.078
  },
  "oklch": {
    "l": 0.84633,
    "c": 0.17576,
    "h": 119.3
  },
  "luminance": 0.62786
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C0DC42

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

Preview Lab → · Contrast checker → · Palette generator →

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