#DED982#DED982

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

Color values

HEX#DED982
RGBrgb(222, 217, 130)
HSLhsl(57, 58%, 69%)
HSVhsv(57, 41%, 87%)
CMYKcmyk(0%, 2.3%, 41.4%, 12.9%)
CIE-LABlab(85.39, -10.57, 43.38)
CIE-LCHlch(85.39, 44.65, 103.69°)
OKLaboklab(87.03% -0.0293 0.1051)
OKLCHoklch(87.03% 0.109 105.6)
XYZxyz(58.9674, 66.7685, 30.8961)
Luminance0.6677 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DED982 #8287DE
analogous
#DEAB82 #DED982 #B5DE82
triadic
#DED982 #82DED9 #D982DE
tetradic
#DED982 #82DEAB #8287DE #DE82B5
square
#DED982 #82DEAB #8287DE #DE82B5
split-complementary
#DED982 #82B5DE #AB82DE
monochromatic
#B6AE30 #D1CA52 #DED982 #EBE8B2 #F8F6E3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DED982#FFFFFF#000000##000000
##DED9821.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)
#E7D37B
Deuteranopia (green-blind)
#E9D786
Tritanopia (blue-blind)
#EACFC4
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #ded982;
/* rgb */ color: rgb(222, 217, 130);
/* oklch */ color: oklch(87.0% 0.109 105.6);
Tailwind
colors: {
  custom: {
    50: '#eae4a7',
    500: '#ded982',
    950: '#000000',
  },
}
SCSS
$custom: #ded982;
$custom-light: #eae4a7;
$custom-dark: #000000;
JSON
{
  "hex": "#ded982",
  "rgb": {
    "r": 222,
    "g": 217,
    "b": 130
  },
  "hsl": {
    "h": 56.739,
    "s": 58.228,
    "l": 69.02
  },
  "oklch": {
    "l": 0.87034,
    "c": 0.10915,
    "h": 105.6
  },
  "luminance": 0.66767
}

Semantic roles & 50–950 ramp

primary
#DED982
secondary
#4F55B5
accent
#29C620
background
#FFFEFC
surface
#FEFCF6
border
#D6D5D0
text
#161510
muted
#858480

Preview Lab

Preview with #DED982

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

Preview Lab → · Contrast checker → · Palette generator →

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