#DDC871#DDC871

#DDC871 is a very light, moderate yellow. Relative luminance 0.579; OKLCH L 83.2% C 0.110 H 96.1°. Best body text is #000000 at 12.57:1 contrast (WCAG AA passes).

Color values

HEX#DDC871
RGBrgb(221, 200, 113)
HSLhsl(48, 61%, 65%)
HSVhsv(48, 49%, 87%)
CMYKcmyk(0%, 9.5%, 48.9%, 13.3%)
CIE-LABlab(80.67, -3.96, 45.90)
CIE-LCHlch(80.67, 46.07, 94.93°)
OKLaboklab(83.2% -0.0118 0.1097)
OKLCHoklch(83.2% 0.11 96.1)
XYZxyz(53.4554, 57.8751, 23.9748)
Luminance0.5787 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DDC871 #7186DD
analogous
#DD9271 #DDC871 #BCDD71
triadic
#DDC871 #71DDC8 #C871DD
tetradic
#DDC871 #71DD92 #7186DD #DD71BC
square
#DDC871 #71DD92 #7186DD #DD71BC
split-complementary
#DDC871 #71BCDD #9271DD
monochromatic
#AB9129 #D1B540 #DDC871 #E9DBA2 #F5EED4

Accessibility & contrast

On white

1.67
#DDC871 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.57
#DDC871 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DDC871
12.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DDC871#FFFFFF#000000##000000
##DDC8711.001.6712.5712.57
#FFFFFF1.671.0021.0021.00
#00000012.5721.001.001.00
##00000012.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C46A
Deuteranopia (green-blind)
#DDCB74
Tritanopia (blue-blind)
#EBBCB3
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #ddc871;
/* rgb */ color: rgb(221, 200, 113);
/* oklch */ color: oklch(83.2% 0.110 96.1);
Tailwind
colors: {
  custom: {
    50: '#ead89b',
    500: '#ddc871',
    950: '#000000',
  },
}
SCSS
$custom: #ddc871;
$custom-light: #ead89b;
$custom-dark: #000000;
JSON
{
  "hex": "#ddc871",
  "rgb": {
    "r": 221,
    "g": 200,
    "b": 113
  },
  "hsl": {
    "h": 48.333,
    "s": 61.364,
    "l": 65.49
  },
  "oklch": {
    "l": 0.83203,
    "c": 0.11029,
    "h": 96.1
  },
  "luminance": 0.57873
}

Semantic roles & 50–950 ramp

primary
#DDC871
secondary
#4559AD
accent
#3EC91C
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#16140E
muted
#85837F

Preview Lab

Preview with #DDC871

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

Preview Lab → · Contrast checker → · Palette generator →

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