#DED572#DED572

#DED572 is a very light, vivid yellow. Relative luminance 0.643; OKLCH L 86.0% C 0.122 H 104.0°. Best body text is #000000 at 13.87:1 contrast (WCAG AA passes).

Color values

HEX#DED572
RGBrgb(222, 213, 114)
HSLhsl(55, 62%, 66%)
HSVhsv(55, 49%, 87%)
CMYKcmyk(0%, 4.1%, 48.6%, 12.9%)
CIE-LABlab(84.14, -10.10, 49.64)
CIE-LCHlch(84.14, 50.66, 101.49°)
OKLaboklab(85.98% -0.0294 0.118)
OKLCHoklch(85.98% 0.122 104)
XYZxyz(56.9572, 64.3347, 25.3339)
Luminance0.6433 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DED572 #727BDE
analogous
#DE9F72 #DED572 #B1DE72
triadic
#DED572 #72DED5 #D572DE
tetradic
#DED572 #72DE9F #727BDE #DE72B1
square
#DED572 #72DE9F #727BDE #DE72B1
split-complementary
#DED572 #72B1DE #9F72DE
monochromatic
#ADA229 #D2C640 #DED572 #EAE4A4 #F5F3D5

Accessibility & contrast

On white

1.51
#DED572 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.87
#DED572 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DED572
13.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DED572#FFFFFF#000000##000000
##DED5721.001.5113.8713.87
#FFFFFF1.511.0021.0021.00
#00000013.8721.001.001.00
##00000013.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CF69
Deuteranopia (green-blind)
#E7D477
Tritanopia (blue-blind)
#ECC9BE
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #ded572;
/* rgb */ color: rgb(222, 213, 114);
/* oklch */ color: oklch(86.0% 0.122 104.0);
Tailwind
colors: {
  custom: {
    50: '#eae19d',
    500: '#ded572',
    950: '#000000',
  },
}
SCSS
$custom: #ded572;
$custom-light: #eae19d;
$custom-dark: #000000;
JSON
{
  "hex": "#ded572",
  "rgb": {
    "r": 222,
    "g": 213,
    "b": 114
  },
  "hsl": {
    "h": 55,
    "s": 62.069,
    "l": 65.882
  },
  "oklch": {
    "l": 0.85977,
    "c": 0.1216,
    "h": 104
  },
  "luminance": 0.64333
}

Semantic roles & 50–950 ramp

primary
#DED572
secondary
#454EAF
accent
#2ACA1C
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150E
muted
#85847F

Preview Lab

Preview with #DED572

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

Preview Lab → · Contrast checker → · Palette generator →

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