#DDC948#DDC948

#DDC948 is a very light, vivid yellow. Relative luminance 0.576; OKLCH L 83.0% C 0.147 H 100.4°. Best body text is #000000 at 12.52:1 contrast (WCAG AA passes).

Color values

HEX#DDC948
RGBrgb(221, 201, 72)
HSLhsl(52, 69%, 57%)
HSVhsv(52, 67%, 87%)
CMYKcmyk(0%, 9%, 67.4%, 13.3%)
CIE-LABlab(80.52, -7.44, 64.25)
CIE-LCHlch(80.52, 64.68, 96.60°)
OKLaboklab(82.96% -0.0264 0.1442)
OKLCHoklch(82.96% 0.147 100.4)
XYZxyz(51.8774, 57.6156, 14.5180)
Luminance0.5761 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DDC948 #485CDD
analogous
#DD7E48 #DDC948 #A7DD48
triadic
#DDC948 #48DDC9 #C948DD
tetradic
#DDC948 #48DD7E #485CDD #DD48A7
square
#DDC948 #48DD7E #485CDD #DD48A7
split-complementary
#DDC948 #48A7DD #7E48DD
monochromatic
#90801B #C3AE24 #DDC948 #E7D87C #F0E7AF

Accessibility & contrast

On white

1.68
#DDC948 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.52
#DDC948 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DDC948
12.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DDC948#FFFFFF#000000##000000
##DDC9481.001.6812.5212.52
#FFFFFF1.681.0021.0021.00
#00000012.5221.001.001.00
##00000012.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC336
Deuteranopia (green-blind)
#E1CB50
Tritanopia (blue-blind)
#EEBBAF
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #ddc948;
/* rgb */ color: rgb(221, 201, 72);
/* oklch */ color: oklch(83.0% 0.147 100.4);
Tailwind
colors: {
  custom: {
    50: '#ebd982',
    500: '#ddc948',
    950: '#000000',
  },
}
SCSS
$custom: #ddc948;
$custom-light: #ebd982;
$custom-dark: #000000;
JSON
{
  "hex": "#ddc948",
  "rgb": {
    "r": 221,
    "g": 201,
    "b": 72
  },
  "hsl": {
    "h": 51.946,
    "s": 68.664,
    "l": 57.451
  },
  "oklch": {
    "l": 0.82958,
    "c": 0.14659,
    "h": 100.4
  },
  "luminance": 0.57613
}

Semantic roles & 50–950 ramp

primary
#DDC948
secondary
#344195
accent
#54EC3C
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #DDC948

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

Preview Lab → · Contrast checker → · Palette generator →

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