#C0CC45#C0CC45

#C0CC45 is a light, vivid yellow. Relative luminance 0.548; OKLCH L 81.1% C 0.156 H 114.2°. Best body text is #000000 at 11.96:1 contrast (WCAG AA passes).

Color values

HEX#C0CC45
RGBrgb(192, 204, 69)
HSLhsl(65, 57%, 54%)
HSVhsv(65, 66%, 80%)
CMYKcmyk(5.9%, 0%, 66.2%, 20%)
CIE-LABlab(78.94, -21.24, 63.05)
CIE-LCHlch(78.94, 66.53, 108.62°)
OKLaboklab(81.11% -0.064 0.142)
OKLCHoklch(81.11% 0.156 114.2)
XYZxyz(44.4064, 54.8227, 13.8716)
Luminance0.5482 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0CC45 #5145CC
analogous
#CC9445 #C0CC45 #7CCC45
triadic
#C0CC45 #45C0CC #CC45C0
tetradic
#C0CC45 #45CC94 #5145CC #CC457C
square
#C0CC45 #45CC94 #5145CC #CC457C
split-complementary
#C0CC45 #457CCC #9445CC
monochromatic
#6F7620 #9BA62E #C0CC45 #D0D975 #E1E6A5

Accessibility & contrast

On white

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

On black

11.96
#C0CC45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0CC45
11.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0CC45#FFFFFF#000000##000000
##C0CC451.001.7611.9611.96
#FFFFFF1.761.0021.0021.00
#00000011.9621.001.001.00
##00000011.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC232
Deuteranopia (green-blind)
#DAC54F
Tritanopia (blue-blind)
#CCC0B1
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #c0cc45;
/* rgb */ color: rgb(192, 204, 69);
/* oklch */ color: oklch(81.1% 0.156 114.2);
Tailwind
colors: {
  custom: {
    50: '#d6db80',
    500: '#c0cc45',
    950: '#000000',
  },
}
SCSS
$custom: #c0cc45;
$custom-light: #d6db80;
$custom-dark: #000000;
JSON
{
  "hex": "#c0cc45",
  "rgb": {
    "r": 192,
    "g": 204,
    "b": 69
  },
  "hsl": {
    "h": 65.333,
    "s": 56.962,
    "l": 53.529
  },
  "oklch": {
    "l": 0.81113,
    "c": 0.15577,
    "h": 114.2
  },
  "luminance": 0.54822
}

Semantic roles & 50–950 ramp

primary
#C0CC45
secondary
#3D367F
accent
#48E055
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C0CC45

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

Preview Lab → · Contrast checker → · Palette generator →

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