#DED87B#DED87B

#DED87B is a very light, moderate yellow. Relative luminance 0.661; OKLCH L 86.7% C 0.116 H 105.3°. Best body text is #000000 at 14.21:1 contrast (WCAG AA passes).

Color values

HEX#DED87B
RGBrgb(222, 216, 123)
HSLhsl(56, 60%, 68%)
HSVhsv(56, 45%, 87%)
CMYKcmyk(0%, 2.7%, 44.6%, 12.9%)
CIE-LABlab(85.03, -10.77, 46.38)
CIE-LCHlch(85.03, 47.61, 103.07°)
OKLaboklab(86.72% -0.0305 0.1114)
OKLCHoklch(86.72% 0.116 105.3)
XYZxyz(58.2565, 66.0729, 28.4196)
Luminance0.6607 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DED87B #7B81DE
analogous
#DEA77B #DED87B #B2DE7B
triadic
#DED87B #7BDED8 #D87BDE
tetradic
#DED87B #7BDEA7 #7B81DE #DE7BB2
square
#DED87B #7BDEA7 #7B81DE #DE7BB2
split-complementary
#DED87B #7BB2DE #A77BDE
monochromatic
#B2AA2D #D2CA4A #DED87B #EAE6AC #F6F5DD

Accessibility & contrast

On white

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

On black

14.21
#DED87B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DED87B
14.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DED87B#FFFFFF#000000##000000
##DED87B1.001.4814.2114.21
#FFFFFF1.481.0021.0021.00
#00000014.2121.001.001.00
##00000014.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6D273
Deuteranopia (green-blind)
#E9D67F
Tritanopia (blue-blind)
#EBCDC2
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #ded87b;
/* rgb */ color: rgb(222, 216, 123);
/* oklch */ color: oklch(86.7% 0.116 105.3);
Tailwind
colors: {
  custom: {
    50: '#eae3a3',
    500: '#ded87b',
    950: '#000000',
  },
}
SCSS
$custom: #ded87b;
$custom-light: #eae3a3;
$custom-dark: #000000;
JSON
{
  "hex": "#ded87b",
  "rgb": {
    "r": 222,
    "g": 216,
    "b": 123
  },
  "hsl": {
    "h": 56.364,
    "s": 60,
    "l": 67.647
  },
  "oklch": {
    "l": 0.86723,
    "c": 0.11553,
    "h": 105.3
  },
  "luminance": 0.66071
}

Semantic roles & 50–950 ramp

primary
#DED87B
secondary
#4950B4
accent
#28C81E
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150F
muted
#858480

Preview Lab

Preview with #DED87B

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

Preview Lab → · Contrast checker → · Palette generator →

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