#C0DD40#C0DD40

#C0DD40 is a very light, vivid yellow-green. Relative luminance 0.633; OKLCH L 84.8% C 0.178 H 119.6°. Best body text is #000000 at 13.66:1 contrast (WCAG AA passes).

Color values

HEX#C0DD40
RGBrgb(192, 221, 64)
HSLhsl(71, 70%, 56%)
HSVhsv(71, 71%, 87%)
CMYKcmyk(13.1%, 0%, 71%, 13.3%)
CIE-LABlab(83.59, -29.68, 69.56)
CIE-LCHlch(83.59, 75.63, 113.11°)
OKLaboklab(84.84% -0.0879 0.1549)
OKLCHoklch(84.84% 0.178 119.6)
XYZxyz(48.5210, 63.2898, 14.5095)
Luminance0.6329 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0DD40 #5D40DD
analogous
#DDAB40 #C0DD40 #71DD40
triadic
#C0DD40 #40C0DD #DD40C0
tetradic
#C0DD40 #40DDAB #5D40DD #DD4071
square
#C0DD40 #40DDAB #5D40DD #DD4071
split-complementary
#C0DD40 #4071DD #AB40DD
monochromatic
#758A19 #A1BE22 #C0DD40 #D1E674 #E2EFA8

Accessibility & contrast

On white

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

On black

13.66
#C0DD40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0DD40
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0DD40#FFFFFF#000000##000000
##C0DD401.001.5413.6613.66
#FFFFFF1.541.0021.0021.00
#00000013.6621.001.001.00
##00000013.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD023
Deuteranopia (green-blind)
#E8D14D
Tritanopia (blue-blind)
#CBD1BF
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #c0dd40;
/* rgb */ color: rgb(192, 221, 64);
/* oklch */ color: oklch(84.8% 0.178 119.6);
Tailwind
colors: {
  custom: {
    50: '#d7e77f',
    500: '#c0dd40',
    950: '#000000',
  },
}
SCSS
$custom: #c0dd40;
$custom-light: #d7e77f;
$custom-dark: #000000;
JSON
{
  "hex": "#c0dd40",
  "rgb": {
    "r": 192,
    "g": 221,
    "b": 64
  },
  "hsl": {
    "h": 71.083,
    "s": 69.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.84843,
    "c": 0.17812,
    "h": 119.6
  },
  "luminance": 0.6329
}

Semantic roles & 50–950 ramp

primary
#C0DD40
secondary
#433190
accent
#3BED5C
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15160B
muted
#84847E

Preview Lab

Preview with #C0DD40

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

Preview Lab → · Contrast checker → · Palette generator →

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