#DDC478#DDC478

#DDC478 is a very light, moderate yellow. Relative luminance 0.562; OKLCH L 82.5% C 0.100 H 91.8°. Best body text is #000000 at 12.24:1 contrast (WCAG AA passes).

Color values

HEX#DDC478
RGBrgb(221, 196, 120)
HSLhsl(45, 60%, 67%)
HSVhsv(45, 46%, 87%)
CMYKcmyk(0%, 11.3%, 45.7%, 13.3%)
CIE-LABlab(79.73, -1.23, 41.25)
CIE-LCHlch(79.73, 41.27, 91.71°)
OKLaboklab(82.49% -0.0032 0.0998)
OKLCHoklch(82.49% 0.1 91.8)
XYZxyz(52.9505, 56.2102, 25.8262)
Luminance0.5621 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DDC478 #7891DD
analogous
#DD9278 #DDC478 #C3DD78
triadic
#DDC478 #78DDC4 #C478DD
tetradic
#DDC478 #78DD92 #7891DD #DD78C3
square
#DDC478 #78DD92 #7891DD #DD78C3
split-complementary
#DDC478 #78C3DD #9278DD
monochromatic
#AF8E2C #D1AF47 #DDC478 #E9D9A9 #F6EFDA

Accessibility & contrast

On white

1.72
#DDC478 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.24
#DDC478 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DDC478
12.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DDC478#FFFFFF#000000##000000
##DDC4781.001.7212.2412.24
#FFFFFF1.721.0021.0021.00
#00000012.2421.001.001.00
##00000012.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3C172
Deuteranopia (green-blind)
#DAC97B
Tritanopia (blue-blind)
#EBB9B1
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #ddc478;
/* rgb */ color: rgb(221, 196, 120);
/* oklch */ color: oklch(82.5% 0.100 91.8);
Tailwind
colors: {
  custom: {
    50: '#e9d5a0',
    500: '#ddc478',
    950: '#000000',
  },
}
SCSS
$custom: #ddc478;
$custom-light: #e9d5a0;
$custom-dark: #000000;
JSON
{
  "hex": "#ddc478",
  "rgb": {
    "r": 221,
    "g": 196,
    "b": 120
  },
  "hsl": {
    "h": 45.149,
    "s": 59.763,
    "l": 66.863
  },
  "oklch": {
    "l": 0.82493,
    "c": 0.09982,
    "h": 91.8
  },
  "luminance": 0.56208
}

Semantic roles & 50–950 ramp

primary
#DDC478
secondary
#4862B1
accent
#48C71E
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#16140F
muted
#858380

Preview Lab

Preview with #DDC478

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

Preview Lab → · Contrast checker → · Palette generator →

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