#CCDB52#CCDB52

#CCDB52 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#CCDB52
RGBrgb(204, 219, 82)
HSLhsl(67, 66%, 59%)
HSVhsv(67, 63%, 86%)
CMYKcmyk(6.8%, 0%, 62.6%, 14.1%)
CIE-LABlab(84.02, -22.83, 63.45)
CIE-LCHlch(84.02, 67.43, 109.79°)
OKLaboklab(85.44% -0.0678 0.1445)
OKLCHoklch(85.44% 0.16 115.1)
XYZxyz(51.7575, 64.1104, 17.6290)
Luminance0.6411 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCDB52 #6152DB
analogous
#DBA652 #CCDB52 #88DB52
triadic
#CCDB52 #52CCDB #DB52CC
tetradic
#CCDB52 #52DBA6 #6152DB #DB5288
square
#CCDB52 #52DBA6 #6152DB #DB5288
split-complementary
#CCDB52 #5288DB #A652DB
monochromatic
#87941F #B5C629 #CCDB52 #DBE685 #EAF0B7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCDB52#FFFFFF#000000##000000
##CCDB521.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)
#EAD141
Deuteranopia (green-blind)
#E9D35B
Tritanopia (blue-blind)
#D8CFBF
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #ccdb52;
/* rgb */ color: rgb(204, 219, 82);
/* oklch */ color: oklch(85.4% 0.160 115.1);
Tailwind
colors: {
  custom: {
    50: '#dee689',
    500: '#ccdb52',
    950: '#000000',
  },
}
SCSS
$custom: #ccdb52;
$custom-light: #dee689;
$custom-dark: #000000;
JSON
{
  "hex": "#ccdb52",
  "rgb": {
    "r": 204,
    "g": 219,
    "b": 82
  },
  "hsl": {
    "h": 66.569,
    "s": 65.55,
    "l": 59.02
  },
  "oklch": {
    "l": 0.8544,
    "c": 0.1596,
    "h": 115.1
  },
  "luminance": 0.6411
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CCDB52

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

Preview Lab → · Contrast checker → · Palette generator →

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