#CDDC52#CDDC52

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

Color values

HEX#CDDC52
RGBrgb(205, 220, 82)
HSLhsl(67, 66%, 59%)
HSVhsv(67, 63%, 86%)
CMYKcmyk(6.8%, 0%, 62.7%, 13.7%)
CIE-LABlab(84.37, -22.91, 63.84)
CIE-LCHlch(84.37, 67.82, 109.74°)
OKLaboklab(85.74% -0.0681 0.1453)
OKLCHoklch(85.74% 0.16 115.1)
XYZxyz(52.2942, 64.7755, 17.7291)
Luminance0.6478 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDDC52 #6152DC
analogous
#DCA652 #CDDC52 #88DC52
triadic
#CDDC52 #52CDDC #DC52CD
tetradic
#CDDC52 #52DCA6 #6152DC #DC5288
square
#CDDC52 #52DCA6 #6152DC #DC5288
split-complementary
#CDDC52 #5288DC #A652DC
monochromatic
#88951E #B7C829 #CDDC52 #DCE685 #EAF1B8

Accessibility & contrast

On white

1.50
#CDDC52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.96
#CDDC52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDDC52
13.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDDC52#FFFFFF#000000##000000
##CDDC521.001.5013.9613.96
#FFFFFF1.501.0021.0021.00
#00000013.9621.001.001.00
##00000013.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD140
Deuteranopia (green-blind)
#EAD45B
Tritanopia (blue-blind)
#D9D0BF
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #cddc52;
/* rgb */ color: rgb(205, 220, 82);
/* oklch */ color: oklch(85.7% 0.160 115.1);
Tailwind
colors: {
  custom: {
    50: '#dfe689',
    500: '#cddc52',
    950: '#000000',
  },
}
SCSS
$custom: #cddc52;
$custom-light: #dfe689;
$custom-dark: #000000;
JSON
{
  "hex": "#cddc52",
  "rgb": {
    "r": 205,
    "g": 220,
    "b": 82
  },
  "hsl": {
    "h": 66.522,
    "s": 66.346,
    "l": 59.216
  },
  "oklch": {
    "l": 0.85735,
    "c": 0.16044,
    "h": 115.1
  },
  "luminance": 0.64775
}

Semantic roles & 50–950 ramp

primary
#CDDC52
secondary
#43389A
accent
#3FE951
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #CDDC52

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

Preview Lab → · Contrast checker → · Palette generator →

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