#DDCC78#DDCC78

#DDCC78 is a very light, moderate yellow. Relative luminance 0.599; OKLCH L 84.1% C 0.107 H 98.2°. Best body text is #000000 at 12.98:1 contrast (WCAG AA passes).

Color values

HEX#DDCC78
RGBrgb(221, 204, 120)
HSLhsl(50, 60%, 67%)
HSVhsv(50, 46%, 87%)
CMYKcmyk(0%, 7.7%, 45.7%, 13.3%)
CIE-LABlab(81.79, -5.36, 43.83)
CIE-LCHlch(81.79, 44.15, 96.97°)
OKLaboklab(84.12% -0.0151 0.1055)
OKLCHoklch(84.12% 0.107 98.2)
XYZxyz(54.8033, 59.9159, 26.4438)
Luminance0.5991 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DDCC78 #7889DD
analogous
#DD9A78 #DDCC78 #BCDD78
triadic
#DDCC78 #78DDCC #CC78DD
tetradic
#DDCC78 #78DD9A #7889DD #DD78BC
square
#DDCC78 #78DD9A #7889DD #DD78BC
split-complementary
#DDCC78 #78BCDD #9A78DD
monochromatic
#AF992C #D1BA47 #DDCC78 #E9DEA9 #F6F1DA

Accessibility & contrast

On white

1.62
#DDCC78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.98
#DDCC78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DDCC78
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DDCC78#FFFFFF#000000##000000
##DDCC781.001.6212.9812.98
#FFFFFF1.621.0021.0021.00
#00000012.9821.001.001.00
##00000012.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC871
Deuteranopia (green-blind)
#E0CE7B
Tritanopia (blue-blind)
#EBC1B8
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #ddcc78;
/* rgb */ color: rgb(221, 204, 120);
/* oklch */ color: oklch(84.1% 0.107 98.2);
Tailwind
colors: {
  custom: {
    50: '#e9dba0',
    500: '#ddcc78',
    950: '#000000',
  },
}
SCSS
$custom: #ddcc78;
$custom-light: #e9dba0;
$custom-dark: #000000;
JSON
{
  "hex": "#ddcc78",
  "rgb": {
    "r": 221,
    "g": 204,
    "b": 120
  },
  "hsl": {
    "h": 49.901,
    "s": 59.763,
    "l": 66.863
  },
  "oklch": {
    "l": 0.84121,
    "c": 0.10662,
    "h": 98.2
  },
  "luminance": 0.59914
}

Semantic roles & 50–950 ramp

primary
#DDCC78
secondary
#485AB1
accent
#3BC71E
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#16140F
muted
#858380

Preview Lab

Preview with #DDCC78

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

Preview Lab → · Contrast checker → · Palette generator →

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