#C0CD42#C0CD42

#C0CD42 is a light, vivid yellow. Relative luminance 0.553; OKLCH L 81.3% C 0.159 H 114.6°. Best body text is #000000 at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#C0CD42
RGBrgb(192, 205, 66)
HSLhsl(66, 58%, 53%)
HSVhsv(66, 68%, 80%)
CMYKcmyk(6.3%, 0%, 67.8%, 19.6%)
CIE-LABlab(79.19, -21.91, 64.46)
CIE-LCHlch(79.19, 68.08, 108.77°)
OKLaboklab(81.31% -0.0661 0.1445)
OKLCHoklch(81.31% 0.159 114.6)
XYZxyz(44.5541, 55.2632, 13.4730)
Luminance0.5526 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0CD42 #4F42CD
analogous
#CD9542 #C0CD42 #7ACD42
triadic
#C0CD42 #42C0CD #CD42C0
tetradic
#C0CD42 #42CD95 #4F42CD #CD427A
square
#C0CD42 #42CD95 #4F42CD #CD427A
split-complementary
#C0CD42 #427ACD #9542CD
monochromatic
#6D761F #9AA62C #C0CD42 #D0DA72 #E0E7A3

Accessibility & contrast

On white

1.74
#C0CD42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.05
#C0CD42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0CD42
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0CD42#FFFFFF#000000##000000
##C0CD421.001.7412.0512.05
#FFFFFF1.741.0021.0021.00
#00000012.0521.001.001.00
##00000012.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC32D
Deuteranopia (green-blind)
#DBC54C
Tritanopia (blue-blind)
#CCC1B1
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #c0cd42;
/* rgb */ color: rgb(192, 205, 66);
/* oklch */ color: oklch(81.3% 0.159 114.6);
Tailwind
colors: {
  custom: {
    50: '#d6dc7e',
    500: '#c0cd42',
    950: '#000000',
  },
}
SCSS
$custom: #c0cd42;
$custom-light: #d6dc7e;
$custom-dark: #000000;
JSON
{
  "hex": "#c0cd42",
  "rgb": {
    "r": 192,
    "g": 205,
    "b": 66
  },
  "hsl": {
    "h": 65.612,
    "s": 58.159,
    "l": 53.137
  },
  "oklch": {
    "l": 0.8131,
    "c": 0.15894,
    "h": 114.6
  },
  "luminance": 0.55262
}

Semantic roles & 50–950 ramp

primary
#C0CD42
secondary
#3C357E
accent
#46E155
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #C0CD42

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

Preview Lab → · Contrast checker → · Palette generator →

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