#CCD386#CCD386

#CCD386 is a very light, moderate yellow. Relative luminance 0.611; OKLCH L 84.4% C 0.100 H 112.8°. Best body text is #000000 at 13.23:1 contrast (WCAG AA passes).

Color values

HEX#CCD386
RGBrgb(204, 211, 134)
HSLhsl(65, 47%, 68%)
HSVhsv(65, 36%, 83%)
CMYKcmyk(3.3%, 0%, 36.5%, 17.3%)
CIE-LABlab(82.46, -14.14, 37.36)
CIE-LCHlch(82.46, 39.95, 110.74°)
OKLaboklab(84.38% -0.0385 0.0918)
OKLCHoklch(84.38% 0.1 112.8)
XYZxyz(52.4995, 61.1478, 31.5867)
Luminance0.6115 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD386 #8D86D3
analogous
#D3B486 #CCD386 #A5D386
triadic
#CCD386 #86CCD3 #D386CC
tetradic
#CCD386 #86D3B4 #8D86D3 #D386A5
square
#CCD386 #86D3B4 #8D86D3 #D386A5
split-complementary
#CCD386 #86A5D3 #B486D3
monochromatic
#9AA33B #B9C359 #CCD386 #DFE3B3 #F2F4E0

Accessibility & contrast

On white

1.59
#CCD386 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.23
#CCD386 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD386
13.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD386#FFFFFF#000000##000000
##CCD3861.001.5913.2313.23
#FFFFFF1.591.0021.0021.00
#00000013.2321.001.001.00
##00000013.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DECC80
Deuteranopia (green-blind)
#DECE89
Tritanopia (blue-blind)
#D5CBC0
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #ccd386;
/* rgb */ color: rgb(204, 211, 134);
/* oklch */ color: oklch(84.4% 0.100 112.8);
Tailwind
colors: {
  custom: {
    50: '#dce0aa',
    500: '#ccd386',
    950: '#000000',
  },
}
SCSS
$custom: #ccd386;
$custom-light: #dce0aa;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd386",
  "rgb": {
    "r": 204,
    "g": 211,
    "b": 134
  },
  "hsl": {
    "h": 65.455,
    "s": 46.667,
    "l": 67.647
  },
  "oklch": {
    "l": 0.8438,
    "c": 0.09951,
    "h": 112.8
  },
  "luminance": 0.61147
}

Semantic roles & 50–950 ramp

primary
#CCD386
secondary
#5D55A8
accent
#2CBA39
background
#FEFEFD
surface
#FCFCF7
border
#D5D5D0
text
#151510
muted
#848481

Preview Lab

Preview with #CCD386

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

Preview Lab → · Contrast checker → · Palette generator →

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