#DDD87F#DDD87F

#DDD87F is a very light, moderate yellow. Relative luminance 0.660; OKLCH L 86.7% C 0.111 H 105.7°. Best body text is #000000 at 14.20:1 contrast (WCAG AA passes).

Color values

HEX#DDD87F
RGBrgb(221, 216, 127)
HSLhsl(57, 58%, 68%)
HSVhsv(57, 43%, 87%)
CMYKcmyk(0%, 2.3%, 42.5%, 13.3%)
CIE-LABlab(85.01, -10.77, 44.37)
CIE-LCHlch(85.01, 45.65, 103.64°)
OKLaboklab(86.7% -0.0301 0.1072)
OKLCHoklch(86.7% 0.111 105.7)
XYZxyz(58.2065, 66.0176, 29.7511)
Luminance0.6602 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DDD87F #7F84DD
analogous
#DDA97F #DDD87F #B3DD7F
triadic
#DDD87F #7FDDD8 #D87FDD
tetradic
#DDD87F #7FDDA9 #7F84DD #DD7FB3
square
#DDD87F #7FDDA9 #7F84DD #DD7FB3
split-complementary
#DDD87F #7FB3DD #A97FDD
monochromatic
#B2AB2F #D0C94F #DDD87F #EAE7AF #F7F5E0

Accessibility & contrast

On white

1.48
#DDD87F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.20
#DDD87F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DDD87F
14.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DDD87F#FFFFFF#000000##000000
##DDD87F1.001.4814.2014.20
#FFFFFF1.481.0021.0021.00
#00000014.2021.001.001.00
##00000014.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6D278
Deuteranopia (green-blind)
#E8D683
Tritanopia (blue-blind)
#E9CDC3
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #ddd87f;
/* rgb */ color: rgb(221, 216, 127);
/* oklch */ color: oklch(86.7% 0.111 105.7);
Tailwind
colors: {
  custom: {
    50: '#e9e3a5',
    500: '#ddd87f',
    950: '#000000',
  },
}
SCSS
$custom: #ddd87f;
$custom-light: #e9e3a5;
$custom-dark: #000000;
JSON
{
  "hex": "#ddd87f",
  "rgb": {
    "r": 221,
    "g": 216,
    "b": 127
  },
  "hsl": {
    "h": 56.809,
    "s": 58.025,
    "l": 68.235
  },
  "oklch": {
    "l": 0.86698,
    "c": 0.11133,
    "h": 105.7
  },
  "luminance": 0.66016
}

Semantic roles & 50–950 ramp

primary
#DDD87F
secondary
#4D52B4
accent
#29C620
background
#FEFEFC
surface
#FDFCF6
border
#D5D5D0
text
#16150F
muted
#848480

Preview Lab

Preview with #DDD87F

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

Preview Lab → · Contrast checker → · Palette generator →

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