#CDD552#CDD552

#CDD552 is a very light, vivid yellow. Relative luminance 0.612; OKLCH L 84.2% C 0.153 H 112.5°. Best body text is #000000 at 13.24:1 contrast (WCAG AA passes).

Color values

HEX#CDD552
RGBrgb(205, 213, 82)
HSLhsl(64, 61%, 58%)
HSVhsv(64, 62%, 84%)
CMYKcmyk(3.8%, 0%, 61.5%, 16.5%)
CIE-LABlab(82.47, -19.50, 61.82)
CIE-LCHlch(82.47, 64.82, 107.51°)
OKLaboklab(84.22% -0.0585 0.141)
OKLCHoklch(84.22% 0.153 112.5)
XYZxyz(50.4954, 61.1779, 17.1295)
Luminance0.6118 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDD552 #5A52D5
analogous
#D59B52 #CDD552 #8BD552
triadic
#CDD552 #52CDD5 #D552CD
tetradic
#CDD552 #52D59B #5A52D5 #D5528B
square
#CDD552 #52D59B #5A52D5 #D5528B
split-complementary
#CDD552 #528BD5 #9B52D5
monochromatic
#848B22 #B3BC2E #CDD552 #DBE183 #E9EDB4

Accessibility & contrast

On white

1.59
#CDD552 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.24
#CDD552 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDD552
13.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDD552#FFFFFF#000000##000000
##CDD5521.001.5913.2413.24
#FFFFFF1.591.0021.0021.00
#00000013.2421.001.001.00
##00000013.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CC42
Deuteranopia (green-blind)
#E4CF5A
Tritanopia (blue-blind)
#DAC9BA
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #cdd552;
/* rgb */ color: rgb(205, 213, 82);
/* oklch */ color: oklch(84.2% 0.153 112.5);
Tailwind
colors: {
  custom: {
    50: '#dfe188',
    500: '#cdd552',
    950: '#000000',
  },
}
SCSS
$custom: #cdd552;
$custom-light: #dfe188;
$custom-dark: #000000;
JSON
{
  "hex": "#cdd552",
  "rgb": {
    "r": 205,
    "g": 213,
    "b": 82
  },
  "hsl": {
    "h": 63.664,
    "s": 60.93,
    "l": 57.843
  },
  "oklch": {
    "l": 0.84219,
    "c": 0.15267,
    "h": 112.5
  },
  "luminance": 0.61177
}

Semantic roles & 50–950 ramp

primary
#CDD552
secondary
#403A91
accent
#44E44E
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #CDD552

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

Preview Lab → · Contrast checker → · Palette generator →

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