#C0CE42#C0CE42

#C0CE42 is a light, vivid yellow. Relative luminance 0.557; OKLCH L 81.5% C 0.160 H 114.9°. Best body text is #000000 at 12.15:1 contrast (WCAG AA passes).

Color values

HEX#C0CE42
RGBrgb(192, 206, 66)
HSLhsl(66, 59%, 53%)
HSVhsv(66, 68%, 81%)
CMYKcmyk(6.8%, 0%, 68%, 19.2%)
CIE-LABlab(79.47, -22.39, 64.74)
CIE-LCHlch(79.47, 68.50, 109.08°)
OKLaboklab(81.53% -0.0675 0.1451)
OKLCHoklch(81.53% 0.16 114.9)
XYZxyz(44.7941, 55.7432, 13.5530)
Luminance0.5574 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0CE42 #5042CE
analogous
#CE9642 #C0CE42 #7ACE42
triadic
#C0CE42 #42C0CE #CE42C0
tetradic
#C0CE42 #42CE96 #5042CE #CE427A
square
#C0CE42 #42CE96 #5042CE #CE427A
split-complementary
#C0CE42 #427ACE #9642CE
monochromatic
#6E771F #9BA72B #C0CE42 #D0DB73 #E0E7A3

Accessibility & contrast

On white

1.73
#C0CE42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.15
#C0CE42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0CE42
12.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0CE42#FFFFFF#000000##000000
##C0CE421.001.7312.1512.15
#FFFFFF1.731.0021.0021.00
#00000012.1521.001.001.00
##00000012.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC42C
Deuteranopia (green-blind)
#DCC64C
Tritanopia (blue-blind)
#CCC2B2
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c0ce42;
/* rgb */ color: rgb(192, 206, 66);
/* oklch */ color: oklch(81.5% 0.160 114.9);
Tailwind
colors: {
  custom: {
    50: '#d6dc7e',
    500: '#c0ce42',
    950: '#000000',
  },
}
SCSS
$custom: #c0ce42;
$custom-light: #d6dc7e;
$custom-dark: #000000;
JSON
{
  "hex": "#c0ce42",
  "rgb": {
    "r": 192,
    "g": 206,
    "b": 66
  },
  "hsl": {
    "h": 66,
    "s": 58.824,
    "l": 53.333
  },
  "oklch": {
    "l": 0.8153,
    "c": 0.16004,
    "h": 114.9
  },
  "luminance": 0.55742
}

Semantic roles & 50–950 ramp

primary
#C0CE42
secondary
#3C357F
accent
#46E255
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #C0CE42

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

Preview Lab → · Contrast checker → · Palette generator →

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