#DED475#DED475

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

Color values

HEX#DED475
RGBrgb(222, 212, 117)
HSLhsl(54, 61%, 66%)
HSVhsv(54, 47%, 87%)
CMYKcmyk(0%, 4.5%, 47.3%, 12.9%)
CIE-LABlab(83.92, -9.32, 47.93)
CIE-LCHlch(83.92, 48.82, 101.00°)
OKLaboklab(85.81% -0.0269 0.1144)
OKLCHoklch(85.81% 0.118 103.2)
XYZxyz(56.8800, 63.9026, 26.1644)
Luminance0.6390 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DED475 #757FDE
analogous
#DEA075 #DED475 #B4DE75
triadic
#DED475 #75DED4 #D475DE
tetradic
#DED475 #75DEA0 #757FDE #DE75B4
square
#DED475 #75DEA0 #757FDE #DE75B4
split-complementary
#DED475 #75B4DE #A075DE
monochromatic
#AFA22A #D2C544 #DED475 #EAE3A6 #F6F3D8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DED475#FFFFFF#000000##000000
##DED4751.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)
#E3CE6D
Deuteranopia (green-blind)
#E6D479
Tritanopia (blue-blind)
#ECC9BE
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #ded475;
/* rgb */ color: rgb(222, 212, 117);
/* oklch */ color: oklch(85.8% 0.118 103.2);
Tailwind
colors: {
  custom: {
    50: '#eae19f',
    500: '#ded475',
    950: '#000000',
  },
}
SCSS
$custom: #ded475;
$custom-light: #eae19f;
$custom-dark: #000000;
JSON
{
  "hex": "#ded475",
  "rgb": {
    "r": 222,
    "g": 212,
    "b": 117
  },
  "hsl": {
    "h": 54.286,
    "s": 61.404,
    "l": 66.471
  },
  "oklch": {
    "l": 0.85811,
    "c": 0.11756,
    "h": 103.2
  },
  "luminance": 0.63901
}

Semantic roles & 50–950 ramp

primary
#DED475
secondary
#4651B1
accent
#2DC91C
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150F
muted
#858480

Preview Lab

Preview with #DED475

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

Preview Lab → · Contrast checker → · Palette generator →

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