#DDCA78#DDCA78

#DDCA78 is a very light, moderate yellow. Relative luminance 0.590; OKLCH L 83.7% C 0.105 H 96.7°. Best body text is #000000 at 12.79:1 contrast (WCAG AA passes).

Color values

HEX#DDCA78
RGBrgb(221, 202, 120)
HSLhsl(49, 60%, 67%)
HSVhsv(49, 46%, 87%)
CMYKcmyk(0%, 8.6%, 45.7%, 13.3%)
CIE-LABlab(81.28, -4.33, 43.18)
CIE-LCHlch(81.28, 43.40, 95.73°)
OKLaboklab(83.71% -0.0122 0.1041)
OKLCHoklch(83.71% 0.105 96.7)
XYZxyz(54.3310, 58.9713, 26.2863)
Luminance0.5897 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DDCA78 #788BDD
analogous
#DD9878 #DDCA78 #BEDD78
triadic
#DDCA78 #78DDCA #CA78DD
tetradic
#DDCA78 #78DD98 #788BDD #DD78BE
square
#DDCA78 #78DD98 #788BDD #DD78BE
split-complementary
#DDCA78 #78BEDD #9878DD
monochromatic
#AF962C #D1B747 #DDCA78 #E9DDA9 #F6F0DA

Accessibility & contrast

On white

1.64
#DDCA78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.79
#DDCA78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DDCA78
12.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DDCA78#FFFFFF#000000##000000
##DDCA781.001.6412.7912.79
#FFFFFF1.641.0021.0021.00
#00000012.7921.001.001.00
##00000012.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C671
Deuteranopia (green-blind)
#DECD7B
Tritanopia (blue-blind)
#EBBFB6
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #ddca78;
/* rgb */ color: rgb(221, 202, 120);
/* oklch */ color: oklch(83.7% 0.105 96.7);
Tailwind
colors: {
  custom: {
    50: '#e9d9a0',
    500: '#ddca78',
    950: '#000000',
  },
}
SCSS
$custom: #ddca78;
$custom-light: #e9d9a0;
$custom-dark: #000000;
JSON
{
  "hex": "#ddca78",
  "rgb": {
    "r": 221,
    "g": 202,
    "b": 120
  },
  "hsl": {
    "h": 48.713,
    "s": 59.763,
    "l": 66.863
  },
  "oklch": {
    "l": 0.83712,
    "c": 0.10481,
    "h": 96.7
  },
  "luminance": 0.58969
}

Semantic roles & 50–950 ramp

primary
#DDCA78
secondary
#485CB1
accent
#3EC71E
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#16140F
muted
#858380

Preview Lab

Preview with #DDCA78

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

Preview Lab → · Contrast checker → · Palette generator →

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