#DDC051#DDC051

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

Color values

HEX#DDC051
RGBrgb(221, 192, 81)
HSLhsl(48, 67%, 59%)
HSVhsv(48, 63%, 87%)
CMYKcmyk(0%, 13.1%, 63.3%, 13.3%)
CIE-LABlab(78.27, -2.28, 58.10)
CIE-LCHlch(78.27, 58.15, 92.25°)
OKLaboklab(81.19% -0.0106 0.1326)
OKLCHoklch(81.19% 0.133 94.6)
XYZxyz(50.1559, 53.6681, 15.5001)
Luminance0.5367 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DDC051 #516EDD
analogous
#DD7A51 #DDC051 #B4DD51
triadic
#DDC051 #51DDC0 #C051DD
tetradic
#DDC051 #51DD7A #516EDD #DD51B4
square
#DDC051 #51DD7A #516EDD #DD51B4
split-complementary
#DDC051 #51B4DD #7A51DD
monochromatic
#967D1D #C9A827 #DDC051 #E7D384 #F1E5B7

Accessibility & contrast

On white

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

On black

11.73
#DDC051 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DDC051
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DDC051#FFFFFF#000000##000000
##DDC0511.001.7911.7311.73
#FFFFFF1.791.0021.0021.00
#00000011.7321.001.001.00
##00000011.7321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ddc051;
/* rgb */ color: rgb(221, 192, 81);
/* oklch */ color: oklch(81.2% 0.133 94.6);
Tailwind
colors: {
  custom: {
    50: '#ebd286',
    500: '#ddc051',
    950: '#000000',
  },
}
SCSS
$custom: #ddc051;
$custom-light: #ebd286;
$custom-dark: #000000;
JSON
{
  "hex": "#ddc051",
  "rgb": {
    "r": 221,
    "g": 192,
    "b": 81
  },
  "hsl": {
    "h": 47.571,
    "s": 67.308,
    "l": 59.216
  },
  "oklch": {
    "l": 0.81194,
    "c": 0.133,
    "h": 94.6
  },
  "luminance": 0.53666
}

Semantic roles & 50–950 ramp

primary
#DDC051
secondary
#384C9B
accent
#61EA3E
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #DDC051

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

Preview Lab → · Contrast checker → · Palette generator →

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