#CCD867#CCD867

#CCD867 is a very light, vivid yellow. Relative luminance 0.629; OKLCH L 85.0% C 0.138 H 114.4°. Best body text is #000000 at 13.59:1 contrast (WCAG AA passes).

Color values

HEX#CCD867
RGBrgb(204, 216, 103)
HSLhsl(66, 59%, 63%)
HSVhsv(66, 52%, 85%)
CMYKcmyk(5.6%, 0%, 52.3%, 15.3%)
CIE-LABlab(83.41, -19.78, 53.60)
CIE-LCHlch(83.41, 57.13, 110.25°)
OKLaboklab(85.01% -0.0571 0.1259)
OKLCHoklch(85.01% 0.138 114.4)
XYZxyz(51.9068, 62.9292, 22.2415)
Luminance0.6293 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD867 #7367D8
analogous
#D8AC67 #CCD867 #93D867
triadic
#CCD867 #67CCD8 #D867CC
tetradic
#CCD867 #67D8AC #7367D8 #D86793
square
#CCD867 #67D8AC #7367D8 #D86793
split-complementary
#CCD867 #6793D8 #AC67D8
monochromatic
#909C28 #BCCC36 #CCD867 #DCE498 #EDF1C8

Accessibility & contrast

On white

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

On black

13.59
#CCD867 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD867
13.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD867#FFFFFF#000000##000000
##CCD8671.001.5513.5913.59
#FFFFFF1.551.0021.0021.00
#00000013.5921.001.001.00
##00000013.5921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ccd867;
/* rgb */ color: rgb(204, 216, 103);
/* oklch */ color: oklch(85.0% 0.138 114.4);
Tailwind
colors: {
  custom: {
    50: '#dee495',
    500: '#ccd867',
    950: '#000000',
  },
}
SCSS
$custom: #ccd867;
$custom-light: #dee495;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd867",
  "rgb": {
    "r": 204,
    "g": 216,
    "b": 103
  },
  "hsl": {
    "h": 66.372,
    "s": 59.162,
    "l": 62.549
  },
  "oklch": {
    "l": 0.85008,
    "c": 0.13825,
    "h": 114.4
  },
  "luminance": 0.62928
}

Semantic roles & 50–950 ramp

primary
#CCD867
secondary
#4D43A1
accent
#1FC731
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150D
muted
#84847F

Preview Lab

Preview with #CCD867

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

Preview Lab → · Contrast checker → · Palette generator →

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