#CCDB48#CCDB48

#CCDB48 is a very light, vivid yellow. Relative luminance 0.640; OKLCH L 85.4% C 0.167 H 115.0°. Best body text is #000000 at 13.79:1 contrast (WCAG AA passes).

Color values

HEX#CCDB48
RGBrgb(204, 219, 72)
HSLhsl(66, 67%, 57%)
HSVhsv(66, 67%, 86%)
CMYKcmyk(6.8%, 0%, 67.1%, 14.1%)
CIE-LABlab(83.95, -23.45, 67.30)
CIE-LCHlch(83.95, 71.26, 109.21°)
OKLaboklab(85.36% -0.0705 0.1511)
OKLCHoklch(85.36% 0.167 115)
XYZxyz(51.4044, 63.9691, 15.7690)
Luminance0.6397 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCDB48 #5748DB
analogous
#DBA048 #CCDB48 #83DB48
triadic
#CCDB48 #48CCDB #DB48CC
tetradic
#CCDB48 #48DBA0 #5748DB #DB4883
square
#CCDB48 #48DBA0 #5748DB #DB4883
split-complementary
#CCDB48 #4883DB #A048DB
monochromatic
#818D1C #B0C026 #CCDB48 #DAE57B #E9EFAE

Accessibility & contrast

On white

1.52
#CCDB48 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.79
#CCDB48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCDB48
13.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCDB48#FFFFFF#000000##000000
##CCDB481.001.5213.7913.79
#FFFFFF1.521.0021.0021.00
#00000013.7921.001.001.00
##00000013.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD032
Deuteranopia (green-blind)
#E9D353
Tritanopia (blue-blind)
#D9CFBE
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #ccdb48;
/* rgb */ color: rgb(204, 219, 72);
/* oklch */ color: oklch(85.4% 0.167 115.0);
Tailwind
colors: {
  custom: {
    50: '#dfe683',
    500: '#ccdb48',
    950: '#000000',
  },
}
SCSS
$custom: #ccdb48;
$custom-light: #dfe683;
$custom-dark: #000000;
JSON
{
  "hex": "#ccdb48",
  "rgb": {
    "r": 204,
    "g": 219,
    "b": 72
  },
  "hsl": {
    "h": 66.122,
    "s": 67.123,
    "l": 57.059
  },
  "oklch": {
    "l": 0.85358,
    "c": 0.16676,
    "h": 115
  },
  "luminance": 0.63968
}

Semantic roles & 50–950 ramp

primary
#CCDB48
secondary
#3E3592
accent
#3EEA4F
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CCDB48

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

Preview Lab → · Contrast checker → · Palette generator →

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