#CCD86F#CCD86F

#CCD86F is a very light, vivid yellow. Relative luminance 0.631; OKLCH L 85.1% C 0.131 H 114.6°. Best body text is #000000 at 13.62:1 contrast (WCAG AA passes).

Color values

HEX#CCD86F
RGBrgb(204, 216, 111)
HSLhsl(67, 57%, 64%)
HSVhsv(67, 49%, 85%)
CMYKcmyk(5.6%, 0%, 48.6%, 15.3%)
CIE-LABlab(83.49, -19.06, 49.96)
CIE-LCHlch(83.49, 53.47, 110.88°)
OKLaboklab(85.11% -0.0543 0.1187)
OKLCHoklch(85.11% 0.131 114.6)
XYZxyz(52.3277, 63.0975, 24.4583)
Luminance0.6310 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD86F #7B6FD8
analogous
#D8B06F #CCD86F #98D86F
triadic
#CCD86F #6FCCD8 #D86FCC
tetradic
#CCD86F #6FD8B0 #7B6FD8 #D86F98
square
#CCD86F #6FD8B0 #7B6FD8 #D86F98
split-complementary
#CCD86F #6F98D8 #B06FD8
monochromatic
#94A12C #BBCB3F #CCD86F #DDE59F #EEF2CF

Accessibility & contrast

On white

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

On black

13.62
#CCD86F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD86F
13.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD86F#FFFFFF#000000##000000
##CCD86F1.001.5413.6213.62
#FFFFFF1.541.0021.0021.00
#00000013.6221.001.001.00
##00000013.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CF66
Deuteranopia (green-blind)
#E4D175
Tritanopia (blue-blind)
#D7CEC0
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #ccd86f;
/* rgb */ color: rgb(204, 216, 111);
/* oklch */ color: oklch(85.1% 0.131 114.6);
Tailwind
colors: {
  custom: {
    50: '#dde49b',
    500: '#ccd86f',
    950: '#000000',
  },
}
SCSS
$custom: #ccd86f;
$custom-light: #dde49b;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd86f",
  "rgb": {
    "r": 204,
    "g": 216,
    "b": 111
  },
  "hsl": {
    "h": 66.857,
    "s": 57.377,
    "l": 64.118
  },
  "oklch": {
    "l": 0.85107,
    "c": 0.13053,
    "h": 114.6
  },
  "luminance": 0.63097
}

Semantic roles & 50–950 ramp

primary
#CCD86F
secondary
#5146A5
accent
#21C533
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #CCD86F

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

Preview Lab → · Contrast checker → · Palette generator →

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