#C0CC48#C0CC48

#C0CC48 is a light, vivid yellow. Relative luminance 0.549; OKLCH L 81.1% C 0.154 H 114.3°. Best body text is #000000 at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#C0CC48
RGBrgb(192, 204, 72)
HSLhsl(65, 56%, 54%)
HSVhsv(65, 65%, 80%)
CMYKcmyk(5.9%, 0%, 64.7%, 20%)
CIE-LABlab(78.96, -21.06, 61.89)
CIE-LCHlch(78.96, 65.37, 108.79°)
OKLaboklab(81.14% -0.0632 0.14)
OKLCHoklch(81.14% 0.154 114.3)
XYZxyz(44.5019, 54.8609, 14.3745)
Luminance0.5486 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0CC48 #5448CC
analogous
#CC9648 #C0CC48 #7ECC48
triadic
#C0CC48 #48C0CC #CC48C0
tetradic
#C0CC48 #48CC96 #5448CC #CC487E
square
#C0CC48 #48CC96 #5448CC #CC487E
split-complementary
#C0CC48 #487ECC #9648CC
monochromatic
#707821 #9DA82F #C0CC48 #D0D978 #E1E7A8

Accessibility & contrast

On white

1.75
#C0CC48 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.97
#C0CC48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0CC48
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0CC48#FFFFFF#000000##000000
##C0CC481.001.7511.9711.97
#FFFFFF1.751.0021.0021.00
#00000011.9721.001.001.00
##00000011.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC236
Deuteranopia (green-blind)
#DAC551
Tritanopia (blue-blind)
#CCC1B1
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #c0cc48;
/* rgb */ color: rgb(192, 204, 72);
/* oklch */ color: oklch(81.1% 0.154 114.3);
Tailwind
colors: {
  custom: {
    50: '#d6db82',
    500: '#c0cc48',
    950: '#000000',
  },
}
SCSS
$custom: #c0cc48;
$custom-light: #d6db82;
$custom-dark: #000000;
JSON
{
  "hex": "#c0cc48",
  "rgb": {
    "r": 192,
    "g": 204,
    "b": 72
  },
  "hsl": {
    "h": 65.455,
    "s": 56.41,
    "l": 54.118
  },
  "oklch": {
    "l": 0.81138,
    "c": 0.15362,
    "h": 114.3
  },
  "luminance": 0.5486
}

Semantic roles & 50–950 ramp

primary
#C0CC48
secondary
#3E3880
accent
#48E056
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C0CC48

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

Preview Lab → · Contrast checker → · Palette generator →

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