#DDD971#DDD971

#DDD971 is a very light, vivid yellow. Relative luminance 0.662; OKLCH L 86.7% C 0.127 H 106.8°. Best body text is #000000 at 14.24:1 contrast (WCAG AA passes).

Color values

HEX#DDD971
RGBrgb(221, 217, 113)
HSLhsl(58, 61%, 65%)
HSVhsv(58, 49%, 87%)
CMYKcmyk(0%, 1.8%, 48.9%, 13.3%)
CIE-LABlab(85.09, -12.60, 51.25)
CIE-LCHlch(85.09, 52.77, 103.81°)
OKLaboklab(86.71% -0.0366 0.1214)
OKLCHoklch(86.71% 0.127 106.8)
XYZxyz(57.6137, 66.1917, 25.3609)
Luminance0.6619 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DDD971 #7175DD
analogous
#DDA371 #DDD971 #ABDD71
triadic
#DDD971 #71DDD9 #D971DD
tetradic
#DDD971 #71DDA3 #7175DD #DD71AB
square
#DDD971 #71DDA3 #7175DD #DD71AB
split-complementary
#DDD971 #71ABDD #A371DD
monochromatic
#ABA629 #D1CC40 #DDD971 #E9E6A2 #F5F3D4

Accessibility & contrast

On white

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

On black

14.24
#DDD971 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DDD971
14.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DDD971#FFFFFF#000000##000000
##DDD9711.001.4714.2414.24
#FFFFFF1.471.0021.0021.00
#00000014.2421.001.001.00
##00000014.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D268
Deuteranopia (green-blind)
#EAD776
Tritanopia (blue-blind)
#EACDC1
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #ddd971;
/* rgb */ color: rgb(221, 217, 113);
/* oklch */ color: oklch(86.7% 0.127 106.8);
Tailwind
colors: {
  custom: {
    50: '#e9e49c',
    500: '#ddd971',
    950: '#000000',
  },
}
SCSS
$custom: #ddd971;
$custom-light: #e9e49c;
$custom-dark: #000000;
JSON
{
  "hex": "#ddd971",
  "rgb": {
    "r": 221,
    "g": 217,
    "b": 113
  },
  "hsl": {
    "h": 57.778,
    "s": 61.364,
    "l": 65.49
  },
  "oklch": {
    "l": 0.86712,
    "c": 0.12684,
    "h": 106.8
  },
  "luminance": 0.6619
}

Semantic roles & 50–950 ramp

primary
#DDD971
secondary
#4549AD
accent
#23C91C
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150E
muted
#85847F

Preview Lab

Preview with #DDD971

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

Preview Lab → · Contrast checker → · Palette generator →

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