#DED474#DED474

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

Color values

HEX#DED474
RGBrgb(222, 212, 116)
HSLhsl(54, 62%, 66%)
HSVhsv(54, 48%, 87%)
CMYKcmyk(0%, 4.5%, 47.7%, 12.9%)
CIE-LABlab(83.90, -9.41, 48.40)
CIE-LCHlch(83.90, 49.30, 101.00°)
OKLaboklab(85.8% -0.0273 0.1154)
OKLCHoklch(85.8% 0.119 103.3)
XYZxyz(56.8215, 63.8793, 25.8564)
Luminance0.6388 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DED474 #747EDE
analogous
#DE9F74 #DED474 #B3DE74
triadic
#DED474 #74DED4 #D474DE
tetradic
#DED474 #74DE9F #747EDE #DE74B3
square
#DED474 #74DE9F #747EDE #DE74B3
split-complementary
#DED474 #74B3DE #9F74DE
monochromatic
#AEA229 #D2C543 #DED474 #EAE3A5 #F5F3D7

Accessibility & contrast

On white

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

On black

13.78
#DED474 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DED474
13.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DED474#FFFFFF#000000##000000
##DED4741.001.5213.7813.78
#FFFFFF1.521.0021.0021.00
#00000013.7821.001.001.00
##00000013.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CE6C
Deuteranopia (green-blind)
#E6D478
Tritanopia (blue-blind)
#ECC9BD
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #ded474;
/* rgb */ color: rgb(222, 212, 116);
/* oklch */ color: oklch(85.8% 0.119 103.3);
Tailwind
colors: {
  custom: {
    50: '#eae19e',
    500: '#ded474',
    950: '#000000',
  },
}
SCSS
$custom: #ded474;
$custom-light: #eae19e;
$custom-dark: #000000;
JSON
{
  "hex": "#ded474",
  "rgb": {
    "r": 222,
    "g": 212,
    "b": 116
  },
  "hsl": {
    "h": 54.34,
    "s": 61.628,
    "l": 66.275
  },
  "oklch": {
    "l": 0.85797,
    "c": 0.11857,
    "h": 103.3
  },
  "luminance": 0.63878
}

Semantic roles & 50–950 ramp

primary
#DED474
secondary
#4650B0
accent
#2CC91C
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150E
muted
#85847F

Preview Lab

Preview with #DED474

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

Preview Lab → · Contrast checker → · Palette generator →

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