#CCD86B#CCD86B

#CCD86B is a very light, vivid yellow. Relative luminance 0.630; OKLCH L 85.1% C 0.134 H 114.5°. Best body text is #000000 at 13.60:1 contrast (WCAG AA passes).

Color values

HEX#CCD86B
RGBrgb(204, 216, 107)
HSLhsl(67, 58%, 63%)
HSVhsv(67, 50%, 85%)
CMYKcmyk(5.6%, 0%, 50.5%, 15.3%)
CIE-LABlab(83.45, -19.42, 51.79)
CIE-LCHlch(83.45, 55.32, 110.56°)
OKLaboklab(85.06% -0.0557 0.1224)
OKLCHoklch(85.06% 0.134 114.5)
XYZxyz(52.1124, 63.0114, 23.3242)
Luminance0.6301 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD86B #776BD8
analogous
#D8AE6B #CCD86B #95D86B
triadic
#CCD86B #6BCCD8 #D86BCC
tetradic
#CCD86B #6BD8AE #776BD8 #D86B95
square
#CCD86B #6BD8AE #776BD8 #D86B95
split-complementary
#CCD86B #6B95D8 #AE6BD8
monochromatic
#929F2A #BBCB3B #CCD86B #DDE59B #EDF2CC

Accessibility & contrast

On white

1.54
#CCD86B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.60
#CCD86B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD86B
13.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD86B#FFFFFF#000000##000000
##CCD86B1.001.5413.6013.60
#FFFFFF1.541.0021.0021.00
#00000013.6021.001.001.00
##00000013.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CF61
Deuteranopia (green-blind)
#E4D171
Tritanopia (blue-blind)
#D7CDBF
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #ccd86b;
/* rgb */ color: rgb(204, 216, 107);
/* oklch */ color: oklch(85.1% 0.134 114.5);
Tailwind
colors: {
  custom: {
    50: '#dde498',
    500: '#ccd86b',
    950: '#000000',
  },
}
SCSS
$custom: #ccd86b;
$custom-light: #dde498;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd86b",
  "rgb": {
    "r": 204,
    "g": 216,
    "b": 107
  },
  "hsl": {
    "h": 66.606,
    "s": 58.289,
    "l": 63.333
  },
  "oklch": {
    "l": 0.85056,
    "c": 0.13444,
    "h": 114.5
  },
  "luminance": 0.63011
}

Semantic roles & 50–950 ramp

primary
#CCD86B
secondary
#4F44A3
accent
#20C632
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #CCD86B

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

Preview Lab → · Contrast checker → · Palette generator →

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