#CCD586#CCD586

#CCD586 is a very light, moderate yellow. Relative luminance 0.621; OKLCH L 84.8% C 0.102 H 113.9°. Best body text is #000000 at 13.43:1 contrast (WCAG AA passes).

Color values

HEX#CCD586
RGBrgb(204, 213, 134)
HSLhsl(67, 48%, 68%)
HSVhsv(67, 37%, 84%)
CMYKcmyk(4.2%, 0%, 37.1%, 16.5%)
CIE-LABlab(82.99, -15.15, 38.05)
CIE-LCHlch(82.99, 40.95, 111.71°)
OKLaboklab(84.81% -0.0414 0.0933)
OKLCHoklch(84.81% 0.102 113.9)
XYZxyz(52.9995, 62.1477, 31.7533)
Luminance0.6215 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD586 #8F86D5
analogous
#D5B686 #CCD586 #A5D586
triadic
#CCD586 #86CCD5 #D586CC
tetradic
#CCD586 #86D5B6 #8F86D5 #D586A5
square
#CCD586 #86D5B6 #8F86D5 #D586A5
split-complementary
#CCD586 #86A5D5 #B686D5
monochromatic
#9AA73A #B9C559 #CCD586 #DFE5B3 #F2F5E1

Accessibility & contrast

On white

1.56
#CCD586 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.43
#CCD586 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD586
13.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD586#FFFFFF#000000##000000
##CCD5861.001.5613.4313.43
#FFFFFF1.561.0021.0021.00
#00000013.4321.001.001.00
##00000013.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0CE80
Deuteranopia (green-blind)
#DFD08A
Tritanopia (blue-blind)
#D5CDC1
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #ccd586;
/* rgb */ color: rgb(204, 213, 134);
/* oklch */ color: oklch(84.8% 0.102 113.9);
Tailwind
colors: {
  custom: {
    50: '#dce1aa',
    500: '#ccd586',
    950: '#000000',
  },
}
SCSS
$custom: #ccd586;
$custom-light: #dce1aa;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd586",
  "rgb": {
    "r": 204,
    "g": 213,
    "b": 134
  },
  "hsl": {
    "h": 66.835,
    "s": 48.466,
    "l": 68.039
  },
  "oklch": {
    "l": 0.84805,
    "c": 0.10209,
    "h": 113.9
  },
  "luminance": 0.62147
}

Semantic roles & 50–950 ramp

primary
#CCD586
secondary
#5E54AB
accent
#2ABC3A
background
#FEFEFD
surface
#FCFCF7
border
#D5D5D0
text
#151510
muted
#848481

Preview Lab

Preview with #CCD586

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

Preview Lab → · Contrast checker → · Palette generator →

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