#DED78B#DED78B

#DED78B is a very light, moderate yellow. Relative luminance 0.660; OKLCH L 86.8% C 0.097 H 103.7°. Best body text is #000000 at 14.20:1 contrast (WCAG AA passes).

Color values

HEX#DED78B
RGBrgb(222, 215, 139)
HSLhsl(55, 56%, 71%)
HSVhsv(55, 37%, 87%)
CMYKcmyk(0%, 3.2%, 37.4%, 12.9%)
CIE-LABlab(84.99, -8.59, 38.38)
CIE-LCHlch(84.99, 39.33, 102.62°)
OKLaboklab(86.76% -0.023 0.0942)
OKLCHoklch(86.76% 0.097 103.7)
XYZxyz(59.0857, 65.9960, 34.0471)
Luminance0.6600 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DED78B #8B92DE
analogous
#DEAD8B #DED78B #BBDE8B
triadic
#DED78B #8BDED7 #D78BDE
tetradic
#DED78B #8BDEAD #8B92DE #DE8BBB
square
#DED78B #8BDEAD #8B92DE #DE8BBB
split-complementary
#DED78B #8BBBDE #AD8BDE
monochromatic
#BAAF35 #D0C75B #DED78B #ECE7BB #F8F7E7

Accessibility & contrast

On white

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

On black

14.20
#DED78B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DED78B
14.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DED78B#FFFFFF#000000##000000
##DED78B1.001.4814.2014.20
#FFFFFF1.481.0021.0021.00
#00000014.2021.001.001.00
##00000014.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4D285
Deuteranopia (green-blind)
#E6D68E
Tritanopia (blue-blind)
#E9CDC4
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #ded78b;
/* rgb */ color: rgb(222, 215, 139);
/* oklch */ color: oklch(86.8% 0.097 103.7);
Tailwind
colors: {
  custom: {
    50: '#e9e3ae',
    500: '#ded78b',
    950: '#000000',
  },
}
SCSS
$custom: #ded78b;
$custom-light: #e9e3ae;
$custom-dark: #000000;
JSON
{
  "hex": "#ded78b",
  "rgb": {
    "r": 222,
    "g": 215,
    "b": 139
  },
  "hsl": {
    "h": 54.94,
    "s": 55.705,
    "l": 70.784
  },
  "oklch": {
    "l": 0.86764,
    "c": 0.09695,
    "h": 103.7
  },
  "luminance": 0.65995
}

Semantic roles & 50–950 ramp

primary
#DED78B
secondary
#5860B6
accent
#30C322
background
#FEFEFD
surface
#FDFCF7
border
#D5D5D0
text
#161510
muted
#848481

Preview Lab

Preview with #DED78B

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

Preview Lab → · Contrast checker → · Palette generator →

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