#DED372#DED372

#DED372 is a very light, moderate yellow. Relative luminance 0.633; OKLCH L 85.6% C 0.120 H 102.8°. Best body text is #000000 at 13.67:1 contrast (WCAG AA passes).

Color values

HEX#DED372
RGBrgb(222, 211, 114)
HSLhsl(54, 62%, 66%)
HSVhsv(54, 49%, 87%)
CMYKcmyk(0%, 5%, 48.6%, 12.9%)
CIE-LABlab(83.62, -9.08, 49.01)
CIE-LCHlch(83.62, 49.85, 100.50°)
OKLaboklab(85.56% -0.0265 0.1166)
OKLCHoklch(85.56% 0.12 102.8)
XYZxyz(56.4572, 63.3348, 25.1672)
Luminance0.6333 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DED372 #727DDE
analogous
#DE9D72 #DED372 #B3DE72
triadic
#DED372 #72DED3 #D372DE
tetradic
#DED372 #72DE9D #727DDE #DE72B3
square
#DED372 #72DE9D #727DDE #DE72B3
split-complementary
#DED372 #72B3DE #9D72DE
monochromatic
#ADA029 #D2C440 #DED372 #EAE2A4 #F5F2D5

Accessibility & contrast

On white

1.54
#DED372 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.67
#DED372 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DED372
13.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DED372#FFFFFF#000000##000000
##DED3721.001.5413.6713.67
#FFFFFF1.541.0021.0021.00
#00000013.6721.001.001.00
##00000013.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CD6A
Deuteranopia (green-blind)
#E6D376
Tritanopia (blue-blind)
#ECC7BC
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #ded372;
/* rgb */ color: rgb(222, 211, 114);
/* oklch */ color: oklch(85.6% 0.120 102.8);
Tailwind
colors: {
  custom: {
    50: '#eae09d',
    500: '#ded372',
    950: '#000000',
  },
}
SCSS
$custom: #ded372;
$custom-light: #eae09d;
$custom-dark: #000000;
JSON
{
  "hex": "#ded372",
  "rgb": {
    "r": 222,
    "g": 211,
    "b": 114
  },
  "hsl": {
    "h": 53.889,
    "s": 62.069,
    "l": 65.882
  },
  "oklch": {
    "l": 0.85563,
    "c": 0.11958,
    "h": 102.8
  },
  "luminance": 0.63333
}

Semantic roles & 50–950 ramp

primary
#DED372
secondary
#4550AF
accent
#2DCA1C
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150E
muted
#85847F

Preview Lab

Preview with #DED372

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

Preview Lab → · Contrast checker → · Palette generator →

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