#DEDC99#DEDC99

#DEDC99 is a very light, moderate yellow. Relative luminance 0.690; OKLCH L 88.0% C 0.086 H 106.6°. Best body text is #000000 at 14.80:1 contrast (WCAG AA passes).

Color values

HEX#DEDC99
RGBrgb(222, 220, 153)
HSLhsl(58, 51%, 74%)
HSVhsv(58, 31%, 87%)
CMYKcmyk(0%, 0.9%, 31.1%, 12.9%)
CIE-LABlab(86.51, -9.48, 33.25)
CIE-LCHlch(86.51, 34.57, 105.91°)
OKLaboklab(88.04% -0.0247 0.0828)
OKLCHoklch(88.04% 0.086 106.6)
XYZxyz(61.4676, 69.0170, 40.2144)
Luminance0.6902 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEDC99 #999BDE
analogous
#DEB999 #DEDC99 #BDDE99
triadic
#DEDC99 #99DEDC #DC99DE
tetradic
#DEDC99 #99DEB9 #999BDE #DE99BD
square
#DEDC99 #99DEB9 #999BDE #DE99BD
split-complementary
#DEDC99 #99BDDE #B999DE
monochromatic
#BFBB3E #CFCC6B #DEDC99 #EDECC7 #F8F7E8

Accessibility & contrast

On white

1.42
#DEDC99 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.80
#DEDC99 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEDC99
14.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEDC99#FFFFFF#000000##000000
##DEDC991.001.4214.8014.80
#FFFFFF1.421.0021.0021.00
#00000014.8021.001.001.00
##00000014.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D794
Deuteranopia (green-blind)
#E9DA9C
Tritanopia (blue-blind)
#E8D4CB
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #dedc99;
/* rgb */ color: rgb(222, 220, 153);
/* oklch */ color: oklch(88.0% 0.086 106.6);
Tailwind
colors: {
  custom: {
    50: '#e9e6b7',
    500: '#dedc99',
    950: '#000000',
  },
}
SCSS
$custom: #dedc99;
$custom-light: #e9e6b7;
$custom-dark: #000000;
JSON
{
  "hex": "#dedc99",
  "rgb": {
    "r": 222,
    "g": 220,
    "b": 153
  },
  "hsl": {
    "h": 58.261,
    "s": 51.111,
    "l": 73.529
  },
  "oklch": {
    "l": 0.88039,
    "c": 0.08635,
    "h": 106.6
  },
  "luminance": 0.69016
}

Semantic roles & 50–950 ramp

primary
#DEDC99
secondary
#6567B6
accent
#2BBE27
background
#FEFEFD
surface
#FDFCF8
border
#D5D5D1
text
#161611
muted
#848481

Preview Lab

Preview with #DEDC99

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

Preview Lab → · Contrast checker → · Palette generator →

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