#DED877#DED877

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

Color values

HEX#DED877
RGBrgb(222, 216, 119)
HSLhsl(57, 61%, 67%)
HSVhsv(57, 46%, 87%)
CMYKcmyk(0%, 2.7%, 46.4%, 12.9%)
CIE-LABlab(84.98, -11.15, 48.26)
CIE-LCHlch(84.98, 49.53, 103.01°)
OKLaboklab(86.67% -0.032 0.1153)
OKLCHoklch(86.67% 0.12 105.5)
XYZxyz(58.0112, 65.9748, 27.1277)
Luminance0.6597 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DED877 #777DDE
analogous
#DEA577 #DED877 #B1DE77
triadic
#DED877 #77DED8 #D877DE
tetradic
#DED877 #77DEA5 #777DDE #DE77B1
square
#DED877 #77DEA5 #777DDE #DE77B1
split-complementary
#DED877 #77B1DE #A577DE
monochromatic
#B0A82B #D2CA46 #DED877 #EAE6A8 #F6F4DA

Accessibility & contrast

On white

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

On black

14.19
#DED877 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DED877
14.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DED877#FFFFFF#000000##000000
##DED8771.001.4814.1914.19
#FFFFFF1.481.0021.0021.00
#00000014.1921.001.001.00
##00000014.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D26F
Deuteranopia (green-blind)
#E9D67B
Tritanopia (blue-blind)
#EBCDC1
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #ded877;
/* rgb */ color: rgb(222, 216, 119);
/* oklch */ color: oklch(86.7% 0.120 105.5);
Tailwind
colors: {
  custom: {
    50: '#eae3a0',
    500: '#ded877',
    950: '#000000',
  },
}
SCSS
$custom: #ded877;
$custom-light: #eae3a0;
$custom-dark: #000000;
JSON
{
  "hex": "#ded877",
  "rgb": {
    "r": 222,
    "g": 216,
    "b": 119
  },
  "hsl": {
    "h": 56.505,
    "s": 60.947,
    "l": 66.863
  },
  "oklch": {
    "l": 0.86667,
    "c": 0.11967,
    "h": 105.5
  },
  "luminance": 0.65973
}

Semantic roles & 50–950 ramp

primary
#DED877
secondary
#474EB2
accent
#27C91D
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150F
muted
#858480

Preview Lab

Preview with #DED877

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

Preview Lab → · Contrast checker → · Palette generator →

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