#CDD652#CDD652

#CDD652 is a very light, vivid yellow. Relative luminance 0.617; OKLCH L 84.4% C 0.154 H 112.9°. Best body text is #000000 at 13.34:1 contrast (WCAG AA passes).

Color values

HEX#CDD652
RGBrgb(205, 214, 82)
HSLhsl(64, 62%, 58%)
HSVhsv(64, 62%, 84%)
CMYKcmyk(4.2%, 0%, 61.7%, 16.1%)
CIE-LABlab(82.74, -19.99, 62.11)
CIE-LCHlch(82.74, 65.24, 107.84°)
OKLaboklab(84.44% -0.0599 0.1416)
OKLCHoklch(84.44% 0.154 112.9)
XYZxyz(50.7477, 61.6825, 17.2136)
Luminance0.6168 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDD652 #5B52D6
analogous
#D69D52 #CDD652 #8BD652
triadic
#CDD652 #52CDD6 #D652CD
tetradic
#CDD652 #52D69D #5B52D6 #D6528B
square
#CDD652 #52D69D #5B52D6 #D6528B
split-complementary
#CDD652 #528BD6 #9D52D6
monochromatic
#858C21 #B4BE2D #CDD652 #DBE283 #EAEDB5

Accessibility & contrast

On white

1.57
#CDD652 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.34
#CDD652 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDD652
13.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDD652#FFFFFF#000000##000000
##CDD6521.001.5713.3413.34
#FFFFFF1.571.0021.0021.00
#00000013.3421.001.001.00
##00000013.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CC42
Deuteranopia (green-blind)
#E5CF5A
Tritanopia (blue-blind)
#DACABA
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #cdd652;
/* rgb */ color: rgb(205, 214, 82);
/* oklch */ color: oklch(84.4% 0.154 112.9);
Tailwind
colors: {
  custom: {
    50: '#dfe288',
    500: '#cdd652',
    950: '#000000',
  },
}
SCSS
$custom: #cdd652;
$custom-light: #dfe288;
$custom-dark: #000000;
JSON
{
  "hex": "#cdd652",
  "rgb": {
    "r": 205,
    "g": 214,
    "b": 82
  },
  "hsl": {
    "h": 64.091,
    "s": 61.682,
    "l": 58.039
  },
  "oklch": {
    "l": 0.84435,
    "c": 0.15376,
    "h": 112.9
  },
  "luminance": 0.61681
}

Semantic roles & 50–950 ramp

primary
#CDD652
secondary
#403A92
accent
#43E54E
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #CDD652

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

Preview Lab → · Contrast checker → · Palette generator →

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