#C8DC51#C8DC51

#C8DC51 is a very light, vivid yellow. Relative luminance 0.641; OKLCH L 85.3% C 0.163 H 116.9°. Best body text is #000000 at 13.81:1 contrast (WCAG AA passes).

Color values

HEX#C8DC51
RGBrgb(200, 220, 81)
HSLhsl(69, 67%, 59%)
HSVhsv(69, 63%, 86%)
CMYKcmyk(9.1%, 0%, 63.2%, 13.7%)
CIE-LABlab(84.00, -24.99, 63.74)
CIE-LCHlch(84.00, 68.46, 111.41°)
OKLaboklab(85.35% -0.0737 0.145)
OKLCHoklch(85.35% 0.163 116.9)
XYZxyz(50.8989, 64.0604, 17.4665)
Luminance0.6406 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8DC51 #6551DC
analogous
#DCAB51 #C8DC51 #83DC51
triadic
#C8DC51 #51C8DC #DC51C8
tetradic
#C8DC51 #51DCAB #6551DC #DC5183
square
#C8DC51 #51DCAB #6551DC #DC5183
split-complementary
#C8DC51 #5183DC #AB51DC
monochromatic
#84951E #B1C828 #C8DC51 #D8E684 #E8F0B7

Accessibility & contrast

On white

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

On black

13.81
#C8DC51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8DC51
13.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8DC51#FFFFFF#000000##000000
##C8DC511.001.5213.8113.81
#FFFFFF1.521.0021.0021.00
#00000013.8121.001.001.00
##00000013.8121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c8dc51;
/* rgb */ color: rgb(200, 220, 81);
/* oklch */ color: oklch(85.3% 0.163 116.9);
Tailwind
colors: {
  custom: {
    50: '#dce688',
    500: '#c8dc51',
    950: '#000000',
  },
}
SCSS
$custom: #c8dc51;
$custom-light: #dce688;
$custom-dark: #000000;
JSON
{
  "hex": "#c8dc51",
  "rgb": {
    "r": 200,
    "g": 220,
    "b": 81
  },
  "hsl": {
    "h": 68.633,
    "s": 66.507,
    "l": 59.02
  },
  "oklch": {
    "l": 0.85345,
    "c": 0.1627,
    "h": 116.9
  },
  "luminance": 0.6406
}

Semantic roles & 50–950 ramp

primary
#C8DC51
secondary
#463899
accent
#3EE957
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15160C
muted
#84847F

Preview Lab

Preview with #C8DC51

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

Preview Lab → · Contrast checker → · Palette generator →

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