#DEDC87#DEDC87

#DEDC87 is a very light, moderate yellow. Relative luminance 0.685; OKLCH L 87.7% C 0.107 H 107.2°. Best body text is #000000 at 14.69:1 contrast (WCAG AA passes).

Color values

HEX#DEDC87
RGBrgb(222, 220, 135)
HSLhsl(59, 57%, 70%)
HSVhsv(59, 39%, 87%)
CMYKcmyk(0%, 0.9%, 39.2%, 12.9%)
CIE-LABlab(86.24, -11.55, 41.98)
CIE-LCHlch(86.24, 43.54, 105.38°)
OKLaboklab(87.73% -0.0317 0.1022)
OKLCHoklch(87.73% 0.107 107.2)
XYZxyz(60.0915, 68.4666, 32.9668)
Luminance0.6846 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEDC87 #8789DE
analogous
#DEB187 #DEDC87 #B4DE87
triadic
#DEDC87 #87DEDC #DC87DE
tetradic
#DEDC87 #87DEB1 #8789DE #DE87B4
square
#DEDC87 #87DEB1 #8789DE #DE87B4
split-complementary
#DEDC87 #87B4DE #B187DE
monochromatic
#B8B533 #D1CE57 #DEDC87 #EBEAB7 #F8F8E7

Accessibility & contrast

On white

1.43
#DEDC87 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.69
#DEDC87 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEDC87
14.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEDC87#FFFFFF#000000##000000
##DEDC871.001.4314.6914.69
#FFFFFF1.431.0021.0021.00
#00000014.6921.001.001.00
##00000014.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D680
Deuteranopia (green-blind)
#EBD98B
Tritanopia (blue-blind)
#EAD2C7
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #dedc87;
/* rgb */ color: rgb(222, 220, 135);
/* oklch */ color: oklch(87.7% 0.107 107.2);
Tailwind
colors: {
  custom: {
    50: '#e9e6ab',
    500: '#dedc87',
    950: '#000000',
  },
}
SCSS
$custom: #dedc87;
$custom-light: #e9e6ab;
$custom-dark: #000000;
JSON
{
  "hex": "#dedc87",
  "rgb": {
    "r": 222,
    "g": 220,
    "b": 135
  },
  "hsl": {
    "h": 58.621,
    "s": 56.863,
    "l": 70
  },
  "oklch": {
    "l": 0.87733,
    "c": 0.10704,
    "h": 107.2
  },
  "luminance": 0.68465
}

Semantic roles & 50–950 ramp

primary
#DEDC87
secondary
#5456B5
accent
#25C421
background
#FEFEFD
surface
#FDFCF7
border
#D5D5D0
text
#161610
muted
#848481

Preview Lab

Preview with #DEDC87

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

Preview Lab → · Contrast checker → · Palette generator →

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