#DDCD78#DDCD78

#DDCD78 is a very light, moderate yellow. Relative luminance 0.604; OKLCH L 84.3% C 0.108 H 98.9°. Best body text is #000000 at 13.08:1 contrast (WCAG AA passes).

Color values

HEX#DDCD78
RGBrgb(221, 205, 120)
HSLhsl(50, 60%, 67%)
HSVhsv(50, 46%, 87%)
CMYKcmyk(0%, 7.2%, 45.7%, 13.3%)
CIE-LABlab(82.05, -5.87, 44.15)
CIE-LCHlch(82.05, 44.54, 97.58°)
OKLaboklab(84.33% -0.0166 0.1063)
OKLCHoklch(84.33% 0.108 98.9)
XYZxyz(55.0417, 60.3927, 26.5233)
Luminance0.6039 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DDCD78 #7888DD
analogous
#DD9B78 #DDCD78 #BBDD78
triadic
#DDCD78 #78DDCD #CD78DD
tetradic
#DDCD78 #78DD9B #7888DD #DD78BB
square
#DDCD78 #78DD9B #7888DD #DD78BB
split-complementary
#DDCD78 #78BBDD #9B78DD
monochromatic
#AF9A2C #D1BB47 #DDCD78 #E9DFA9 #F6F1DA

Accessibility & contrast

On white

1.61
#DDCD78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.08
#DDCD78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DDCD78
13.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DDCD78#FFFFFF#000000##000000
##DDCD781.001.6113.0813.08
#FFFFFF1.611.0021.0021.00
#00000013.0821.001.001.00
##00000013.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC971
Deuteranopia (green-blind)
#E0CF7B
Tritanopia (blue-blind)
#EBC2B9
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #ddcd78;
/* rgb */ color: rgb(221, 205, 120);
/* oklch */ color: oklch(84.3% 0.108 98.9);
Tailwind
colors: {
  custom: {
    50: '#e9dca0',
    500: '#ddcd78',
    950: '#000000',
  },
}
SCSS
$custom: #ddcd78;
$custom-light: #e9dca0;
$custom-dark: #000000;
JSON
{
  "hex": "#ddcd78",
  "rgb": {
    "r": 221,
    "g": 205,
    "b": 120
  },
  "hsl": {
    "h": 50.495,
    "s": 59.763,
    "l": 66.863
  },
  "oklch": {
    "l": 0.84325,
    "c": 0.10755,
    "h": 98.9
  },
  "luminance": 0.60391
}

Semantic roles & 50–950 ramp

primary
#DDCD78
secondary
#4859B1
accent
#39C71E
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#16150F
muted
#858480

Preview Lab

Preview with #DDCD78

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

Preview Lab → · Contrast checker → · Palette generator →

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