#DDC778#DDC778

#DDC778 is a very light, moderate yellow. Relative luminance 0.576; OKLCH L 83.1% C 0.102 H 94.3°. Best body text is #000000 at 12.52:1 contrast (WCAG AA passes).

Color values

HEX#DDC778
RGBrgb(221, 199, 120)
HSLhsl(47, 60%, 67%)
HSVhsv(47, 46%, 87%)
CMYKcmyk(0%, 10%, 45.7%, 13.3%)
CIE-LABlab(80.50, -2.78, 42.22)
CIE-LCHlch(80.50, 42.31, 93.77°)
OKLaboklab(83.1% -0.0077 0.1019)
OKLCHoklch(83.1% 0.102 94.3)
XYZxyz(53.6339, 57.5771, 26.0540)
Luminance0.5757 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DDC778 #788EDD
analogous
#DD9578 #DDC778 #C0DD78
triadic
#DDC778 #78DDC7 #C778DD
tetradic
#DDC778 #78DD95 #788EDD #DD78C0
square
#DDC778 #78DD95 #788EDD #DD78C0
split-complementary
#DDC778 #78C0DD #9578DD
monochromatic
#AF922C #D1B347 #DDC778 #E9DBA9 #F6F0DA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DDC778#FFFFFF#000000##000000
##DDC7781.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)
#D6C472
Deuteranopia (green-blind)
#DCCB7B
Tritanopia (blue-blind)
#EBBCB4
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #ddc778;
/* rgb */ color: rgb(221, 199, 120);
/* oklch */ color: oklch(83.1% 0.102 94.3);
Tailwind
colors: {
  custom: {
    50: '#e9d7a0',
    500: '#ddc778',
    950: '#000000',
  },
}
SCSS
$custom: #ddc778;
$custom-light: #e9d7a0;
$custom-dark: #000000;
JSON
{
  "hex": "#ddc778",
  "rgb": {
    "r": 221,
    "g": 199,
    "b": 120
  },
  "hsl": {
    "h": 46.931,
    "s": 59.763,
    "l": 66.863
  },
  "oklch": {
    "l": 0.83101,
    "c": 0.10223,
    "h": 94.3
  },
  "luminance": 0.57575
}

Semantic roles & 50–950 ramp

primary
#DDC778
secondary
#485FB1
accent
#43C71E
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#16140F
muted
#858380

Preview Lab

Preview with #DDC778

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

Preview Lab → · Contrast checker → · Palette generator →

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