#C0CA42#C0CA42

#C0CA42 is a light, vivid yellow. Relative luminance 0.538; OKLCH L 80.7% C 0.156 H 113.5°. Best body text is #000000 at 11.77:1 contrast (WCAG AA passes).

Color values

HEX#C0CA42
RGBrgb(192, 202, 66)
HSLhsl(64, 56%, 53%)
HSVhsv(64, 67%, 79%)
CMYKcmyk(5%, 0%, 67.3%, 20.8%)
CIE-LABlab(78.37, -20.43, 63.63)
CIE-LCHlch(78.37, 66.83, 107.80°)
OKLaboklab(80.65% -0.062 0.1428)
OKLCHoklch(80.65% 0.156 113.5)
XYZxyz(43.8433, 53.8418, 13.2361)
Luminance0.5384 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0CA42 #4C42CA
analogous
#CA9042 #C0CA42 #7CCA42
triadic
#C0CA42 #42C0CA #CA42C0
tetradic
#C0CA42 #42CA90 #4C42CA #CA427C
square
#C0CA42 #42CA90 #4C42CA #CA427C
split-complementary
#C0CA42 #427CCA #9042CA
monochromatic
#6C7220 #99A22D #C0CA42 #D0D772 #E0E5A2

Accessibility & contrast

On white

1.78
#C0CA42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.77
#C0CA42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0CA42
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0CA42#FFFFFF#000000##000000
##C0CA421.001.7811.7711.77
#FFFFFF1.781.0021.0021.00
#00000011.7721.001.001.00
##00000011.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C02E
Deuteranopia (green-blind)
#D8C34C
Tritanopia (blue-blind)
#CCBEAF
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #c0ca42;
/* rgb */ color: rgb(192, 202, 66);
/* oklch */ color: oklch(80.7% 0.156 113.5);
Tailwind
colors: {
  custom: {
    50: '#d6da7e',
    500: '#c0ca42',
    950: '#000000',
  },
}
SCSS
$custom: #c0ca42;
$custom-light: #d6da7e;
$custom-dark: #000000;
JSON
{
  "hex": "#c0ca42",
  "rgb": {
    "r": 192,
    "g": 202,
    "b": 66
  },
  "hsl": {
    "h": 64.412,
    "s": 56.198,
    "l": 52.549
  },
  "oklch": {
    "l": 0.8065,
    "c": 0.15566,
    "h": 113.5
  },
  "luminance": 0.53841
}

Semantic roles & 50–950 ramp

primary
#C0CA42
secondary
#3B357B
accent
#48DF53
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C0CA42

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

Preview Lab → · Contrast checker → · Palette generator →

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