#C0D342#C0D342

#C0D342 is a very light, vivid yellow. Relative luminance 0.582; OKLCH L 82.6% C 0.166 H 116.6°. Best body text is #000000 at 12.64:1 contrast (WCAG AA passes).

Color values

HEX#C0D342
RGBrgb(192, 211, 66)
HSLhsl(68, 62%, 54%)
HSVhsv(68, 69%, 83%)
CMYKcmyk(9%, 0%, 68.7%, 17.3%)
CIE-LABlab(80.84, -24.82, 66.12)
CIE-LCHlch(80.84, 70.63, 110.57°)
OKLaboklab(82.64% -0.0742 0.148)
OKLCHoklch(82.64% 0.166 116.6)
XYZxyz(46.0169, 58.1889, 13.9606)
Luminance0.5819 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0D342 #5542D3
analogous
#D39E42 #C0D342 #78D342
triadic
#C0D342 #42C0D3 #D342C0
tetradic
#C0D342 #42D39E #5542D3 #D34278
square
#C0D342 #42D39E #5542D3 #D34278
split-complementary
#C0D342 #4278D3 #9E42D3
monochromatic
#717D1D #9DAF29 #C0D342 #D1DF74 #E1EAA5

Accessibility & contrast

On white

1.66
#C0D342 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.64
#C0D342 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0D342
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0D342#FFFFFF#000000##000000
##C0D3421.001.6612.6412.64
#FFFFFF1.661.0021.0021.00
#00000012.6421.001.001.00
##00000012.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C82B
Deuteranopia (green-blind)
#E0CA4D
Tritanopia (blue-blind)
#CCC7B6
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #c0d342;
/* rgb */ color: rgb(192, 211, 66);
/* oklch */ color: oklch(82.6% 0.166 116.6);
Tailwind
colors: {
  custom: {
    50: '#d6e07f',
    500: '#c0d342',
    950: '#000000',
  },
}
SCSS
$custom: #c0d342;
$custom-light: #d6e07f;
$custom-dark: #000000;
JSON
{
  "hex": "#c0d342",
  "rgb": {
    "r": 192,
    "g": 211,
    "b": 66
  },
  "hsl": {
    "h": 67.862,
    "s": 62.232,
    "l": 54.314
  },
  "oklch": {
    "l": 0.82635,
    "c": 0.16559,
    "h": 116.6
  },
  "luminance": 0.58188
}

Semantic roles & 50–950 ramp

primary
#C0D342
secondary
#3F3485
accent
#42E558
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C0D342

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

Preview Lab → · Contrast checker → · Palette generator →

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