#DED987#DED987

#DED987 is a very light, moderate yellow. Relative luminance 0.669; OKLCH L 87.1% C 0.104 H 105.3°. Best body text is #000000 at 14.38:1 contrast (WCAG AA passes).

Color values

HEX#DED987
RGBrgb(222, 217, 135)
HSLhsl(57, 57%, 70%)
HSVhsv(57, 39%, 87%)
CMYKcmyk(0%, 2.3%, 39.2%, 12.9%)
CIE-LABlab(85.46, -10.04, 40.98)
CIE-LCHlch(85.46, 42.19, 103.77°)
OKLaboklab(87.11% -0.0274 0.1)
OKLCHoklch(87.11% 0.104 105.3)
XYZxyz(59.3112, 66.9060, 32.7067)
Luminance0.6691 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DED987 #878CDE
analogous
#DEAE87 #DED987 #B7DE87
triadic
#DED987 #87DED9 #D987DE
tetradic
#DED987 #87DEAE #878CDE #DE87B7
square
#DED987 #87DEAE #878CDE #DE87B7
split-complementary
#DED987 #87B7DE #AE87DE
monochromatic
#B8B033 #D1CA57 #DED987 #EBE8B7 #F8F7E7

Accessibility & contrast

On white

1.46
#DED987 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.38
#DED987 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DED987
14.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DED987#FFFFFF#000000##000000
##DED9871.001.4614.3814.38
#FFFFFF1.461.0021.0021.00
#00000014.3821.001.001.00
##00000014.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6D381
Deuteranopia (green-blind)
#E8D78A
Tritanopia (blue-blind)
#EACFC5
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #ded987;
/* rgb */ color: rgb(222, 217, 135);
/* oklch */ color: oklch(87.1% 0.104 105.3);
Tailwind
colors: {
  custom: {
    50: '#e9e4ab',
    500: '#ded987',
    950: '#000000',
  },
}
SCSS
$custom: #ded987;
$custom-light: #e9e4ab;
$custom-dark: #000000;
JSON
{
  "hex": "#ded987",
  "rgb": {
    "r": 222,
    "g": 217,
    "b": 135
  },
  "hsl": {
    "h": 56.552,
    "s": 56.863,
    "l": 70
  },
  "oklch": {
    "l": 0.87112,
    "c": 0.10365,
    "h": 105.3
  },
  "luminance": 0.66905
}

Semantic roles & 50–950 ramp

primary
#DED987
secondary
#5459B5
accent
#2AC421
background
#FEFEFD
surface
#FDFCF7
border
#D5D5D0
text
#161510
muted
#848481

Preview Lab

Preview with #DED987

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

Preview Lab → · Contrast checker → · Palette generator →

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