#DED381#DED381

#DED381 is a very light, moderate yellow. Relative luminance 0.637; OKLCH L 85.8% C 0.104 H 101.6°. Best body text is #000000 at 13.74:1 contrast (WCAG AA passes).

Color values

HEX#DED381
RGBrgb(222, 211, 129)
HSLhsl(53, 58%, 69%)
HSVhsv(53, 42%, 87%)
CMYKcmyk(0%, 5%, 41.9%, 12.9%)
CIE-LABlab(83.81, -7.64, 41.89)
CIE-LCHlch(83.81, 42.58, 100.33°)
OKLaboklab(85.78% -0.021 0.1017)
OKLCHoklch(85.78% 0.104 101.6)
XYZxyz(57.3821, 63.7048, 30.0382)
Luminance0.6370 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DED381 #818CDE
analogous
#DEA581 #DED381 #BBDE81
triadic
#DED381 #81DED3 #D381DE
tetradic
#DED381 #81DEA5 #818CDE #DE81BB
square
#DED381 #81DEA5 #818CDE #DE81BB
split-complementary
#DED381 #81BBDE #A581DE
monochromatic
#B5A52F #D1C251 #DED381 #EBE4B1 #F7F5E2

Accessibility & contrast

On white

1.53
#DED381 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.74
#DED381 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DED381
13.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DED381#FFFFFF#000000##000000
##DED3811.001.5313.7413.74
#FFFFFF1.531.0021.0021.00
#00000013.7421.001.001.00
##00000013.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CE7B
Deuteranopia (green-blind)
#E4D384
Tritanopia (blue-blind)
#EBC9BF
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #ded381;
/* rgb */ color: rgb(222, 211, 129);
/* oklch */ color: oklch(85.8% 0.104 101.6);
Tailwind
colors: {
  custom: {
    50: '#eae0a7',
    500: '#ded381',
    950: '#000000',
  },
}
SCSS
$custom: #ded381;
$custom-light: #eae0a7;
$custom-dark: #000000;
JSON
{
  "hex": "#ded381",
  "rgb": {
    "r": 222,
    "g": 211,
    "b": 129
  },
  "hsl": {
    "h": 52.903,
    "s": 58.491,
    "l": 68.824
  },
  "oklch": {
    "l": 0.8578,
    "c": 0.10386,
    "h": 101.6
  },
  "luminance": 0.63703
}

Semantic roles & 50–950 ramp

primary
#DED381
secondary
#4E5AB5
accent
#33C61F
background
#FFFEFC
surface
#FEFCF6
border
#D6D5D0
text
#16150F
muted
#858480

Preview Lab

Preview with #DED381

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

Preview Lab → · Contrast checker → · Palette generator →

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