#CCD861#CCD861

#CCD861 is a very light, vivid yellow. Relative luminance 0.628; OKLCH L 84.9% C 0.144 H 114.3°. Best body text is #000000 at 13.56:1 contrast (WCAG AA passes).

Color values

HEX#CCD861
RGBrgb(204, 216, 97)
HSLhsl(66, 60%, 61%)
HSVhsv(66, 55%, 85%)
CMYKcmyk(5.6%, 0%, 55.1%, 15.3%)
CIE-LABlab(83.34, -20.28, 56.26)
CIE-LCHlch(83.34, 59.80, 109.82°)
OKLaboklab(84.94% -0.0591 0.131)
OKLCHoklch(84.94% 0.144 114.3)
XYZxyz(51.6164, 62.8130, 20.7120)
Luminance0.6281 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD861 #6D61D8
analogous
#D8A961 #CCD861 #91D861
triadic
#CCD861 #61CCD8 #D861CC
tetradic
#CCD861 #61D8A9 #6D61D8 #D86191
square
#CCD861 #61D8A9 #6D61D8 #D86191
split-complementary
#CCD861 #6191D8 #A961D8
monochromatic
#8D9926 #BBCA32 #CCD861 #DCE492 #ECF0C3

Accessibility & contrast

On white

1.55
#CCD861 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.56
#CCD861 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD861
13.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD861#FFFFFF#000000##000000
##CCD8611.001.5513.5613.56
#FFFFFF1.551.0021.0021.00
#00000013.5621.001.001.00
##00000013.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CF55
Deuteranopia (green-blind)
#E5D168
Tritanopia (blue-blind)
#D8CDBE
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #ccd861;
/* rgb */ color: rgb(204, 216, 97);
/* oklch */ color: oklch(84.9% 0.144 114.3);
Tailwind
colors: {
  custom: {
    50: '#dee492',
    500: '#ccd861',
    950: '#000000',
  },
}
SCSS
$custom: #ccd861;
$custom-light: #dee492;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd861",
  "rgb": {
    "r": 204,
    "g": 216,
    "b": 97
  },
  "hsl": {
    "h": 66.05,
    "s": 60.406,
    "l": 61.373
  },
  "oklch": {
    "l": 0.84939,
    "c": 0.14374,
    "h": 114.3
  },
  "luminance": 0.62812
}

Semantic roles & 50–950 ramp

primary
#CCD861
secondary
#49409D
accent
#1DC82F
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150D
muted
#84847F

Preview Lab

Preview with #CCD861

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

Preview Lab → · Contrast checker → · Palette generator →

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