#DED778#DED778

#DED778 is a very light, moderate yellow. Relative luminance 0.655; OKLCH L 86.5% C 0.118 H 104.9°. Best body text is #000000 at 14.10:1 contrast (WCAG AA passes).

Color values

HEX#DED778
RGBrgb(222, 215, 120)
HSLhsl(56, 61%, 67%)
HSVhsv(56, 46%, 87%)
CMYKcmyk(0%, 3.2%, 45.9%, 12.9%)
CIE-LABlab(84.73, -10.55, 47.47)
CIE-LCHlch(84.73, 48.63, 102.53°)
OKLaboklab(86.47% -0.0302 0.1137)
OKLCHoklch(86.47% 0.118 104.9)
XYZxyz(57.8161, 65.4881, 27.3606)
Luminance0.6549 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DED778 #787FDE
analogous
#DEA478 #DED778 #B2DE78
triadic
#DED778 #78DED7 #D778DE
tetradic
#DED778 #78DEA4 #787FDE #DE78B2
square
#DED778 #78DEA4 #787FDE #DE78B2
split-complementary
#DED778 #78B2DE #A478DE
monochromatic
#B0A72B #D2C847 #DED778 #EAE6A9 #F6F4DA

Accessibility & contrast

On white

1.49
#DED778 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.10
#DED778 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DED778
14.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DED778#FFFFFF#000000##000000
##DED7781.001.4914.1014.10
#FFFFFF1.491.0021.0021.00
#00000014.1021.001.001.00
##00000014.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6D170
Deuteranopia (green-blind)
#E8D67C
Tritanopia (blue-blind)
#EBCCC1
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #ded778;
/* rgb */ color: rgb(222, 215, 120);
/* oklch */ color: oklch(86.5% 0.118 104.9);
Tailwind
colors: {
  custom: {
    50: '#eae3a1',
    500: '#ded778',
    950: '#000000',
  },
}
SCSS
$custom: #ded778;
$custom-light: #eae3a1;
$custom-dark: #000000;
JSON
{
  "hex": "#ded778",
  "rgb": {
    "r": 222,
    "g": 215,
    "b": 120
  },
  "hsl": {
    "h": 55.882,
    "s": 60.714,
    "l": 67.059
  },
  "oklch": {
    "l": 0.86473,
    "c": 0.11758,
    "h": 104.9
  },
  "luminance": 0.65487
}

Semantic roles & 50–950 ramp

primary
#DED778
secondary
#484FB2
accent
#29C81D
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150F
muted
#858480

Preview Lab

Preview with #DED778

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

Preview Lab → · Contrast checker → · Palette generator →

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