#DDC548#DDC548

#DDC548 is a very light, vivid yellow. Relative luminance 0.558; OKLCH L 82.1% C 0.143 H 98.2°. Best body text is #000000 at 12.15:1 contrast (WCAG AA passes).

Color values

HEX#DDC548
RGBrgb(221, 197, 72)
HSLhsl(50, 69%, 57%)
HSVhsv(50, 67%, 87%)
CMYKcmyk(0%, 10.9%, 67.4%, 13.3%)
CIE-LABlab(79.49, -5.39, 63.18)
CIE-LCHlch(79.49, 63.41, 94.88°)
OKLaboklab(82.13% -0.0205 0.142)
OKLCHoklch(82.13% 0.143 98.2)
XYZxyz(50.9571, 55.7750, 14.2112)
Luminance0.5577 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DDC548 #4860DD
analogous
#DD7B48 #DDC548 #AADD48
triadic
#DDC548 #48DDC5 #C548DD
tetradic
#DDC548 #48DD7B #4860DD #DD48AA
square
#DDC548 #48DD7B #4860DD #DD48AA
split-complementary
#DDC548 #48AADD #7B48DD
monochromatic
#907D1B #C3AA24 #DDC548 #E7D57C #F0E6AF

Accessibility & contrast

On white

1.73
#DDC548 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.15
#DDC548 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DDC548
12.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DDC548#FFFFFF#000000##000000
##DDC5481.001.7312.1512.15
#FFFFFF1.731.0021.0021.00
#00000012.1521.001.001.00
##00000012.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C037
Deuteranopia (green-blind)
#DEC94F
Tritanopia (blue-blind)
#EEB7AB
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #ddc548;
/* rgb */ color: rgb(221, 197, 72);
/* oklch */ color: oklch(82.1% 0.143 98.2);
Tailwind
colors: {
  custom: {
    50: '#ebd681',
    500: '#ddc548',
    950: '#000000',
  },
}
SCSS
$custom: #ddc548;
$custom-light: #ebd681;
$custom-dark: #000000;
JSON
{
  "hex": "#ddc548",
  "rgb": {
    "r": 221,
    "g": 197,
    "b": 72
  },
  "hsl": {
    "h": 50.336,
    "s": 68.664,
    "l": 57.451
  },
  "oklch": {
    "l": 0.82134,
    "c": 0.14343,
    "h": 98.2
  },
  "luminance": 0.55773
}

Semantic roles & 50–950 ramp

primary
#DDC548
secondary
#344495
accent
#59EC3C
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #DDC548

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

Preview Lab → · Contrast checker → · Palette generator →

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