#DDCD52#DDCD52

#DDCD52 is a very light, vivid yellow. Relative luminance 0.596; OKLCH L 83.9% C 0.143 H 101.9°. Best body text is #000000 at 12.93:1 contrast (WCAG AA passes).

Color values

HEX#DDCD52
RGBrgb(221, 205, 82)
HSLhsl(53, 67%, 59%)
HSVhsv(53, 63%, 87%)
CMYKcmyk(0%, 7.2%, 62.9%, 13.3%)
CIE-LABlab(81.65, -8.89, 61.31)
CIE-LCHlch(81.65, 61.95, 98.25°)
OKLaboklab(83.87% -0.0294 0.1395)
OKLCHoklch(83.87% 0.143 101.9)
XYZxyz(53.1752, 59.6461, 16.6929)
Luminance0.5964 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DDCD52 #5262DD
analogous
#DD8852 #DDCD52 #A7DD52
triadic
#DDCD52 #52DDCD #CD52DD
tetradic
#DDCD52 #52DD88 #5262DD #DD52A7
square
#DDCD52 #52DD88 #5262DD #DD52A7
split-complementary
#DDCD52 #52A7DD #8852DD
monochromatic
#97891E #CAB728 #DDCD52 #E7DC85 #F1EBB8

Accessibility & contrast

On white

1.62
#DDCD52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.93
#DDCD52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DDCD52
12.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DDCD52#FFFFFF#000000##000000
##DDCD521.001.6212.9312.93
#FFFFFF1.621.0021.0021.00
#00000012.9321.001.001.00
##00000012.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC743
Deuteranopia (green-blind)
#E3CE59
Tritanopia (blue-blind)
#EDBFB3
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #ddcd52;
/* rgb */ color: rgb(221, 205, 82);
/* oklch */ color: oklch(83.9% 0.143 101.9);
Tailwind
colors: {
  custom: {
    50: '#ebdc88',
    500: '#ddcd52',
    950: '#000000',
  },
}
SCSS
$custom: #ddcd52;
$custom-light: #ebdc88;
$custom-dark: #000000;
JSON
{
  "hex": "#ddcd52",
  "rgb": {
    "r": 221,
    "g": 205,
    "b": 82
  },
  "hsl": {
    "h": 53.094,
    "s": 67.15,
    "l": 59.412
  },
  "oklch": {
    "l": 0.83873,
    "c": 0.14261,
    "h": 101.9
  },
  "luminance": 0.59644
}

Semantic roles & 50–950 ramp

primary
#DDCD52
secondary
#38439B
accent
#52EA3E
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #DDCD52

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

Preview Lab → · Contrast checker → · Palette generator →

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