#C0DF42#C0DF42

#C0DF42 is a very light, vivid yellow-green. Relative luminance 0.644; OKLCH L 85.3% C 0.179 H 120.1°. Best body text is #000000 at 13.88:1 contrast (WCAG AA passes).

Color values

HEX#C0DF42
RGBrgb(192, 223, 66)
HSLhsl(72, 71%, 57%)
HSVhsv(72, 70%, 87%)
CMYKcmyk(13.9%, 0%, 70.4%, 12.5%)
CIE-LABlab(84.16, -30.51, 69.42)
CIE-LCHlch(84.16, 75.83, 113.73°)
OKLaboklab(85.3% -0.09 0.155)
OKLCHoklch(85.3% 0.179 120.1)
XYZxyz(49.1101, 64.3753, 14.9917)
Luminance0.6438 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0DF42 #6142DF
analogous
#DFB042 #C0DF42 #72DF42
triadic
#C0DF42 #42C0DF #DF42C0
tetradic
#C0DF42 #42DFB0 #6142DF #DF4272
square
#C0DF42 #42DFB0 #6142DF #DF4272
split-complementary
#C0DF42 #4272DF #B042DF
monochromatic
#778E18 #A3C321 #C0DF42 #D1E876 #E3F1AB

Accessibility & contrast

On white

1.51
#C0DF42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.88
#C0DF42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0DF42
13.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0DF42#FFFFFF#000000##000000
##C0DF421.001.5113.8813.88
#FFFFFF1.511.0021.0021.00
#00000013.8821.001.001.00
##00000013.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD226
Deuteranopia (green-blind)
#E9D24F
Tritanopia (blue-blind)
#CBD3C0
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #c0df42;
/* rgb */ color: rgb(192, 223, 66);
/* oklch */ color: oklch(85.3% 0.179 120.1);
Tailwind
colors: {
  custom: {
    50: '#d7e980',
    500: '#c0df42',
    950: '#000000',
  },
}
SCSS
$custom: #c0df42;
$custom-light: #d7e980;
$custom-dark: #000000;
JSON
{
  "hex": "#c0df42",
  "rgb": {
    "r": 192,
    "g": 223,
    "b": 66
  },
  "hsl": {
    "h": 71.847,
    "s": 71.041,
    "l": 56.667
  },
  "oklch": {
    "l": 0.85303,
    "c": 0.17919,
    "h": 120.1
  },
  "luminance": 0.64375
}

Semantic roles & 50–950 ramp

primary
#C0DF42
secondary
#453294
accent
#3AEE5E
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15160B
muted
#84847E

Preview Lab

Preview with #C0DF42

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

Preview Lab → · Contrast checker → · Palette generator →

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