#C8DC52#C8DC52

#C8DC52 is a very light, vivid yellow. Relative luminance 0.641; OKLCH L 85.4% C 0.162 H 117.0°. Best body text is #000000 at 13.82:1 contrast (WCAG AA passes).

Color values

HEX#C8DC52
RGBrgb(200, 220, 82)
HSLhsl(69, 66%, 59%)
HSVhsv(69, 63%, 86%)
CMYKcmyk(9.1%, 0%, 62.7%, 13.7%)
CIE-LABlab(84.01, -24.92, 63.34)
CIE-LCHlch(84.01, 68.07, 111.48°)
OKLaboklab(85.35% -0.0734 0.1443)
OKLCHoklch(85.35% 0.162 117)
XYZxyz(50.9366, 64.0755, 17.6655)
Luminance0.6408 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8DC52 #6652DC
analogous
#DCAB52 #C8DC52 #83DC52
triadic
#C8DC52 #52C8DC #DC52C8
tetradic
#C8DC52 #52DCAB #6652DC #DC5283
square
#C8DC52 #52DCAB #6652DC #DC5283
split-complementary
#C8DC52 #5283DC #AB52DC
monochromatic
#84951E #B1C829 #C8DC52 #D8E685 #E8F1B8

Accessibility & contrast

On white

1.52
#C8DC52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.82
#C8DC52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8DC52
13.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8DC52#FFFFFF#000000##000000
##C8DC521.001.5213.8213.82
#FFFFFF1.521.0021.0021.00
#00000013.8221.001.001.00
##00000013.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD141
Deuteranopia (green-blind)
#E8D25B
Tritanopia (blue-blind)
#D4D0BF
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #c8dc52;
/* rgb */ color: rgb(200, 220, 82);
/* oklch */ color: oklch(85.4% 0.162 117.0);
Tailwind
colors: {
  custom: {
    50: '#dce689',
    500: '#c8dc52',
    950: '#000000',
  },
}
SCSS
$custom: #c8dc52;
$custom-light: #dce689;
$custom-dark: #000000;
JSON
{
  "hex": "#c8dc52",
  "rgb": {
    "r": 200,
    "g": 220,
    "b": 82
  },
  "hsl": {
    "h": 68.696,
    "s": 66.346,
    "l": 59.216
  },
  "oklch": {
    "l": 0.85353,
    "c": 0.16194,
    "h": 117
  },
  "luminance": 0.64075
}

Semantic roles & 50–950 ramp

primary
#C8DC52
secondary
#46389A
accent
#3FE957
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15160C
muted
#84847F

Preview Lab

Preview with #C8DC52

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

Preview Lab → · Contrast checker → · Palette generator →

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