#C8CC50#C8CC50

#C8CC50 is a light, vivid yellow. Relative luminance 0.560; OKLCH L 81.9% C 0.146 H 111.0°. Best body text is #000000 at 12.21:1 contrast (WCAG AA passes).

Color values

HEX#C8CC50
RGBrgb(200, 204, 80)
HSLhsl(62, 55%, 56%)
HSVhsv(62, 61%, 80%)
CMYKcmyk(2%, 0%, 60.8%, 20%)
CIE-LABlab(79.64, -17.24, 59.49)
CIE-LCHlch(79.64, 61.94, 106.16°)
OKLaboklab(81.85% -0.0521 0.1359)
OKLCHoklch(81.85% 0.146 111)
XYZxyz(46.8616, 56.0454, 15.9371)
Luminance0.5604 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8CC50 #5450CC
analogous
#CC9250 #C8CC50 #8ACC50
triadic
#C8CC50 #50C8CC #CC50C8
tetradic
#C8CC50 #50CC92 #5450CC #CC508A
square
#C8CC50 #50CC92 #5450CC #CC508A
split-complementary
#C8CC50 #508ACC #9250CC
monochromatic
#7A7D24 #A9AD32 #C8CC50 #D7DA7F #E6E8AF

Accessibility & contrast

On white

1.72
#C8CC50 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.21
#C8CC50 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8CC50
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8CC50#FFFFFF#000000##000000
##C8CC501.001.7212.2112.21
#FFFFFF1.721.0021.0021.00
#00000012.2121.001.001.00
##00000012.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC441
Deuteranopia (green-blind)
#DCC758
Tritanopia (blue-blind)
#D5C0B2
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c8cc50;
/* rgb */ color: rgb(200, 204, 80);
/* oklch */ color: oklch(81.9% 0.146 111.0);
Tailwind
colors: {
  custom: {
    50: '#dbdb86',
    500: '#c8cc50',
    950: '#000000',
  },
}
SCSS
$custom: #c8cc50;
$custom-light: #dbdb86;
$custom-dark: #000000;
JSON
{
  "hex": "#c8cc50",
  "rgb": {
    "r": 200,
    "g": 204,
    "b": 80
  },
  "hsl": {
    "h": 61.935,
    "s": 54.867,
    "l": 55.686
  },
  "oklch": {
    "l": 0.81853,
    "c": 0.14555,
    "h": 111
  },
  "luminance": 0.56044
}

Semantic roles & 50–950 ramp

primary
#C8CC50
secondary
#3E3B85
accent
#4ADE4E
background
#FEFEFC
surface
#FCFBF3
border
#D5D4CD
text
#15140C
muted
#84837F

Preview Lab

Preview with #C8CC50

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

Preview Lab → · Contrast checker → · Palette generator →

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