#DED78D#DED78D

#DED78D is a very light, moderate yellow. Relative luminance 0.661; OKLCH L 86.8% C 0.095 H 103.5°. Best body text is #000000 at 14.21:1 contrast (WCAG AA passes).

Color values

HEX#DED78D
RGBrgb(222, 215, 141)
HSLhsl(55, 55%, 71%)
HSVhsv(55, 36%, 87%)
CMYKcmyk(0%, 3.2%, 36.5%, 12.9%)
CIE-LABlab(85.02, -8.37, 37.41)
CIE-LCHlch(85.02, 38.33, 102.61°)
OKLaboklab(86.8% -0.0222 0.092)
OKLCHoklch(86.8% 0.095 103.5)
XYZxyz(59.2332, 66.0550, 34.8238)
Luminance0.6605 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DED78D #8D94DE
analogous
#DEAE8D #DED78D #BCDE8D
triadic
#DED78D #8DDED7 #D78DDE
tetradic
#DED78D #8DDEAE #8D94DE #DE8DBC
square
#DED78D #8DDEAE #8D94DE #DE8DBC
split-complementary
#DED78D #8DBCDE #AE8DDE
monochromatic
#BBAF36 #D0C65E #DED78D #ECE8BC #F8F7E7

Accessibility & contrast

On white

1.48
#DED78D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.21
#DED78D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DED78D
14.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DED78D#FFFFFF#000000##000000
##DED78D1.001.4814.2114.21
#FFFFFF1.481.0021.0021.00
#00000014.2121.001.001.00
##00000014.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3D288
Deuteranopia (green-blind)
#E6D690
Tritanopia (blue-blind)
#E9CEC4
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #ded78d;
/* rgb */ color: rgb(222, 215, 141);
/* oklch */ color: oklch(86.8% 0.095 103.5);
Tailwind
colors: {
  custom: {
    50: '#e9e3af',
    500: '#ded78d',
    950: '#000000',
  },
}
SCSS
$custom: #ded78d;
$custom-light: #e9e3af;
$custom-dark: #000000;
JSON
{
  "hex": "#ded78d",
  "rgb": {
    "r": 222,
    "g": 215,
    "b": 141
  },
  "hsl": {
    "h": 54.815,
    "s": 55.102,
    "l": 71.176
  },
  "oklch": {
    "l": 0.86798,
    "c": 0.09466,
    "h": 103.5
  },
  "luminance": 0.66054
}

Semantic roles & 50–950 ramp

primary
#DED78D
secondary
#5A62B6
accent
#31C323
background
#FEFEFD
surface
#FDFCF7
border
#D5D5D0
text
#161510
muted
#848481

Preview Lab

Preview with #DED78D

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

Preview Lab → · Contrast checker → · Palette generator →

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