#DDC048#DDC048

#DDC048 is a light, vivid yellow. Relative luminance 0.535; OKLCH L 81.1% C 0.140 H 95.4°. Best body text is #000000 at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#DDC048
RGBrgb(221, 192, 72)
HSLhsl(48, 69%, 57%)
HSVhsv(48, 67%, 87%)
CMYKcmyk(0%, 13.1%, 67.4%, 13.3%)
CIE-LABlab(78.19, -2.81, 61.85)
CIE-LCHlch(78.19, 61.91, 92.60°)
OKLaboklab(81.11% -0.0132 0.1391)
OKLCHoklch(81.11% 0.14 95.4)
XYZxyz(49.8405, 53.5419, 13.8390)
Luminance0.5354 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DDC048 #4865DD
analogous
#DD7548 #DDC048 #B0DD48
triadic
#DDC048 #48DDC0 #C048DD
tetradic
#DDC048 #48DD75 #4865DD #DD48B0
square
#DDC048 #48DD75 #4865DD #DD48B0
split-complementary
#DDC048 #48B0DD #7548DD
monochromatic
#90791B #C3A524 #DDC048 #E7D27C #F0E4AF

Accessibility & contrast

On white

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

On black

11.71
#DDC048 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DDC048
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DDC048#FFFFFF#000000##000000
##DDC0481.001.7911.7111.71
#FFFFFF1.791.0021.0021.00
#00000011.7121.001.001.00
##00000011.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BC38
Deuteranopia (green-blind)
#DAC54E
Tritanopia (blue-blind)
#EEB2A7
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #ddc048;
/* rgb */ color: rgb(221, 192, 72);
/* oklch */ color: oklch(81.1% 0.140 95.4);
Tailwind
colors: {
  custom: {
    50: '#ebd281',
    500: '#ddc048',
    950: '#000000',
  },
}
SCSS
$custom: #ddc048;
$custom-light: #ebd281;
$custom-dark: #000000;
JSON
{
  "hex": "#ddc048",
  "rgb": {
    "r": 221,
    "g": 192,
    "b": 72
  },
  "hsl": {
    "h": 48.322,
    "s": 68.664,
    "l": 57.451
  },
  "oklch": {
    "l": 0.81111,
    "c": 0.13975,
    "h": 95.4
  },
  "luminance": 0.53539
}

Semantic roles & 50–950 ramp

primary
#DDC048
secondary
#344795
accent
#5EEC3C
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #DDC048

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

Preview Lab → · Contrast checker → · Palette generator →

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