#DED971#DED971

#DED971 is a very light, vivid yellow. Relative luminance 0.663; OKLCH L 86.8% C 0.127 H 106.3°. Best body text is #000000 at 14.27:1 contrast (WCAG AA passes).

Color values

HEX#DED971
RGBrgb(222, 217, 113)
HSLhsl(57, 62%, 66%)
HSVhsv(57, 49%, 87%)
CMYKcmyk(0%, 2.3%, 49.1%, 12.9%)
CIE-LABlab(85.17, -12.19, 51.36)
CIE-LCHlch(85.17, 52.79, 103.36°)
OKLaboklab(86.8% -0.0355 0.1217)
OKLCHoklch(86.8% 0.127 106.3)
XYZxyz(57.9191, 66.3492, 25.3752)
Luminance0.6635 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DED971 #7176DE
analogous
#DEA271 #DED971 #ACDE71
triadic
#DED971 #71DED9 #D971DE
tetradic
#DED971 #71DEA2 #7176DE #DE71AC
square
#DED971 #71DEA2 #7176DE #DE71AC
split-complementary
#DED971 #71ACDE #A271DE
monochromatic
#ADA628 #D2CC3F #DED971 #EAE6A3 #F5F4D4

Accessibility & contrast

On white

1.47
#DED971 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.27
#DED971 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DED971
14.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DED971#FFFFFF#000000##000000
##DED9711.001.4714.2714.27
#FFFFFF1.471.0021.0021.00
#00000014.2721.001.001.00
##00000014.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D268
Deuteranopia (green-blind)
#EBD776
Tritanopia (blue-blind)
#EBCDC1
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #ded971;
/* rgb */ color: rgb(222, 217, 113);
/* oklch */ color: oklch(86.8% 0.127 106.3);
Tailwind
colors: {
  custom: {
    50: '#eae49c',
    500: '#ded971',
    950: '#000000',
  },
}
SCSS
$custom: #ded971;
$custom-light: #eae49c;
$custom-dark: #000000;
JSON
{
  "hex": "#ded971",
  "rgb": {
    "r": 222,
    "g": 217,
    "b": 113
  },
  "hsl": {
    "h": 57.248,
    "s": 62.286,
    "l": 65.686
  },
  "oklch": {
    "l": 0.86796,
    "c": 0.12676,
    "h": 106.3
  },
  "luminance": 0.66348
}

Semantic roles & 50–950 ramp

primary
#DED971
secondary
#4549AF
accent
#23CA1B
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150E
muted
#85847F

Preview Lab

Preview with #DED971

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

Preview Lab → · Contrast checker → · Palette generator →

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