#DED172#DED172

#DED172 is a very light, moderate yellow. Relative luminance 0.623; OKLCH L 85.2% C 0.118 H 101.6°. Best body text is #000000 at 13.47:1 contrast (WCAG AA passes).

Color values

HEX#DED172
RGBrgb(222, 209, 114)
HSLhsl(53, 62%, 66%)
HSVhsv(53, 49%, 87%)
CMYKcmyk(0%, 5.9%, 48.6%, 12.9%)
CIE-LABlab(83.10, -8.07, 48.39)
CIE-LCHlch(83.10, 49.05, 99.47°)
OKLaboklab(85.15% -0.0236 0.1152)
OKLCHoklch(85.15% 0.118 101.6)
XYZxyz(55.9635, 62.3473, 25.0026)
Luminance0.6234 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DED172 #727FDE
analogous
#DE9B72 #DED172 #B5DE72
triadic
#DED172 #72DED1 #D172DE
tetradic
#DED172 #72DE9B #727FDE #DE72B5
square
#DED172 #72DE9B #727FDE #DE72B5
split-complementary
#DED172 #72B5DE #9B72DE
monochromatic
#AD9D29 #D2C140 #DED172 #EAE1A4 #F5F1D5

Accessibility & contrast

On white

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

On black

13.47
#DED172 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DED172
13.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DED172#FFFFFF#000000##000000
##DED1721.001.5613.4713.47
#FFFFFF1.561.0021.0021.00
#00000013.4721.001.001.00
##00000013.4721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ded172;
/* rgb */ color: rgb(222, 209, 114);
/* oklch */ color: oklch(85.2% 0.118 101.6);
Tailwind
colors: {
  custom: {
    50: '#eade9c',
    500: '#ded172',
    950: '#000000',
  },
}
SCSS
$custom: #ded172;
$custom-light: #eade9c;
$custom-dark: #000000;
JSON
{
  "hex": "#ded172",
  "rgb": {
    "r": 222,
    "g": 209,
    "b": 114
  },
  "hsl": {
    "h": 52.778,
    "s": 62.069,
    "l": 65.882
  },
  "oklch": {
    "l": 0.8515,
    "c": 0.11762,
    "h": 101.6
  },
  "luminance": 0.62345
}

Semantic roles & 50–950 ramp

primary
#DED172
secondary
#4552AF
accent
#31CA1C
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150E
muted
#85847F

Preview Lab

Preview with #DED172

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

Preview Lab → · Contrast checker → · Palette generator →

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