#CCD15C#CCD15C

#CCD15C is a very light, vivid yellow. Relative luminance 0.592; OKLCH L 83.4% C 0.140 H 111.3°. Best body text is #000000 at 12.84:1 contrast (WCAG AA passes).

Color values

HEX#CCD15C
RGBrgb(204, 209, 92)
HSLhsl(63, 56%, 59%)
HSVhsv(63, 56%, 82%)
CMYKcmyk(2.4%, 0%, 56%, 18%)
CIE-LABlab(81.41, -17.22, 56.31)
CIE-LCHlch(81.41, 58.88, 107.00°)
OKLaboklab(83.38% -0.051 0.1306)
OKLCHoklch(83.38% 0.14 111.3)
XYZxyz(49.6353, 59.2121, 18.9375)
Luminance0.5921 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD15C #615CD1
analogous
#D19C5C #CCD15C #92D15C
triadic
#CCD15C #5CCCD1 #D15CCC
tetradic
#CCD15C #5CD19C #615CD1 #D15C92
square
#CCD15C #5CD19C #615CD1 #D15C92
split-complementary
#CCD15C #5C92D1 #9C5CD1
monochromatic
#878B27 #B5BB35 #CCD15C #DBDE8C #EAECBB

Accessibility & contrast

On white

1.64
#CCD15C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.84
#CCD15C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD15C
12.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD15C#FFFFFF#000000##000000
##CCD15C1.001.6412.8412.84
#FFFFFF1.641.0021.0021.00
#00000012.8421.001.001.00
##00000012.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC950
Deuteranopia (green-blind)
#E0CC63
Tritanopia (blue-blind)
#D8C6B7
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #ccd15c;
/* rgb */ color: rgb(204, 209, 92);
/* oklch */ color: oklch(83.4% 0.140 111.3);
Tailwind
colors: {
  custom: {
    50: '#dede8e',
    500: '#ccd15c',
    950: '#000000',
  },
}
SCSS
$custom: #ccd15c;
$custom-light: #dede8e;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd15c",
  "rgb": {
    "r": 204,
    "g": 209,
    "b": 92
  },
  "hsl": {
    "h": 62.564,
    "s": 55.981,
    "l": 59.02
  },
  "oklch": {
    "l": 0.83376,
    "c": 0.14016,
    "h": 111.3
  },
  "luminance": 0.59211
}

Semantic roles & 50–950 ramp

primary
#CCD15C
secondary
#434092
accent
#49DF4F
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150D
muted
#84847F

Preview Lab

Preview with #CCD15C

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

Preview Lab → · Contrast checker → · Palette generator →

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