#DED981#DED981

#DED981 is a very light, moderate yellow. Relative luminance 0.667; OKLCH L 87.0% C 0.110 H 105.6°. Best body text is #000000 at 14.35:1 contrast (WCAG AA passes).

Color values

HEX#DED981
RGBrgb(222, 217, 129)
HSLhsl(57, 58%, 69%)
HSVhsv(57, 42%, 87%)
CMYKcmyk(0%, 2.3%, 41.9%, 12.9%)
CIE-LABlab(85.37, -10.67, 43.86)
CIE-LCHlch(85.37, 45.14, 103.68°)
OKLaboklab(87.02% -0.0297 0.1062)
OKLCHoklch(87.02% 0.11 105.6)
XYZxyz(58.9006, 66.7417, 30.5443)
Luminance0.6674 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DED981 #8186DE
analogous
#DEAB81 #DED981 #B5DE81
triadic
#DED981 #81DED9 #D981DE
tetradic
#DED981 #81DEAB #8186DE #DE81B5
square
#DED981 #81DEAB #8186DE #DE81B5
split-complementary
#DED981 #81B5DE #AB81DE
monochromatic
#B5AE2F #D1CA51 #DED981 #EBE8B1 #F7F6E2

Accessibility & contrast

On white

1.46
#DED981 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.35
#DED981 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DED981
14.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DED981#FFFFFF#000000##000000
##DED9811.001.4614.3514.35
#FFFFFF1.461.0021.0021.00
#00000014.3521.001.001.00
##00000014.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D37A
Deuteranopia (green-blind)
#E9D785
Tritanopia (blue-blind)
#EACFC4
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #ded981;
/* rgb */ color: rgb(222, 217, 129);
/* oklch */ color: oklch(87.0% 0.110 105.6);
Tailwind
colors: {
  custom: {
    50: '#eae4a7',
    500: '#ded981',
    950: '#000000',
  },
}
SCSS
$custom: #ded981;
$custom-light: #eae4a7;
$custom-dark: #000000;
JSON
{
  "hex": "#ded981",
  "rgb": {
    "r": 222,
    "g": 217,
    "b": 129
  },
  "hsl": {
    "h": 56.774,
    "s": 58.491,
    "l": 68.824
  },
  "oklch": {
    "l": 0.87019,
    "c": 0.11023,
    "h": 105.6
  },
  "luminance": 0.6674
}

Semantic roles & 50–950 ramp

primary
#DED981
secondary
#4E54B5
accent
#28C61F
background
#FFFEFC
surface
#FEFCF6
border
#D6D5D0
text
#16150F
muted
#858480

Preview Lab

Preview with #DED981

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

Preview Lab → · Contrast checker → · Palette generator →

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