#C8CC52#C8CC52

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

Color values

HEX#C8CC52
RGBrgb(200, 204, 82)
HSLhsl(62, 54%, 56%)
HSVhsv(62, 60%, 80%)
CMYKcmyk(2%, 0%, 59.8%, 20%)
CIE-LABlab(79.66, -17.10, 58.66)
CIE-LCHlch(79.66, 61.10, 106.26°)
OKLaboklab(81.87% -0.0515 0.1344)
OKLCHoklch(81.87% 0.144 111)
XYZxyz(46.9366, 56.0754, 16.3321)
Luminance0.5607 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8CC52 #5652CC
analogous
#CC9352 #C8CC52 #8BCC52
triadic
#C8CC52 #52C8CC #CC52C8
tetradic
#C8CC52 #52CC93 #5652CC #CC528B
square
#C8CC52 #52CC93 #5652CC #CC528B
split-complementary
#C8CC52 #528BCC #9352CC
monochromatic
#7B7E25 #AAAE33 #C8CC52 #D7DA81 #E6E8B1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C8CC52#FFFFFF#000000##000000
##C8CC521.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)
#DBC444
Deuteranopia (green-blind)
#DCC759
Tritanopia (blue-blind)
#D5C0B2
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c8cc52;
/* rgb */ color: rgb(200, 204, 82);
/* oklch */ color: oklch(81.9% 0.144 111.0);
Tailwind
colors: {
  custom: {
    50: '#dbdb88',
    500: '#c8cc52',
    950: '#000000',
  },
}
SCSS
$custom: #c8cc52;
$custom-light: #dbdb88;
$custom-dark: #000000;
JSON
{
  "hex": "#c8cc52",
  "rgb": {
    "r": 200,
    "g": 204,
    "b": 82
  },
  "hsl": {
    "h": 61.967,
    "s": 54.464,
    "l": 56.078
  },
  "oklch": {
    "l": 0.81872,
    "c": 0.14395,
    "h": 111
  },
  "luminance": 0.56074
}

Semantic roles & 50–950 ramp

primary
#C8CC52
secondary
#3F3C86
accent
#4ADE4F
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #C8CC52

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

Preview Lab → · Contrast checker → · Palette generator →

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