#DDC878#DDC878

#DDC878 is a very light, moderate yellow. Relative luminance 0.580; OKLCH L 83.3% C 0.103 H 95.1°. Best body text is #000000 at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#DDC878
RGBrgb(221, 200, 120)
HSLhsl(48, 60%, 67%)
HSVhsv(48, 46%, 87%)
CMYKcmyk(0%, 9.5%, 45.7%, 13.3%)
CIE-LABlab(80.76, -3.30, 42.54)
CIE-LCHlch(80.76, 42.67, 94.44°)
OKLaboklab(83.3% -0.0092 0.1027)
OKLCHoklch(83.3% 0.103 95.1)
XYZxyz(53.8648, 58.0388, 26.1309)
Luminance0.5804 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DDC878 #788DDD
analogous
#DD9678 #DDC878 #BFDD78
triadic
#DDC878 #78DDC8 #C878DD
tetradic
#DDC878 #78DD96 #788DDD #DD78BF
square
#DDC878 #78DD96 #788DDD #DD78BF
split-complementary
#DDC878 #78BFDD #9678DD
monochromatic
#AF932C #D1B447 #DDC878 #E9DCA9 #F6F0DA

Accessibility & contrast

On white

1.67
#DDC878 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.61
#DDC878 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DDC878
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DDC878#FFFFFF#000000##000000
##DDC8781.001.6712.6112.61
#FFFFFF1.671.0021.0021.00
#00000012.6121.001.001.00
##00000012.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C572
Deuteranopia (green-blind)
#DDCB7B
Tritanopia (blue-blind)
#EBBDB5
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #ddc878;
/* rgb */ color: rgb(221, 200, 120);
/* oklch */ color: oklch(83.3% 0.103 95.1);
Tailwind
colors: {
  custom: {
    50: '#e9d8a0',
    500: '#ddc878',
    950: '#000000',
  },
}
SCSS
$custom: #ddc878;
$custom-light: #e9d8a0;
$custom-dark: #000000;
JSON
{
  "hex": "#ddc878",
  "rgb": {
    "r": 221,
    "g": 200,
    "b": 120
  },
  "hsl": {
    "h": 47.525,
    "s": 59.763,
    "l": 66.863
  },
  "oklch": {
    "l": 0.83304,
    "c": 0.10307,
    "h": 95.1
  },
  "luminance": 0.58037
}

Semantic roles & 50–950 ramp

primary
#DDC878
secondary
#485EB1
accent
#41C71E
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#16140F
muted
#858380

Preview Lab

Preview with #DDC878

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

Preview Lab → · Contrast checker → · Palette generator →

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