#DED787#DED787

#DED787 is a very light, moderate yellow. Relative luminance 0.659; OKLCH L 86.7% C 0.101 H 104.0°. Best body text is #000000 at 14.18:1 contrast (WCAG AA passes).

Color values

HEX#DED787
RGBrgb(222, 215, 135)
HSLhsl(55, 57%, 70%)
HSVhsv(55, 39%, 87%)
CMYKcmyk(0%, 3.2%, 39.2%, 12.9%)
CIE-LABlab(84.94, -9.03, 40.32)
CIE-LCHlch(84.94, 41.32, 102.63°)
OKLaboklab(86.7% -0.0245 0.0985)
OKLCHoklch(86.7% 0.101 104)
XYZxyz(58.7988, 65.8812, 32.5359)
Luminance0.6588 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DED787 #878EDE
analogous
#DEAB87 #DED787 #BADE87
triadic
#DED787 #87DED7 #D787DE
tetradic
#DED787 #87DEAB #878EDE #DE87BA
square
#DED787 #87DEAB #878EDE #DE87BA
split-complementary
#DED787 #87BADE #AB87DE
monochromatic
#B8AD33 #D1C757 #DED787 #EBE7B7 #F8F7E7

Accessibility & contrast

On white

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

On black

14.18
#DED787 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DED787
14.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DED787#FFFFFF#000000##000000
##DED7871.001.4814.1814.18
#FFFFFF1.481.0021.0021.00
#00000014.1821.001.001.00
##00000014.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4D281
Deuteranopia (green-blind)
#E7D68A
Tritanopia (blue-blind)
#EACDC3
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #ded787;
/* rgb */ color: rgb(222, 215, 135);
/* oklch */ color: oklch(86.7% 0.101 104.0);
Tailwind
colors: {
  custom: {
    50: '#e9e3ab',
    500: '#ded787',
    950: '#000000',
  },
}
SCSS
$custom: #ded787;
$custom-light: #e9e3ab;
$custom-dark: #000000;
JSON
{
  "hex": "#ded787",
  "rgb": {
    "r": 222,
    "g": 215,
    "b": 135
  },
  "hsl": {
    "h": 55.172,
    "s": 56.863,
    "l": 70
  },
  "oklch": {
    "l": 0.86698,
    "c": 0.10145,
    "h": 104
  },
  "luminance": 0.6588
}

Semantic roles & 50–950 ramp

primary
#DED787
secondary
#545CB5
accent
#2EC421
background
#FEFEFD
surface
#FDFCF7
border
#D5D5D0
text
#161510
muted
#848481

Preview Lab

Preview with #DED787

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

Preview Lab → · Contrast checker → · Palette generator →

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