#CDD752#CDD752

#CDD752 is a very light, vivid yellow. Relative luminance 0.622; OKLCH L 84.7% C 0.155 H 113.3°. Best body text is #000000 at 13.44:1 contrast (WCAG AA passes).

Color values

HEX#CDD752
RGBrgb(205, 215, 82)
HSLhsl(65, 62%, 58%)
HSVhsv(65, 62%, 84%)
CMYKcmyk(4.7%, 0%, 61.9%, 15.7%)
CIE-LABlab(83.01, -20.48, 62.39)
CIE-LCHlch(83.01, 65.67, 108.17°)
OKLaboklab(84.65% -0.0613 0.1422)
OKLCHoklch(84.65% 0.155 113.3)
XYZxyz(51.0016, 62.1902, 17.2982)
Luminance0.6219 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDD752 #5C52D7
analogous
#D79E52 #CDD752 #8AD752
triadic
#CDD752 #52CDD7 #D752CD
tetradic
#CDD752 #52D79E #5C52D7 #D7528A
square
#CDD752 #52D79E #5C52D7 #D7528A
split-complementary
#CDD752 #528AD7 #9E52D7
monochromatic
#868E21 #B4C02C #CDD752 #DBE284 #EAEEB5

Accessibility & contrast

On white

1.56
#CDD752 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.44
#CDD752 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDD752
13.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDD752#FFFFFF#000000##000000
##CDD7521.001.5613.4413.44
#FFFFFF1.561.0021.0021.00
#00000013.4421.001.001.00
##00000013.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CD42
Deuteranopia (green-blind)
#E6D05B
Tritanopia (blue-blind)
#DACBBB
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #cdd752;
/* rgb */ color: rgb(205, 215, 82);
/* oklch */ color: oklch(84.7% 0.155 113.3);
Tailwind
colors: {
  custom: {
    50: '#dfe388',
    500: '#cdd752',
    950: '#000000',
  },
}
SCSS
$custom: #cdd752;
$custom-light: #dfe388;
$custom-dark: #000000;
JSON
{
  "hex": "#cdd752",
  "rgb": {
    "r": 205,
    "g": 215,
    "b": 82
  },
  "hsl": {
    "h": 64.511,
    "s": 62.441,
    "l": 58.235
  },
  "oklch": {
    "l": 0.84651,
    "c": 0.15486,
    "h": 113.3
  },
  "luminance": 0.62189
}

Semantic roles & 50–950 ramp

primary
#CDD752
secondary
#403A93
accent
#42E64F
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #CDD752

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

Preview Lab → · Contrast checker → · Palette generator →

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