#DED786#DED786

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

Color values

HEX#DED786
RGBrgb(222, 215, 134)
HSLhsl(55, 57%, 70%)
HSVhsv(55, 40%, 87%)
CMYKcmyk(0%, 3.2%, 39.6%, 12.9%)
CIE-LABlab(84.92, -9.14, 40.80)
CIE-LCHlch(84.92, 41.81, 102.63°)
OKLaboklab(86.68% -0.0249 0.0995)
OKLCHoklch(86.68% 0.103 104)
XYZxyz(58.7287, 65.8532, 32.1669)
Luminance0.6585 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DED786 #868DDE
analogous
#DEAB86 #DED786 #B9DE86
triadic
#DED786 #86DED7 #D786DE
tetradic
#DED786 #86DEAB #868DDE #DE86B9
square
#DED786 #86DEAB #868DDE #DE86B9
split-complementary
#DED786 #86B9DE #AB86DE
monochromatic
#B8AD32 #D1C756 #DED786 #EBE7B6 #F8F7E6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DED786#FFFFFF#000000##000000
##DED7861.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)
#E4D280
Deuteranopia (green-blind)
#E7D689
Tritanopia (blue-blind)
#EACDC3
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #ded786;
/* rgb */ color: rgb(222, 215, 134);
/* oklch */ color: oklch(86.7% 0.103 104.0);
Tailwind
colors: {
  custom: {
    50: '#e9e3aa',
    500: '#ded786',
    950: '#000000',
  },
}
SCSS
$custom: #ded786;
$custom-light: #e9e3aa;
$custom-dark: #000000;
JSON
{
  "hex": "#ded786",
  "rgb": {
    "r": 222,
    "g": 215,
    "b": 134
  },
  "hsl": {
    "h": 55.227,
    "s": 57.143,
    "l": 69.804
  },
  "oklch": {
    "l": 0.86682,
    "c": 0.10257,
    "h": 104
  },
  "luminance": 0.65852
}

Semantic roles & 50–950 ramp

primary
#DED786
secondary
#535BB5
accent
#2EC521
background
#FEFEFD
surface
#FDFCF7
border
#D5D5D0
text
#161510
muted
#848481

Preview Lab

Preview with #DED786

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

Preview Lab → · Contrast checker → · Palette generator →

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