#C0DA42#C0DA42

#C0DA42 is a very light, vivid yellow-green. Relative luminance 0.617; OKLCH L 84.2% C 0.173 H 118.8°. Best body text is #000000 at 13.35:1 contrast (WCAG AA passes).

Color values

HEX#C0DA42
RGBrgb(192, 218, 66)
HSLhsl(70, 67%, 56%)
HSVhsv(70, 70%, 85%)
CMYKcmyk(11.9%, 0%, 69.7%, 14.5%)
CIE-LABlab(82.78, -28.16, 68.05)
CIE-LCHlch(82.78, 73.64, 112.48°)
OKLaboklab(84.19% -0.0835 0.1521)
OKLCHoklch(84.19% 0.173 118.8)
XYZxyz(47.7940, 61.7430, 14.5530)
Luminance0.6174 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0DA42 #5C42DA
analogous
#DAA842 #C0DA42 #74DA42
triadic
#C0DA42 #42C0DA #DA42C0
tetradic
#C0DA42 #42DAA8 #5C42DA #DA4274
square
#C0DA42 #42DAA8 #5C42DA #DA4274
split-complementary
#C0DA42 #4274DA #A842DA
monochromatic
#75871A #A1BA24 #C0DA42 #D1E475 #E2EEA8

Accessibility & contrast

On white

1.57
#C0DA42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.35
#C0DA42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0DA42
13.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0DA42#FFFFFF#000000##000000
##C0DA421.001.5713.3513.35
#FFFFFF1.571.0021.0021.00
#00000013.3521.001.001.00
##00000013.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8CE28
Deuteranopia (green-blind)
#E5CF4E
Tritanopia (blue-blind)
#CBCEBC
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #c0da42;
/* rgb */ color: rgb(192, 218, 66);
/* oklch */ color: oklch(84.2% 0.173 118.8);
Tailwind
colors: {
  custom: {
    50: '#d6e580',
    500: '#c0da42',
    950: '#000000',
  },
}
SCSS
$custom: #c0da42;
$custom-light: #d6e580;
$custom-dark: #000000;
JSON
{
  "hex": "#c0da42",
  "rgb": {
    "r": 192,
    "g": 218,
    "b": 66
  },
  "hsl": {
    "h": 70.263,
    "s": 67.257,
    "l": 55.686
  },
  "oklch": {
    "l": 0.84188,
    "c": 0.17348,
    "h": 118.8
  },
  "luminance": 0.61743
}

Semantic roles & 50–950 ramp

primary
#C0DA42
secondary
#42338D
accent
#3EEA5B
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C0DA42

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

Preview Lab → · Contrast checker → · Palette generator →

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