#DED387#DED387

#DED387 is a very light, moderate yellow. Relative luminance 0.639; OKLCH L 85.9% C 0.097 H 101.1°. Best body text is #000000 at 13.77:1 contrast (WCAG AA passes).

Color values

HEX#DED387
RGBrgb(222, 211, 135)
HSLhsl(52, 57%, 70%)
HSVhsv(52, 39%, 87%)
CMYKcmyk(0%, 5%, 39.2%, 12.9%)
CIE-LABlab(83.90, -7.00, 38.99)
CIE-LCHlch(83.90, 39.61, 100.18°)
OKLaboklab(85.88% -0.0186 0.0954)
OKLCHoklch(85.88% 0.097 101.1)
XYZxyz(57.7927, 63.8690, 32.2006)
Luminance0.6387 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DED387 #8792DE
analogous
#DEA887 #DED387 #BDDE87
triadic
#DED387 #87DED3 #D387DE
tetradic
#DED387 #87DEA8 #8792DE #DE87BD
square
#DED387 #87DEA8 #8792DE #DE87BD
split-complementary
#DED387 #87BDDE #A887DE
monochromatic
#B8A733 #D1C157 #DED387 #EBE5B7 #F8F6E7

Accessibility & contrast

On white

1.52
#DED387 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.77
#DED387 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DED387
13.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DED387#FFFFFF#000000##000000
##DED3871.001.5213.7713.77
#FFFFFF1.521.0021.0021.00
#00000013.7721.001.001.00
##00000013.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0CE81
Deuteranopia (green-blind)
#E4D38A
Tritanopia (blue-blind)
#EAC9C0
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #ded387;
/* rgb */ color: rgb(222, 211, 135);
/* oklch */ color: oklch(85.9% 0.097 101.1);
Tailwind
colors: {
  custom: {
    50: '#e9e0ab',
    500: '#ded387',
    950: '#000000',
  },
}
SCSS
$custom: #ded387;
$custom-light: #e9e0ab;
$custom-dark: #000000;
JSON
{
  "hex": "#ded387",
  "rgb": {
    "r": 222,
    "g": 211,
    "b": 135
  },
  "hsl": {
    "h": 52.414,
    "s": 56.863,
    "l": 70
  },
  "oklch": {
    "l": 0.85876,
    "c": 0.09722,
    "h": 101.1
  },
  "luminance": 0.63867
}

Semantic roles & 50–950 ramp

primary
#DED387
secondary
#5460B5
accent
#36C421
background
#FEFEFD
surface
#FDFCF7
border
#D5D5D0
text
#161510
muted
#848481

Preview Lab

Preview with #DED387

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

Preview Lab → · Contrast checker → · Palette generator →

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