#DED171#DED171

#DED171 is a very light, moderate yellow. Relative luminance 0.623; OKLCH L 85.1% C 0.119 H 101.7°. Best body text is #000000 at 13.46:1 contrast (WCAG AA passes).

Color values

HEX#DED171
RGBrgb(222, 209, 113)
HSLhsl(53, 62%, 66%)
HSVhsv(53, 49%, 87%)
CMYKcmyk(0%, 5.9%, 49.1%, 12.9%)
CIE-LABlab(83.09, -8.16, 48.85)
CIE-LCHlch(83.09, 49.53, 99.48°)
OKLaboklab(85.14% -0.024 0.1162)
OKLCHoklch(85.14% 0.119 101.7)
XYZxyz(55.9069, 62.3246, 24.7045)
Luminance0.6232 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DED171 #717EDE
analogous
#DE9A71 #DED171 #B4DE71
triadic
#DED171 #71DED1 #D171DE
tetradic
#DED171 #71DE9A #717EDE #DE71B4
square
#DED171 #71DE9A #717EDE #DE71B4
split-complementary
#DED171 #71B4DE #9A71DE
monochromatic
#AD9D28 #D2C13F #DED171 #EAE1A3 #F5F1D4

Accessibility & contrast

On white

1.56
#DED171 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.46
#DED171 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DED171
13.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DED171#FFFFFF#000000##000000
##DED1711.001.5613.4613.46
#FFFFFF1.561.0021.0021.00
#00000013.4621.001.001.00
##00000013.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0CC69
Deuteranopia (green-blind)
#E4D275
Tritanopia (blue-blind)
#ECC5BB
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #ded171;
/* rgb */ color: rgb(222, 209, 113);
/* oklch */ color: oklch(85.1% 0.119 101.7);
Tailwind
colors: {
  custom: {
    50: '#eade9c',
    500: '#ded171',
    950: '#000000',
  },
}
SCSS
$custom: #ded171;
$custom-light: #eade9c;
$custom-dark: #000000;
JSON
{
  "hex": "#ded171",
  "rgb": {
    "r": 222,
    "g": 209,
    "b": 113
  },
  "hsl": {
    "h": 52.844,
    "s": 62.286,
    "l": 65.686
  },
  "oklch": {
    "l": 0.85137,
    "c": 0.11862,
    "h": 101.7
  },
  "luminance": 0.62323
}

Semantic roles & 50–950 ramp

primary
#DED171
secondary
#4551AF
accent
#30CA1B
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150E
muted
#85847F

Preview Lab

Preview with #DED171

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

Preview Lab → · Contrast checker → · Palette generator →

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