#DDCD51#DDCD51

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

Color values

HEX#DDCD51
RGBrgb(221, 205, 81)
HSLhsl(53, 67%, 59%)
HSVhsv(53, 63%, 87%)
CMYKcmyk(0%, 7.2%, 63.3%, 13.3%)
CIE-LABlab(81.64, -8.95, 61.73)
CIE-LCHlch(81.64, 62.37, 98.25°)
OKLaboklab(83.86% -0.0297 0.1403)
OKLCHoklch(83.86% 0.143 102)
XYZxyz(53.1374, 59.6310, 16.4939)
Luminance0.5963 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DDCD51 #5161DD
analogous
#DD8751 #DDCD51 #A7DD51
triadic
#DDCD51 #51DDCD #CD51DD
tetradic
#DDCD51 #51DD87 #5161DD #DD51A7
square
#DDCD51 #51DD87 #5161DD #DD51A7
split-complementary
#DDCD51 #51A7DD #8751DD
monochromatic
#96881D #C9B727 #DDCD51 #E7DC84 #F1EAB7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DDCD51#FFFFFF#000000##000000
##DDCD511.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)
#DFC742
Deuteranopia (green-blind)
#E4CE58
Tritanopia (blue-blind)
#EDBFB3
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #ddcd51;
/* rgb */ color: rgb(221, 205, 81);
/* oklch */ color: oklch(83.9% 0.143 102.0);
Tailwind
colors: {
  custom: {
    50: '#ebdc87',
    500: '#ddcd51',
    950: '#000000',
  },
}
SCSS
$custom: #ddcd51;
$custom-light: #ebdc87;
$custom-dark: #000000;
JSON
{
  "hex": "#ddcd51",
  "rgb": {
    "r": 221,
    "g": 205,
    "b": 81
  },
  "hsl": {
    "h": 53.143,
    "s": 67.308,
    "l": 59.216
  },
  "oklch": {
    "l": 0.83863,
    "c": 0.14338,
    "h": 102
  },
  "luminance": 0.59629
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DDCD51

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

Preview Lab → · Contrast checker → · Palette generator →

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