#DEDC8D#DEDC8D

#DEDC8D is a very light, moderate yellow. Relative luminance 0.686; OKLCH L 87.8% C 0.100 H 107.0°. Best body text is #000000 at 14.73:1 contrast (WCAG AA passes).

Color values

HEX#DEDC8D
RGBrgb(222, 220, 141)
HSLhsl(59, 55%, 71%)
HSVhsv(59, 36%, 87%)
CMYKcmyk(0%, 0.9%, 36.5%, 12.9%)
CIE-LABlab(86.33, -10.89, 39.09)
CIE-LCHlch(86.33, 40.58, 105.57°)
OKLaboklab(87.83% -0.0294 0.0959)
OKLCHoklch(87.83% 0.1 107)
XYZxyz(60.5259, 68.6403, 35.2546)
Luminance0.6864 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEDC8D #8D8FDE
analogous
#DEB38D #DEDC8D #B7DE8D
triadic
#DEDC8D #8DDEDC #DC8DDE
tetradic
#DEDC8D #8DDEB3 #8D8FDE #DE8DB7
square
#DEDC8D #8DDEB3 #8D8FDE #DE8DB7
split-complementary
#DEDC8D #8DB7DE #B38DDE
monochromatic
#BBB736 #D0CD5E #DEDC8D #ECEBBC #F8F8E7

Accessibility & contrast

On white

1.43
#DEDC8D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.73
#DEDC8D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEDC8D
14.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEDC8D#FFFFFF#000000##000000
##DEDC8D1.001.4314.7314.73
#FFFFFF1.431.0021.0021.00
#00000014.7321.001.001.00
##00000014.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D687
Deuteranopia (green-blind)
#EADA90
Tritanopia (blue-blind)
#E9D3C8
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #dedc8d;
/* rgb */ color: rgb(222, 220, 141);
/* oklch */ color: oklch(87.8% 0.100 107.0);
Tailwind
colors: {
  custom: {
    50: '#e9e6af',
    500: '#dedc8d',
    950: '#000000',
  },
}
SCSS
$custom: #dedc8d;
$custom-light: #e9e6af;
$custom-dark: #000000;
JSON
{
  "hex": "#dedc8d",
  "rgb": {
    "r": 222,
    "g": 220,
    "b": 141
  },
  "hsl": {
    "h": 58.519,
    "s": 55.102,
    "l": 71.176
  },
  "oklch": {
    "l": 0.8783,
    "c": 0.10031,
    "h": 107
  },
  "luminance": 0.68639
}

Semantic roles & 50–950 ramp

primary
#DEDC8D
secondary
#5A5CB6
accent
#27C323
background
#FEFEFD
surface
#FDFCF7
border
#D5D5D0
text
#161610
muted
#848481

Preview Lab

Preview with #DEDC8D

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

Preview Lab → · Contrast checker → · Palette generator →

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