#C0DB40#C0DB40

#C0DB40 is a very light, vivid yellow-green. Relative luminance 0.622; OKLCH L 84.4% C 0.176 H 119.0°. Best body text is #000000 at 13.45:1 contrast (WCAG AA passes).

Color values

HEX#C0DB40
RGBrgb(192, 219, 64)
HSLhsl(70, 68%, 55%)
HSVhsv(70, 71%, 86%)
CMYKcmyk(12.3%, 0%, 70.8%, 14.1%)
CIE-LABlab(83.04, -28.74, 69.02)
CIE-LCHlch(83.04, 74.76, 112.61°)
OKLaboklab(84.4% -0.0853 0.1538)
OKLCHoklch(84.4% 0.176 119)
XYZxyz(47.9961, 62.2400, 14.3345)
Luminance0.6224 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0DB40 #5B40DB
analogous
#DBA940 #C0DB40 #72DB40
triadic
#C0DB40 #40C0DB #DB40C0
tetradic
#C0DB40 #40DBA9 #5B40DB #DB4072
square
#C0DB40 #40DBA9 #5B40DB #DB4072
split-complementary
#C0DB40 #4072DB #A940DB
monochromatic
#748719 #A0BB23 #C0DB40 #D1E573 #E2EEA7

Accessibility & contrast

On white

1.56
#C0DB40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.45
#C0DB40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0DB40
13.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0DB40#FFFFFF#000000##000000
##C0DB401.001.5613.4513.45
#FFFFFF1.561.0021.0021.00
#00000013.4521.001.001.00
##00000013.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9CF24
Deuteranopia (green-blind)
#E6CF4D
Tritanopia (blue-blind)
#CBCFBD
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #c0db40;
/* rgb */ color: rgb(192, 219, 64);
/* oklch */ color: oklch(84.4% 0.176 119.0);
Tailwind
colors: {
  custom: {
    50: '#d7e67f',
    500: '#c0db40',
    950: '#000000',
  },
}
SCSS
$custom: #c0db40;
$custom-light: #d7e67f;
$custom-dark: #000000;
JSON
{
  "hex": "#c0db40",
  "rgb": {
    "r": 192,
    "g": 219,
    "b": 64
  },
  "hsl": {
    "h": 70.452,
    "s": 68.282,
    "l": 55.49
  },
  "oklch": {
    "l": 0.84397,
    "c": 0.17586,
    "h": 119
  },
  "luminance": 0.6224
}

Semantic roles & 50–950 ramp

primary
#C0DB40
secondary
#42328D
accent
#3DEB5B
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C0DB40

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

Preview Lab → · Contrast checker → · Palette generator →

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