#DED87A#DED87A

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

Color values

HEX#DED87A
RGBrgb(222, 216, 122)
HSLhsl(56, 60%, 67%)
HSVhsv(56, 45%, 87%)
CMYKcmyk(0%, 2.7%, 45%, 12.9%)
CIE-LABlab(85.02, -10.86, 46.85)
CIE-LCHlch(85.02, 48.10, 103.05°)
OKLaboklab(86.71% -0.0309 0.1124)
OKLCHoklch(86.71% 0.117 105.4)
XYZxyz(58.1942, 66.0480, 28.0916)
Luminance0.6605 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DED87A #7A80DE
analogous
#DEA67A #DED87A #B2DE7A
triadic
#DED87A #7ADED8 #D87ADE
tetradic
#DED87A #7ADEA6 #7A80DE #DE7AB2
square
#DED87A #7ADEA6 #7A80DE #DE7AB2
split-complementary
#DED87A #7AB2DE #A67ADE
monochromatic
#B2AA2C #D2CA49 #DED87A #EAE6AB #F6F5DC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DED87A#FFFFFF#000000##000000
##DED87A1.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)
#E6D272
Deuteranopia (green-blind)
#E9D67E
Tritanopia (blue-blind)
#EBCDC2
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #ded87a;
/* rgb */ color: rgb(222, 216, 122);
/* oklch */ color: oklch(86.7% 0.117 105.4);
Tailwind
colors: {
  custom: {
    50: '#eae3a2',
    500: '#ded87a',
    950: '#000000',
  },
}
SCSS
$custom: #ded87a;
$custom-light: #eae3a2;
$custom-dark: #000000;
JSON
{
  "hex": "#ded87a",
  "rgb": {
    "r": 222,
    "g": 216,
    "b": 122
  },
  "hsl": {
    "h": 56.4,
    "s": 60.241,
    "l": 67.451
  },
  "oklch": {
    "l": 0.86709,
    "c": 0.11657,
    "h": 105.4
  },
  "luminance": 0.66046
}

Semantic roles & 50–950 ramp

primary
#DED87A
secondary
#494FB3
accent
#28C81E
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150F
muted
#858480

Preview Lab

Preview with #DED87A

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

Preview Lab → · Contrast checker → · Palette generator →

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