#DED871#DED871

#DED871 is a very light, vivid yellow. Relative luminance 0.658; OKLCH L 86.6% C 0.126 H 105.8°. Best body text is #000000 at 14.17:1 contrast (WCAG AA passes).

Color values

HEX#DED871
RGBrgb(222, 216, 113)
HSLhsl(57, 62%, 66%)
HSVhsv(57, 49%, 87%)
CMYKcmyk(0%, 2.7%, 49.1%, 12.9%)
CIE-LABlab(84.91, -11.69, 51.05)
CIE-LCHlch(84.91, 52.37, 102.90°)
OKLaboklab(86.59% -0.0341 0.121)
OKLCHoklch(86.59% 0.126 105.8)
XYZxyz(57.6622, 65.8352, 25.2896)
Luminance0.6583 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DED871 #7177DE
analogous
#DEA171 #DED871 #ADDE71
triadic
#DED871 #71DED8 #D871DE
tetradic
#DED871 #71DEA1 #7177DE #DE71AD
square
#DED871 #71DEA1 #7177DE #DE71AD
split-complementary
#DED871 #71ADDE #A171DE
monochromatic
#ADA528 #D2CA3F #DED871 #EAE6A3 #F5F3D4

Accessibility & contrast

On white

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

On black

14.17
#DED871 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DED871
14.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DED871#FFFFFF#000000##000000
##DED8711.001.4814.1714.17
#FFFFFF1.481.0021.0021.00
#00000014.1721.001.001.00
##00000014.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D168
Deuteranopia (green-blind)
#EAD676
Tritanopia (blue-blind)
#ECCCC0
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #ded871;
/* rgb */ color: rgb(222, 216, 113);
/* oklch */ color: oklch(86.6% 0.126 105.8);
Tailwind
colors: {
  custom: {
    50: '#eae39c',
    500: '#ded871',
    950: '#000000',
  },
}
SCSS
$custom: #ded871;
$custom-light: #eae39c;
$custom-dark: #000000;
JSON
{
  "hex": "#ded871",
  "rgb": {
    "r": 222,
    "g": 216,
    "b": 113
  },
  "hsl": {
    "h": 56.697,
    "s": 62.286,
    "l": 65.686
  },
  "oklch": {
    "l": 0.86587,
    "c": 0.1257,
    "h": 105.8
  },
  "luminance": 0.65834
}

Semantic roles & 50–950 ramp

primary
#DED871
secondary
#454AAF
accent
#25CA1B
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150E
muted
#85847F

Preview Lab

Preview with #DED871

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

Preview Lab → · Contrast checker → · Palette generator →

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