#DDD978#DDD978

#DDD978 is a very light, moderate yellow. Relative luminance 0.664; OKLCH L 86.8% C 0.120 H 106.6°. Best body text is #000000 at 14.27:1 contrast (WCAG AA passes).

Color values

HEX#DDD978
RGBrgb(221, 217, 120)
HSLhsl(58, 60%, 67%)
HSVhsv(58, 46%, 87%)
CMYKcmyk(0%, 1.8%, 45.7%, 13.3%)
CIE-LABlab(85.18, -11.95, 48.00)
CIE-LCHlch(85.18, 49.46, 103.99°)
OKLaboklab(86.81% -0.0341 0.1148)
OKLCHoklch(86.81% 0.12 106.6)
XYZxyz(58.0231, 66.3554, 27.5170)
Luminance0.6635 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DDD978 #787CDD
analogous
#DDA778 #DDD978 #AFDD78
triadic
#DDD978 #78DDD9 #D978DD
tetradic
#DDD978 #78DDA7 #787CDD #DD78AF
square
#DDD978 #78DDA7 #787CDD #DD78AF
split-complementary
#DDD978 #78AFDD #A778DD
monochromatic
#AFA92C #D1CB47 #DDD978 #E9E7A9 #F6F5DA

Accessibility & contrast

On white

1.47
#DDD978 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.27
#DDD978 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DDD978
14.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DDD978#FFFFFF#000000##000000
##DDD9781.001.4714.2714.27
#FFFFFF1.471.0021.0021.00
#00000014.2721.001.001.00
##00000014.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D270
Deuteranopia (green-blind)
#EAD77C
Tritanopia (blue-blind)
#EACEC2
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #ddd978;
/* rgb */ color: rgb(221, 217, 120);
/* oklch */ color: oklch(86.8% 0.120 106.6);
Tailwind
colors: {
  custom: {
    50: '#e9e4a1',
    500: '#ddd978',
    950: '#000000',
  },
}
SCSS
$custom: #ddd978;
$custom-light: #e9e4a1;
$custom-dark: #000000;
JSON
{
  "hex": "#ddd978",
  "rgb": {
    "r": 221,
    "g": 217,
    "b": 120
  },
  "hsl": {
    "h": 57.624,
    "s": 59.763,
    "l": 66.863
  },
  "oklch": {
    "l": 0.86806,
    "c": 0.11979,
    "h": 106.6
  },
  "luminance": 0.66354
}

Semantic roles & 50–950 ramp

primary
#DDD978
secondary
#484DB1
accent
#25C71E
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150F
muted
#858480

Preview Lab

Preview with #DDD978

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

Preview Lab → · Contrast checker → · Palette generator →

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