#C0DB42#C0DB42

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

Color values

HEX#C0DB42
RGBrgb(192, 219, 66)
HSLhsl(71, 68%, 56%)
HSVhsv(71, 70%, 86%)
CMYKcmyk(12.3%, 0%, 69.9%, 14.1%)
CIE-LABlab(83.05, -28.63, 68.32)
CIE-LCHlch(83.05, 74.08, 112.74°)
OKLaboklab(84.41% -0.0848 0.1527)
OKLCHoklch(84.41% 0.175 119.1)
XYZxyz(48.0541, 62.2632, 14.6397)
Luminance0.6226 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0DB42 #5D42DB
analogous
#DBA942 #C0DB42 #73DB42
triadic
#C0DB42 #42C0DB #DB42C0
tetradic
#C0DB42 #42DBA9 #5D42DB #DB4273
square
#C0DB42 #42DBA9 #5D42DB #DB4273
split-complementary
#C0DB42 #4273DB #A942DB
monochromatic
#75891A #A1BC24 #C0DB42 #D1E575 #E2EFA9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C0DB42#FFFFFF#000000##000000
##C0DB421.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)
#E9CF28
Deuteranopia (green-blind)
#E6CF4E
Tritanopia (blue-blind)
#CBCFBD
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #c0db42;
/* rgb */ color: rgb(192, 219, 66);
/* oklch */ color: oklch(84.4% 0.175 119.1);
Tailwind
colors: {
  custom: {
    50: '#d6e680',
    500: '#c0db42',
    950: '#000000',
  },
}
SCSS
$custom: #c0db42;
$custom-light: #d6e680;
$custom-dark: #000000;
JSON
{
  "hex": "#c0db42",
  "rgb": {
    "r": 192,
    "g": 219,
    "b": 66
  },
  "hsl": {
    "h": 70.588,
    "s": 68,
    "l": 55.882
  },
  "oklch": {
    "l": 0.84411,
    "c": 0.17462,
    "h": 119.1
  },
  "luminance": 0.62263
}

Semantic roles & 50–950 ramp

primary
#C0DB42
secondary
#43338F
accent
#3DEB5C
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C0DB42

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

Preview Lab → · Contrast checker → · Palette generator →

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