#CCDB51#CCDB51

#CCDB51 is a very light, vivid yellow. Relative luminance 0.641; OKLCH L 85.4% C 0.160 H 115.1°. Best body text is #000000 at 13.82:1 contrast (WCAG AA passes).

Color values

HEX#CCDB51
RGBrgb(204, 219, 81)
HSLhsl(67, 66%, 59%)
HSVhsv(67, 63%, 86%)
CMYKcmyk(6.8%, 0%, 63%, 14.1%)
CIE-LABlab(84.02, -22.90, 63.85)
CIE-LCHlch(84.02, 67.83, 109.73°)
OKLaboklab(85.43% -0.0681 0.1452)
OKLCHoklch(85.43% 0.16 115.1)
XYZxyz(51.7198, 64.0953, 17.4301)
Luminance0.6409 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCDB51 #6051DB
analogous
#DBA551 #CCDB51 #87DB51
triadic
#CCDB51 #51CCDB #DB51CC
tetradic
#CCDB51 #51DBA5 #6051DB #DB5187
square
#CCDB51 #51DBA5 #6051DB #DB5187
split-complementary
#CCDB51 #5187DB #A551DB
monochromatic
#86931E #B5C629 #CCDB51 #DBE584 #EAF0B6

Accessibility & contrast

On white

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

On black

13.82
#CCDB51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCDB51
13.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCDB51#FFFFFF#000000##000000
##CCDB511.001.5213.8213.82
#FFFFFF1.521.0021.0021.00
#00000013.8221.001.001.00
##00000013.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD13F
Deuteranopia (green-blind)
#E9D35A
Tritanopia (blue-blind)
#D8CFBE
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #ccdb51;
/* rgb */ color: rgb(204, 219, 81);
/* oklch */ color: oklch(85.4% 0.160 115.1);
Tailwind
colors: {
  custom: {
    50: '#dee688',
    500: '#ccdb51',
    950: '#000000',
  },
}
SCSS
$custom: #ccdb51;
$custom-light: #dee688;
$custom-dark: #000000;
JSON
{
  "hex": "#ccdb51",
  "rgb": {
    "r": 204,
    "g": 219,
    "b": 81
  },
  "hsl": {
    "h": 66.522,
    "s": 65.714,
    "l": 58.824
  },
  "oklch": {
    "l": 0.85432,
    "c": 0.16035,
    "h": 115.1
  },
  "luminance": 0.64094
}

Semantic roles & 50–950 ramp

primary
#CCDB51
secondary
#433898
accent
#3FE952
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #CCDB51

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

Preview Lab → · Contrast checker → · Palette generator →

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