#C8CC56#C8CC56

#C8CC56 is a light, vivid yellow. Relative luminance 0.561; OKLCH L 81.9% C 0.141 H 110.9°. Best body text is #000000 at 12.23:1 contrast (WCAG AA passes).

Color values

HEX#C8CC56
RGBrgb(200, 204, 86)
HSLhsl(62, 54%, 57%)
HSVhsv(62, 58%, 80%)
CMYKcmyk(2%, 0%, 57.8%, 20%)
CIE-LABlab(79.69, -16.82, 56.96)
CIE-LCHlch(79.69, 59.39, 106.45°)
OKLaboklab(81.91% -0.0502 0.1313)
OKLCHoklch(81.91% 0.141 110.9)
XYZxyz(47.0932, 56.1381, 17.1573)
Luminance0.5614 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8CC56 #5A56CC
analogous
#CC9556 #C8CC56 #8DCC56
triadic
#C8CC56 #56C8CC #CC56C8
tetradic
#C8CC56 #56CC95 #5A56CC #CC568D
square
#C8CC56 #56CC95 #5A56CC #CC568D
split-complementary
#C8CC56 #568DCC #9556CC
monochromatic
#7E8127 #ACB035 #C8CC56 #D7DA85 #E7E8B4

Accessibility & contrast

On white

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

On black

12.23
#C8CC56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8CC56
12.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8CC56#FFFFFF#000000##000000
##C8CC561.001.7212.2312.23
#FFFFFF1.721.0021.0021.00
#00000012.2321.001.001.00
##00000012.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC449
Deuteranopia (green-blind)
#DBC75D
Tritanopia (blue-blind)
#D5C1B3
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c8cc56;
/* rgb */ color: rgb(200, 204, 86);
/* oklch */ color: oklch(81.9% 0.141 110.9);
Tailwind
colors: {
  custom: {
    50: '#dbdb8a',
    500: '#c8cc56',
    950: '#000000',
  },
}
SCSS
$custom: #c8cc56;
$custom-light: #dbdb8a;
$custom-dark: #000000;
JSON
{
  "hex": "#c8cc56",
  "rgb": {
    "r": 200,
    "g": 204,
    "b": 86
  },
  "hsl": {
    "h": 62.034,
    "s": 53.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.81912,
    "c": 0.14061,
    "h": 110.9
  },
  "luminance": 0.56137
}

Semantic roles & 50–950 ramp

primary
#C8CC56
secondary
#403E88
accent
#4BDD50
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #C8CC56

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

Preview Lab → · Contrast checker → · Palette generator →

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