#CCD286#CCD286

#CCD286 is a very light, moderate yellow. Relative luminance 0.607; OKLCH L 84.2% C 0.098 H 112.2°. Best body text is #000000 at 13.13:1 contrast (WCAG AA passes).

Color values

HEX#CCD286
RGBrgb(204, 210, 134)
HSLhsl(65, 46%, 67%)
HSVhsv(65, 36%, 82%)
CMYKcmyk(2.9%, 0%, 36.2%, 17.6%)
CIE-LABlab(82.19, -13.64, 37.01)
CIE-LCHlch(82.19, 39.45, 110.23°)
OKLaboklab(84.17% -0.0371 0.091)
OKLCHoklch(84.17% 0.098 112.2)
XYZxyz(52.2519, 60.6525, 31.5041)
Luminance0.6065 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD286 #8C86D2
analogous
#D2B286 #CCD286 #A6D286
triadic
#CCD286 #86CCD2 #D286CC
tetradic
#CCD286 #86D2B2 #8C86D2 #D286A6
square
#CCD286 #86D2B2 #8C86D2 #D286A6
split-complementary
#CCD286 #86A6D2 #B286D2
monochromatic
#9AA23C #B9C159 #CCD286 #DFE3B3 #F2F3DF

Accessibility & contrast

On white

1.60
#CCD286 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.13
#CCD286 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD286
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD286#FFFFFF#000000##000000
##CCD2861.001.6013.1313.13
#FFFFFF1.601.0021.0021.00
#00000013.1321.001.001.00
##00000013.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDCB80
Deuteranopia (green-blind)
#DDCD89
Tritanopia (blue-blind)
#D5CABF
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #ccd286;
/* rgb */ color: rgb(204, 210, 134);
/* oklch */ color: oklch(84.2% 0.098 112.2);
Tailwind
colors: {
  custom: {
    50: '#dcdfaa',
    500: '#ccd286',
    950: '#000000',
  },
}
SCSS
$custom: #ccd286;
$custom-light: #dcdfaa;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd286",
  "rgb": {
    "r": 204,
    "g": 210,
    "b": 134
  },
  "hsl": {
    "h": 64.737,
    "s": 45.783,
    "l": 67.451
  },
  "oklch": {
    "l": 0.84168,
    "c": 0.09822,
    "h": 112.2
  },
  "luminance": 0.60652
}

Semantic roles & 50–950 ramp

primary
#CCD286
secondary
#5C56A7
accent
#2DB938
background
#FEFEFD
surface
#FCFCF7
border
#D5D5D0
text
#151510
muted
#848481

Preview Lab

Preview with #CCD286

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

Preview Lab → · Contrast checker → · Palette generator →

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