#DED371#DED371

#DED371 is a very light, vivid yellow. Relative luminance 0.633; OKLCH L 85.5% C 0.121 H 102.9°. Best body text is #000000 at 13.66:1 contrast (WCAG AA passes).

Color values

HEX#DED371
RGBrgb(222, 211, 113)
HSLhsl(54, 62%, 66%)
HSVhsv(54, 49%, 87%)
CMYKcmyk(0%, 5%, 49.1%, 12.9%)
CIE-LABlab(83.61, -9.17, 49.48)
CIE-LCHlch(83.61, 50.32, 100.50°)
OKLaboklab(85.55% -0.0269 0.1175)
OKLCHoklch(85.55% 0.121 102.9)
XYZxyz(56.4006, 63.3122, 24.8691)
Luminance0.6331 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DED371 #717CDE
analogous
#DE9C71 #DED371 #B2DE71
triadic
#DED371 #71DED3 #D371DE
tetradic
#DED371 #71DE9C #717CDE #DE71B2
square
#DED371 #71DE9C #717CDE #DE71B2
split-complementary
#DED371 #71B2DE #9C71DE
monochromatic
#AD9F28 #D2C43F #DED371 #EAE2A3 #F5F2D4

Accessibility & contrast

On white

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

On black

13.66
#DED371 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DED371
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DED371#FFFFFF#000000##000000
##DED3711.001.5413.6613.66
#FFFFFF1.541.0021.0021.00
#00000013.6621.001.001.00
##00000013.6621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ded371;
/* rgb */ color: rgb(222, 211, 113);
/* oklch */ color: oklch(85.5% 0.121 102.9);
Tailwind
colors: {
  custom: {
    50: '#eae09c',
    500: '#ded371',
    950: '#000000',
  },
}
SCSS
$custom: #ded371;
$custom-light: #eae09c;
$custom-dark: #000000;
JSON
{
  "hex": "#ded371",
  "rgb": {
    "r": 222,
    "g": 211,
    "b": 113
  },
  "hsl": {
    "h": 53.945,
    "s": 62.286,
    "l": 65.686
  },
  "oklch": {
    "l": 0.8555,
    "c": 0.12058,
    "h": 102.9
  },
  "luminance": 0.6331
}

Semantic roles & 50–950 ramp

primary
#DED371
secondary
#454FAF
accent
#2DCA1B
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150E
muted
#85847F

Preview Lab

Preview with #DED371

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

Preview Lab → · Contrast checker → · Palette generator →

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