#CCD15B#CCD15B

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

Color values

HEX#CCD15B
RGBrgb(204, 209, 91)
HSLhsl(63, 56%, 59%)
HSVhsv(63, 56%, 82%)
CMYKcmyk(2.4%, 0%, 56.5%, 18%)
CIE-LABlab(81.40, -17.30, 56.74)
CIE-LCHlch(81.40, 59.32, 106.95°)
OKLaboklab(83.37% -0.0513 0.1314)
OKLCHoklch(83.37% 0.141 111.3)
XYZxyz(49.5919, 59.1947, 18.7088)
Luminance0.5919 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD15B #605BD1
analogous
#D19B5B #CCD15B #91D15B
triadic
#CCD15B #5BCCD1 #D15BCC
tetradic
#CCD15B #5BD19B #605BD1 #D15B91
square
#CCD15B #5BD19B #605BD1 #D15B91
split-complementary
#CCD15B #5B91D1 #9B5BD1
monochromatic
#868B27 #B5BA34 #CCD15B #DBDE8B #EAECBB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCD15B#FFFFFF#000000##000000
##CCD15B1.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)
#DFC94E
Deuteranopia (green-blind)
#E0CC62
Tritanopia (blue-blind)
#D9C6B7
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #ccd15b;
/* rgb */ color: rgb(204, 209, 91);
/* oklch */ color: oklch(83.4% 0.141 111.3);
Tailwind
colors: {
  custom: {
    50: '#dede8d',
    500: '#ccd15b',
    950: '#000000',
  },
}
SCSS
$custom: #ccd15b;
$custom-light: #dede8d;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd15b",
  "rgb": {
    "r": 204,
    "g": 209,
    "b": 91
  },
  "hsl": {
    "h": 62.542,
    "s": 56.19,
    "l": 58.824
  },
  "oklch": {
    "l": 0.83366,
    "c": 0.14104,
    "h": 111.3
  },
  "luminance": 0.59194
}

Semantic roles & 50–950 ramp

primary
#CCD15B
secondary
#433F91
accent
#48DF4F
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #CCD15B

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

Preview Lab → · Contrast checker → · Palette generator →

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