#C0CC28#C0CC28

#C0CC28 is a light, vivid yellow. Relative luminance 0.545; OKLCH L 80.9% C 0.172 H 114.1°. Best body text is #000000 at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#C0CC28
RGBrgb(192, 204, 40)
HSLhsl(64, 67%, 48%)
HSVhsv(64, 80%, 80%)
CMYKcmyk(5.9%, 0%, 80.4%, 20%)
CIE-LABlab(78.78, -22.58, 72.48)
CIE-LCHlch(78.78, 75.92, 107.30°)
OKLaboklab(80.93% -0.0701 0.1571)
OKLCHoklch(80.93% 0.172 114.1)
XYZxyz(43.7155, 54.5463, 10.2327)
Luminance0.5454 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0CC28 #3428CC
analogous
#CC8628 #C0CC28 #6ECC28
triadic
#C0CC28 #28C0CC #CC28C0
tetradic
#C0CC28 #28CC86 #3428CC #CC286E
square
#C0CC28 #28CC86 #3428CC #CC286E
split-complementary
#C0CC28 #286ECC #8628CC
monochromatic
#606614 #90991E #C0CC28 #D3DD54 #E0E787

Accessibility & contrast

On white

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

On black

11.91
#C0CC28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0CC28
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0CC28#FFFFFF#000000##000000
##C0CC281.001.7611.9111.91
#FFFFFF1.761.0021.0021.00
#00000011.9121.001.001.00
##00000011.9121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c0cc28;
/* rgb */ color: rgb(192, 204, 40);
/* oklch */ color: oklch(80.9% 0.172 114.1);
Tailwind
colors: {
  custom: {
    50: '#d7db72',
    500: '#c0cc28',
    950: '#000000',
  },
}
SCSS
$custom: #c0cc28;
$custom-light: #d7db72;
$custom-dark: #000000;
JSON
{
  "hex": "#c0cc28",
  "rgb": {
    "r": 192,
    "g": 204,
    "b": 40
  },
  "hsl": {
    "h": 64.39,
    "s": 67.213,
    "l": 47.843
  },
  "oklch": {
    "l": 0.80934,
    "c": 0.17206,
    "h": 114.1
  },
  "luminance": 0.54545
}

Semantic roles & 50–950 ramp

primary
#C0CC28
secondary
#2E2870
accent
#3EEA4A
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C0CC28

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

Preview Lab → · Contrast checker → · Palette generator →

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