#C7DC56#C7DC56

#C7DC56 is a very light, vivid yellow. Relative luminance 0.640; OKLCH L 85.3% C 0.159 H 117.4°. Best body text is #000000 at 13.80:1 contrast (WCAG AA passes).

Color values

HEX#C7DC56
RGBrgb(199, 220, 86)
HSLhsl(69, 66%, 60%)
HSVhsv(69, 61%, 86%)
CMYKcmyk(9.5%, 0%, 60.9%, 13.7%)
CIE-LABlab(83.97, -25.05, 61.63)
CIE-LCHlch(83.97, 66.52, 112.12°)
OKLaboklab(85.32% -0.0733 0.1412)
OKLCHoklch(85.32% 0.159 117.4)
XYZxyz(50.8270, 64.0009, 18.4781)
Luminance0.6400 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7DC56 #6B56DC
analogous
#DCAE56 #C7DC56 #84DC56
triadic
#C7DC56 #56C7DC #DC56C7
tetradic
#C7DC56 #56DCAE #6B56DC #DC5684
square
#C7DC56 #56DCAE #6B56DC #DC5684
split-complementary
#C7DC56 #5684DC #AE56DC
monochromatic
#859820 #B2CB2A #C7DC56 #D8E689 #E9F1BB

Accessibility & contrast

On white

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

On black

13.80
#C7DC56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7DC56
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7DC56#FFFFFF#000000##000000
##C7DC561.001.5213.8013.80
#FFFFFF1.521.0021.0021.00
#00000013.8021.001.001.00
##00000013.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD146
Deuteranopia (green-blind)
#E8D25F
Tritanopia (blue-blind)
#D2D1C0
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #c7dc56;
/* rgb */ color: rgb(199, 220, 86);
/* oklch */ color: oklch(85.3% 0.159 117.4);
Tailwind
colors: {
  custom: {
    50: '#dbe68b',
    500: '#c7dc56',
    950: '#000000',
  },
}
SCSS
$custom: #c7dc56;
$custom-light: #dbe68b;
$custom-dark: #000000;
JSON
{
  "hex": "#c7dc56",
  "rgb": {
    "r": 199,
    "g": 220,
    "b": 86
  },
  "hsl": {
    "h": 69.403,
    "s": 65.686,
    "l": 60
  },
  "oklch": {
    "l": 0.85315,
    "c": 0.15916,
    "h": 117.4
  },
  "luminance": 0.64
}

Semantic roles & 50–950 ramp

primary
#C7DC56
secondary
#493A9C
accent
#3FE95A
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15160C
muted
#84847F

Preview Lab

Preview with #C7DC56

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

Preview Lab → · Contrast checker → · Palette generator →

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