#C0CC2D#C0CC2D

#C0CC2D is a light, vivid yellow. Relative luminance 0.546; OKLCH L 81.0% C 0.170 H 114.1°. Best body text is #000000 at 11.92:1 contrast (WCAG AA passes).

Color values

HEX#C0CC2D
RGBrgb(192, 204, 45)
HSLhsl(65, 64%, 49%)
HSVhsv(65, 78%, 80%)
CMYKcmyk(5.9%, 0%, 77.9%, 20%)
CIE-LABlab(78.80, -22.40, 71.13)
CIE-LCHlch(78.80, 74.57, 107.48°)
OKLaboklab(80.96% -0.0693 0.1551)
OKLCHoklch(80.96% 0.17 114.1)
XYZxyz(43.8061, 54.5826, 10.7100)
Luminance0.5458 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0CC2D #392DCC
analogous
#CC892D #C0CC2D #71CC2D
triadic
#C0CC2D #2DC0CC #CC2DC0
tetradic
#C0CC2D #2DCC89 #392DCC #CC2D71
square
#C0CC2D #2DCC89 #392DCC #CC2D71
split-complementary
#C0CC2D #2D71CC #892DCC
monochromatic
#626817 #919A22 #C0CC2D #D1DB5B #DFE68D

Accessibility & contrast

On white

1.76
#C0CC2D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.92
#C0CC2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0CC2D
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0CC2D#FFFFFF#000000##000000
##C0CC2D1.001.7611.9211.92
#FFFFFF1.761.0021.0021.00
#00000011.9221.001.001.00
##00000011.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC200
Deuteranopia (green-blind)
#DBC43C
Tritanopia (blue-blind)
#CDC0AF
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #c0cc2d;
/* rgb */ color: rgb(192, 204, 45);
/* oklch */ color: oklch(81.0% 0.170 114.1);
Tailwind
colors: {
  custom: {
    50: '#d7db74',
    500: '#c0cc2d',
    950: '#000000',
  },
}
SCSS
$custom: #c0cc2d;
$custom-light: #d7db74;
$custom-dark: #000000;
JSON
{
  "hex": "#c0cc2d",
  "rgb": {
    "r": 192,
    "g": 204,
    "b": 45
  },
  "hsl": {
    "h": 64.528,
    "s": 63.855,
    "l": 48.824
  },
  "oklch": {
    "l": 0.80958,
    "c": 0.16985,
    "h": 114.1
  },
  "luminance": 0.54582
}

Semantic roles & 50–950 ramp

primary
#C0CC2D
secondary
#312B72
accent
#41E74D
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C0CC2D

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

Preview Lab → · Contrast checker → · Palette generator →

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