#DDD371#DDD371

#DDD371 is a very light, vivid yellow. Relative luminance 0.632; OKLCH L 85.5% C 0.121 H 103.4°. Best body text is #000000 at 13.63:1 contrast (WCAG AA passes).

Color values

HEX#DDD371
RGBrgb(221, 211, 113)
HSLhsl(54, 61%, 65%)
HSVhsv(54, 49%, 87%)
CMYKcmyk(0%, 4.5%, 48.9%, 13.3%)
CIE-LABlab(83.52, -9.58, 49.36)
CIE-LCHlch(83.52, 50.28, 100.98°)
OKLaboklab(85.47% -0.028 0.1173)
OKLCHoklch(85.47% 0.121 103.4)
XYZxyz(56.0952, 63.1547, 24.8548)
Luminance0.6315 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DDD371 #717BDD
analogous
#DD9D71 #DDD371 #B1DD71
triadic
#DDD371 #71DDD3 #D371DD
tetradic
#DDD371 #71DD9D #717BDD #DD71B1
square
#DDD371 #71DD9D #717BDD #DD71B1
split-complementary
#DDD371 #71B1DD #9D71DD
monochromatic
#AB9F29 #D1C440 #DDD371 #E9E2A2 #F5F2D4

Accessibility & contrast

On white

1.54
#DDD371 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.63
#DDD371 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DDD371
13.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DDD371#FFFFFF#000000##000000
##DDD3711.001.5413.6313.63
#FFFFFF1.541.0021.0021.00
#00000013.6321.001.001.00
##00000013.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CD68
Deuteranopia (green-blind)
#E6D375
Tritanopia (blue-blind)
#EBC7BC
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #ddd371;
/* rgb */ color: rgb(221, 211, 113);
/* oklch */ color: oklch(85.5% 0.121 103.4);
Tailwind
colors: {
  custom: {
    50: '#e9e09c',
    500: '#ddd371',
    950: '#000000',
  },
}
SCSS
$custom: #ddd371;
$custom-light: #e9e09c;
$custom-dark: #000000;
JSON
{
  "hex": "#ddd371",
  "rgb": {
    "r": 221,
    "g": 211,
    "b": 113
  },
  "hsl": {
    "h": 54.444,
    "s": 61.364,
    "l": 65.49
  },
  "oklch": {
    "l": 0.85465,
    "c": 0.1206,
    "h": 103.4
  },
  "luminance": 0.63153
}

Semantic roles & 50–950 ramp

primary
#DDD371
secondary
#454FAD
accent
#2CC91C
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150E
muted
#85847F

Preview Lab

Preview with #DDD371

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

Preview Lab → · Contrast checker → · Palette generator →

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