#DED79C#DED79C

#DED79C is a very light, moderate yellow. Relative luminance 0.665; OKLCH L 87.1% C 0.077 H 102.1°. Best body text is #000000 at 14.31:1 contrast (WCAG AA passes).

Color values

HEX#DED79C
RGBrgb(222, 215, 156)
HSLhsl(54, 50%, 74%)
HSVhsv(54, 30%, 87%)
CMYKcmyk(0%, 3.2%, 29.7%, 12.9%)
CIE-LABlab(85.27, -6.57, 30.05)
CIE-LCHlch(85.27, 30.76, 102.32°)
OKLaboklab(87.07% -0.0162 0.0753)
OKLCHoklch(87.07% 0.077 102.1)
XYZxyz(60.4258, 66.5320, 41.1049)
Luminance0.6653 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DED79C #9CA3DE
analogous
#DEB69C #DED79C #C4DE9C
triadic
#DED79C #9CDED7 #D79CDE
tetradic
#DED79C #9CDEB6 #9CA3DE #DE9CC4
square
#DED79C #9CDEB6 #9CA3DE #DE9CC4
split-complementary
#DED79C #9CC4DE #B69CDE
monochromatic
#BFB240 #CFC46E #DED79C #EDEACA #F7F6E8

Accessibility & contrast

On white

1.47
#DED79C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.31
#DED79C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DED79C
14.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DED79C#FFFFFF#000000##000000
##DED79C1.001.4714.3114.31
#FFFFFF1.471.0021.0021.00
#00000014.3121.001.001.00
##00000014.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2D398
Deuteranopia (green-blind)
#E4D79E
Tritanopia (blue-blind)
#E8CFC7
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #ded79c;
/* rgb */ color: rgb(222, 215, 156);
/* oklch */ color: oklch(87.1% 0.077 102.1);
Tailwind
colors: {
  custom: {
    50: '#e9e3b9',
    500: '#ded79c',
    950: '#000000',
  },
}
SCSS
$custom: #ded79c;
$custom-light: #e9e3b9;
$custom-dark: #000000;
JSON
{
  "hex": "#ded79c",
  "rgb": {
    "r": 222,
    "g": 215,
    "b": 156
  },
  "hsl": {
    "h": 53.636,
    "s": 50,
    "l": 74.118
  },
  "oklch": {
    "l": 0.87069,
    "c": 0.07698,
    "h": 102.1
  },
  "luminance": 0.66531
}

Semantic roles & 50–950 ramp

primary
#DED79C
secondary
#6870B6
accent
#38BD28
background
#FEFEFD
surface
#FDFCF8
border
#D5D5D1
text
#161511
muted
#848481

Preview Lab

Preview with #DED79C

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

Preview Lab → · Contrast checker → · Palette generator →

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