#DDC052#DDC052

#DDC052 is a light, vivid yellow. Relative luminance 0.537; OKLCH L 81.2% C 0.132 H 94.5°. Best body text is #000000 at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#DDC052
RGBrgb(221, 192, 82)
HSLhsl(47, 67%, 59%)
HSVhsv(47, 63%, 87%)
CMYKcmyk(0%, 13.1%, 62.9%, 13.3%)
CIE-LABlab(78.28, -2.22, 57.67)
CIE-LCHlch(78.28, 57.71, 92.20°)
OKLaboklab(81.2% -0.0103 0.1318)
OKLCHoklch(81.2% 0.132 94.5)
XYZxyz(50.1937, 53.6832, 15.6990)
Luminance0.5368 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DDC052 #526FDD
analogous
#DD7B52 #DDC052 #B5DD52
triadic
#DDC052 #52DDC0 #C052DD
tetradic
#DDC052 #52DD7B #526FDD #DD52B5
square
#DDC052 #52DD7B #526FDD #DD52B5
split-complementary
#DDC052 #52B5DD #7B52DD
monochromatic
#977E1E #CAA828 #DDC052 #E7D385 #F1E5B8

Accessibility & contrast

On white

1.79
#DDC052 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.74
#DDC052 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DDC052
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DDC052#FFFFFF#000000##000000
##DDC0521.001.7911.7411.74
#FFFFFF1.791.0021.0021.00
#00000011.7421.001.001.00
##00000011.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BC46
Deuteranopia (green-blind)
#DAC557
Tritanopia (blue-blind)
#EEB2A8
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #ddc052;
/* rgb */ color: rgb(221, 192, 82);
/* oklch */ color: oklch(81.2% 0.132 94.5);
Tailwind
colors: {
  custom: {
    50: '#ebd287',
    500: '#ddc052',
    950: '#000000',
  },
}
SCSS
$custom: #ddc052;
$custom-light: #ebd287;
$custom-dark: #000000;
JSON
{
  "hex": "#ddc052",
  "rgb": {
    "r": 221,
    "g": 192,
    "b": 82
  },
  "hsl": {
    "h": 47.482,
    "s": 67.15,
    "l": 59.412
  },
  "oklch": {
    "l": 0.81203,
    "c": 0.13221,
    "h": 94.5
  },
  "luminance": 0.53681
}

Semantic roles & 50–950 ramp

primary
#DDC052
secondary
#384D9B
accent
#62EA3E
background
#FFFEFC
surface
#FEFBF3
border
#D6D4CD
text
#17140C
muted
#85837F

Preview Lab

Preview with #DDC052

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

Preview Lab → · Contrast checker → · Palette generator →

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