#DED781#DED781

#DED781 is a very light, moderate yellow. Relative luminance 0.657; OKLCH L 86.6% C 0.108 H 104.4°. Best body text is #000000 at 14.14:1 contrast (WCAG AA passes).

Color values

HEX#DED781
RGBrgb(222, 215, 129)
HSLhsl(55, 58%, 69%)
HSVhsv(55, 42%, 87%)
CMYKcmyk(0%, 3.2%, 41.9%, 12.9%)
CIE-LABlab(84.85, -9.66, 43.20)
CIE-LCHlch(84.85, 44.27, 102.61°)
OKLaboklab(86.61% -0.0268 0.1047)
OKLCHoklch(86.61% 0.108 104.4)
XYZxyz(58.3882, 65.7170, 30.3735)
Luminance0.6572 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DED781 #8188DE
analogous
#DEA981 #DED781 #B7DE81
triadic
#DED781 #81DED7 #D781DE
tetradic
#DED781 #81DEA9 #8188DE #DE81B7
square
#DED781 #81DEA9 #8188DE #DE81B7
split-complementary
#DED781 #81B7DE #A981DE
monochromatic
#B5AB2F #D1C851 #DED781 #EBE6B1 #F7F6E2

Accessibility & contrast

On white

1.48
#DED781 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.14
#DED781 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DED781
14.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DED781#FFFFFF#000000##000000
##DED7811.001.4814.1414.14
#FFFFFF1.481.0021.0021.00
#00000014.1421.001.001.00
##00000014.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5D17A
Deuteranopia (green-blind)
#E8D685
Tritanopia (blue-blind)
#EACDC2
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #ded781;
/* rgb */ color: rgb(222, 215, 129);
/* oklch */ color: oklch(86.6% 0.108 104.4);
Tailwind
colors: {
  custom: {
    50: '#eae3a7',
    500: '#ded781',
    950: '#000000',
  },
}
SCSS
$custom: #ded781;
$custom-light: #eae3a7;
$custom-dark: #000000;
JSON
{
  "hex": "#ded781",
  "rgb": {
    "r": 222,
    "g": 215,
    "b": 129
  },
  "hsl": {
    "h": 55.484,
    "s": 58.491,
    "l": 68.824
  },
  "oklch": {
    "l": 0.86605,
    "c": 0.10806,
    "h": 104.4
  },
  "luminance": 0.65715
}

Semantic roles & 50–950 ramp

primary
#DED781
secondary
#4E56B5
accent
#2CC61F
background
#FFFEFC
surface
#FEFCF6
border
#D6D5D0
text
#16150F
muted
#858480

Preview Lab

Preview with #DED781

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

Preview Lab → · Contrast checker → · Palette generator →

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