#C0CA2D#C0CA2D

#C0CA2D is a light, vivid yellow. Relative luminance 0.536; OKLCH L 80.5% C 0.168 H 113.4°. Best body text is #000000 at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#C0CA2D
RGBrgb(192, 202, 45)
HSLhsl(64, 64%, 48%)
HSVhsv(64, 78%, 79%)
CMYKcmyk(5%, 0%, 77.7%, 20.8%)
CIE-LABlab(78.25, -21.42, 70.63)
CIE-LCHlch(78.25, 73.81, 106.87°)
OKLaboklab(80.52% -0.0666 0.154)
OKLCHoklch(80.52% 0.168 113.4)
XYZxyz(43.3338, 53.6379, 10.5525)
Luminance0.5364 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0CA2D #372DCA
analogous
#CA852D #C0CA2D #71CA2D
triadic
#C0CA2D #2DC0CA #CA2DC0
tetradic
#C0CA2D #2DCA85 #372DCA #CA2D71
square
#C0CA2D #2DCA85 #372DCA #CA2D71
split-complementary
#C0CA2D #2D71CA #852DCA
monochromatic
#616617 #909822 #C0CA2D #D2DA5A #E0E58C

Accessibility & contrast

On white

1.79
#C0CA2D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.73
#C0CA2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0CA2D
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0CA2D#FFFFFF#000000##000000
##C0CA2D1.001.7911.7311.73
#FFFFFF1.791.0021.0021.00
#00000011.7321.001.001.00
##00000011.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C000
Deuteranopia (green-blind)
#D9C33C
Tritanopia (blue-blind)
#CDBEAD
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #c0ca2d;
/* rgb */ color: rgb(192, 202, 45);
/* oklch */ color: oklch(80.5% 0.168 113.4);
Tailwind
colors: {
  custom: {
    50: '#d7d974',
    500: '#c0ca2d',
    950: '#000000',
  },
}
SCSS
$custom: #c0ca2d;
$custom-light: #d7d974;
$custom-dark: #000000;
JSON
{
  "hex": "#c0ca2d",
  "rgb": {
    "r": 192,
    "g": 202,
    "b": 45
  },
  "hsl": {
    "h": 63.822,
    "s": 63.563,
    "l": 48.431
  },
  "oklch": {
    "l": 0.80517,
    "c": 0.1678,
    "h": 113.4
  },
  "luminance": 0.53637
}

Semantic roles & 50–950 ramp

primary
#C0CA2D
secondary
#2F2B70
accent
#41E74C
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C0CA2D

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

Preview Lab → · Contrast checker → · Palette generator →

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