#CCD186#CCD186

#CCD186 is a very light, moderate yellow. Relative luminance 0.602; OKLCH L 84.0% C 0.097 H 111.6°. Best body text is #000000 at 13.03:1 contrast (WCAG AA passes).

Color values

HEX#CCD186
RGBrgb(204, 209, 134)
HSLhsl(64, 45%, 67%)
HSVhsv(64, 36%, 82%)
CMYKcmyk(2.4%, 0%, 35.9%, 18%)
CIE-LABlab(81.93, -13.14, 36.67)
CIE-LCHlch(81.93, 38.95, 109.71°)
OKLaboklab(83.96% -0.0356 0.0902)
OKLCHoklch(83.96% 0.097 111.6)
XYZxyz(52.0058, 60.1603, 31.4221)
Luminance0.6016 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD186 #8B86D1
analogous
#D1B186 #CCD186 #A7D186
triadic
#CCD186 #86CCD1 #D186CC
tetradic
#CCD186 #86D1B1 #8B86D1 #D186A7
square
#CCD186 #86D1B1 #8B86D1 #D186A7
split-complementary
#CCD186 #86A7D1 #B186D1
monochromatic
#99A03D #B9C05A #CCD186 #DFE2B2 #F1F3DF

Accessibility & contrast

On white

1.61
#CCD186 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.03
#CCD186 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD186
13.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD186#FFFFFF#000000##000000
##CCD1861.001.6113.0313.03
#FFFFFF1.611.0021.0021.00
#00000013.0321.001.001.00
##00000013.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCCB81
Deuteranopia (green-blind)
#DCCD89
Tritanopia (blue-blind)
#D5C9BE
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #ccd186;
/* rgb */ color: rgb(204, 209, 134);
/* oklch */ color: oklch(84.0% 0.097 111.6);
Tailwind
colors: {
  custom: {
    50: '#dcdfaa',
    500: '#ccd186',
    950: '#000000',
  },
}
SCSS
$custom: #ccd186;
$custom-light: #dcdfaa;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd186",
  "rgb": {
    "r": 204,
    "g": 209,
    "b": 134
  },
  "hsl": {
    "h": 64,
    "s": 44.91,
    "l": 67.255
  },
  "oklch": {
    "l": 0.83956,
    "c": 0.09695,
    "h": 111.6
  },
  "luminance": 0.6016
}

Semantic roles & 50–950 ramp

primary
#CCD186
secondary
#5B56A5
accent
#2DB837
background
#FEFEFD
surface
#FCFCF7
border
#D5D5D0
text
#151510
muted
#848481

Preview Lab

Preview with #CCD186

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

Preview Lab → · Contrast checker → · Palette generator →

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