#DED477#DED477

#DED477 is a very light, moderate yellow. Relative luminance 0.639; OKLCH L 85.8% C 0.116 H 103.1°. Best body text is #000000 at 13.79:1 contrast (WCAG AA passes).

Color values

HEX#DED477
RGBrgb(222, 212, 119)
HSLhsl(54, 61%, 67%)
HSVhsv(54, 46%, 87%)
CMYKcmyk(0%, 4.5%, 46.4%, 12.9%)
CIE-LABlab(83.94, -9.13, 46.99)
CIE-LCHlch(83.94, 47.86, 101.00°)
OKLaboklab(85.84% -0.0262 0.1125)
OKLCHoklch(85.84% 0.116 103.1)
XYZxyz(56.9989, 63.9502, 26.7903)
Luminance0.6395 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DED477 #7781DE
analogous
#DEA177 #DED477 #B5DE77
triadic
#DED477 #77DED4 #D477DE
tetradic
#DED477 #77DEA1 #7781DE #DE77B5
square
#DED477 #77DEA1 #7781DE #DE77B5
split-complementary
#DED477 #77B5DE #A177DE
monochromatic
#B0A32B #D2C446 #DED477 #EAE4A8 #F6F3DA

Accessibility & contrast

On white

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

On black

13.79
#DED477 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DED477
13.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DED477#FFFFFF#000000##000000
##DED4771.001.5213.7913.79
#FFFFFF1.521.0021.0021.00
#00000013.7921.001.001.00
##00000013.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CE6F
Deuteranopia (green-blind)
#E6D47B
Tritanopia (blue-blind)
#EBC9BE
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #ded477;
/* rgb */ color: rgb(222, 212, 119);
/* oklch */ color: oklch(85.8% 0.116 103.1);
Tailwind
colors: {
  custom: {
    50: '#eae1a0',
    500: '#ded477',
    950: '#000000',
  },
}
SCSS
$custom: #ded477;
$custom-light: #eae1a0;
$custom-dark: #000000;
JSON
{
  "hex": "#ded477",
  "rgb": {
    "r": 222,
    "g": 212,
    "b": 119
  },
  "hsl": {
    "h": 54.175,
    "s": 60.947,
    "l": 66.863
  },
  "oklch": {
    "l": 0.85838,
    "c": 0.1155,
    "h": 103.1
  },
  "luminance": 0.63948
}

Semantic roles & 50–950 ramp

primary
#DED477
secondary
#4752B2
accent
#2EC91D
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150F
muted
#858480

Preview Lab

Preview with #DED477

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

Preview Lab → · Contrast checker → · Palette generator →

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