#DED287#DED287

#DED287 is a very light, moderate yellow. Relative luminance 0.634; OKLCH L 85.7% C 0.096 H 100.3°. Best body text is #000000 at 13.67:1 contrast (WCAG AA passes).

Color values

HEX#DED287
RGBrgb(222, 210, 135)
HSLhsl(52, 57%, 70%)
HSVhsv(52, 39%, 87%)
CMYKcmyk(0%, 5.4%, 39.2%, 12.9%)
CIE-LABlab(83.64, -6.49, 38.66)
CIE-LCHlch(83.64, 39.20, 99.53°)
OKLaboklab(85.67% -0.0172 0.0947)
OKLCHoklch(85.67% 0.096 100.3)
XYZxyz(57.5450, 63.3737, 32.1180)
Luminance0.6337 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DED287 #8793DE
analogous
#DEA687 #DED287 #BFDE87
triadic
#DED287 #87DED2 #D287DE
tetradic
#DED287 #87DEA6 #8793DE #DE87BF
square
#DED287 #87DEA6 #8793DE #DE87BF
split-complementary
#DED287 #87BFDE #A687DE
monochromatic
#B8A633 #D1C057 #DED287 #EBE4B7 #F8F6E7

Accessibility & contrast

On white

1.54
#DED287 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.67
#DED287 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DED287
13.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DED287#FFFFFF#000000##000000
##DED2871.001.5413.6713.67
#FFFFFF1.541.0021.0021.00
#00000013.6721.001.001.00
##00000013.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFCE81
Deuteranopia (green-blind)
#E3D38A
Tritanopia (blue-blind)
#EAC8BF
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #ded287;
/* rgb */ color: rgb(222, 210, 135);
/* oklch */ color: oklch(85.7% 0.096 100.3);
Tailwind
colors: {
  custom: {
    50: '#e9dfab',
    500: '#ded287',
    950: '#000000',
  },
}
SCSS
$custom: #ded287;
$custom-light: #e9dfab;
$custom-dark: #000000;
JSON
{
  "hex": "#ded287",
  "rgb": {
    "r": 222,
    "g": 210,
    "b": 135
  },
  "hsl": {
    "h": 51.724,
    "s": 56.863,
    "l": 70
  },
  "oklch": {
    "l": 0.8567,
    "c": 0.0962,
    "h": 100.3
  },
  "luminance": 0.63372
}

Semantic roles & 50–950 ramp

primary
#DED287
secondary
#5461B5
accent
#38C421
background
#FEFEFD
surface
#FDFCF7
border
#D5D5D0
text
#161510
muted
#848481

Preview Lab

Preview with #DED287

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

Preview Lab → · Contrast checker → · Palette generator →

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