#CCDB57#CCDB57

#CCDB57 is a very light, vivid yellow. Relative luminance 0.642; OKLCH L 85.5% C 0.156 H 115.2°. Best body text is #000000 at 13.84:1 contrast (WCAG AA passes).

Color values

HEX#CCDB57
RGBrgb(204, 219, 87)
HSLhsl(67, 65%, 60%)
HSVhsv(67, 60%, 86%)
CMYKcmyk(6.8%, 0%, 60.3%, 14.1%)
CIE-LABlab(84.06, -22.49, 61.42)
CIE-LCHlch(84.06, 65.41, 110.11°)
OKLaboklab(85.49% -0.0664 0.1408)
OKLCHoklch(85.49% 0.156 115.2)
XYZxyz(51.9548, 64.1893, 18.6678)
Luminance0.6419 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCDB57 #6657DB
analogous
#DBA857 #CCDB57 #8ADB57
triadic
#CCDB57 #57CCDB #DB57CC
tetradic
#CCDB57 #57DBA8 #6657DB #DB578A
square
#CCDB57 #57DBA8 #6657DB #DB578A
split-complementary
#CCDB57 #578ADB #A857DB
monochromatic
#8A9720 #B8CA2B #CCDB57 #DBE689 #EBF1BC

Accessibility & contrast

On white

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

On black

13.84
#CCDB57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCDB57
13.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCDB57#FFFFFF#000000##000000
##CCDB571.001.5213.8413.84
#FFFFFF1.521.0021.0021.00
#00000013.8421.001.001.00
##00000013.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D147
Deuteranopia (green-blind)
#E8D35F
Tritanopia (blue-blind)
#D8CFBF
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #ccdb57;
/* rgb */ color: rgb(204, 219, 87);
/* oklch */ color: oklch(85.5% 0.156 115.2);
Tailwind
colors: {
  custom: {
    50: '#dee68c',
    500: '#ccdb57',
    950: '#000000',
  },
}
SCSS
$custom: #ccdb57;
$custom-light: #dee68c;
$custom-dark: #000000;
JSON
{
  "hex": "#ccdb57",
  "rgb": {
    "r": 204,
    "g": 219,
    "b": 87
  },
  "hsl": {
    "h": 66.818,
    "s": 64.706,
    "l": 60
  },
  "oklch": {
    "l": 0.85486,
    "c": 0.15569,
    "h": 115.2
  },
  "luminance": 0.64189
}

Semantic roles & 50–950 ramp

primary
#CCDB57
secondary
#463B9C
accent
#40E853
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #CCDB57

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

Preview Lab → · Contrast checker → · Palette generator →

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