#C7DC55#C7DC55

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

Color values

HEX#C7DC55
RGBrgb(199, 220, 85)
HSLhsl(69, 66%, 60%)
HSVhsv(69, 61%, 86%)
CMYKcmyk(9.5%, 0%, 61.4%, 13.7%)
CIE-LABlab(83.96, -25.12, 62.03)
CIE-LCHlch(83.96, 66.93, 112.04°)
OKLaboklab(85.31% -0.0736 0.142)
OKLCHoklch(85.31% 0.16 117.4)
XYZxyz(50.7870, 63.9849, 18.2674)
Luminance0.6398 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7DC55 #6A55DC
analogous
#DCAD55 #C7DC55 #84DC55
triadic
#C7DC55 #55C7DC #DC55C7
tetradic
#C7DC55 #55DCAD #6A55DC #DC5584
square
#C7DC55 #55DCAD #6A55DC #DC5584
split-complementary
#C7DC55 #5584DC #AD55DC
monochromatic
#85971F #B1CA2A #C7DC55 #D8E688 #E8F1BB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C7DC55#FFFFFF#000000##000000
##C7DC551.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)
#EAD145
Deuteranopia (green-blind)
#E8D25E
Tritanopia (blue-blind)
#D2D1C0
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #c7dc55;
/* rgb */ color: rgb(199, 220, 85);
/* oklch */ color: oklch(85.3% 0.160 117.4);
Tailwind
colors: {
  custom: {
    50: '#dbe68a',
    500: '#c7dc55',
    950: '#000000',
  },
}
SCSS
$custom: #c7dc55;
$custom-light: #dbe68a;
$custom-dark: #000000;
JSON
{
  "hex": "#c7dc55",
  "rgb": {
    "r": 199,
    "g": 220,
    "b": 85
  },
  "hsl": {
    "h": 69.333,
    "s": 65.854,
    "l": 59.804
  },
  "oklch": {
    "l": 0.85305,
    "c": 0.15995,
    "h": 117.4
  },
  "luminance": 0.63984
}

Semantic roles & 50–950 ramp

primary
#C7DC55
secondary
#49399C
accent
#3FE959
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15160C
muted
#84847F

Preview Lab

Preview with #C7DC55

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

Preview Lab → · Contrast checker → · Palette generator →

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