#DED78E#DED78E

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

Color values

HEX#DED78E
RGBrgb(222, 215, 142)
HSLhsl(55, 55%, 71%)
HSVhsv(55, 36%, 87%)
CMYKcmyk(0%, 3.2%, 36%, 12.9%)
CIE-LABlab(85.04, -8.25, 36.92)
CIE-LCHlch(85.04, 37.83, 102.60°)
OKLaboklab(86.82% -0.0218 0.0909)
OKLCHoklch(86.82% 0.094 103.5)
XYZxyz(59.3079, 66.0849, 35.2174)
Luminance0.6608 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DED78E #8E95DE
analogous
#DEAF8E #DED78E #BDDE8E
triadic
#DED78E #8EDED7 #D78EDE
tetradic
#DED78E #8EDEAF #8E95DE #DE8EBD
square
#DED78E #8EDEAF #8E95DE #DE8EBD
split-complementary
#DED78E #8EBDDE #AF8EDE
monochromatic
#BBAF37 #D0C65F #DED78E #ECE8BD #F8F7E7

Accessibility & contrast

On white

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

On black

14.22
#DED78E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DED78E
14.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DED78E#FFFFFF#000000##000000
##DED78E1.001.4814.2214.22
#FFFFFF1.481.0021.0021.00
#00000014.2221.001.001.00
##00000014.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3D289
Deuteranopia (green-blind)
#E6D691
Tritanopia (blue-blind)
#E9CEC5
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #ded78e;
/* rgb */ color: rgb(222, 215, 142);
/* oklch */ color: oklch(86.8% 0.094 103.5);
Tailwind
colors: {
  custom: {
    50: '#e9e3b0',
    500: '#ded78e',
    950: '#000000',
  },
}
SCSS
$custom: #ded78e;
$custom-light: #e9e3b0;
$custom-dark: #000000;
JSON
{
  "hex": "#ded78e",
  "rgb": {
    "r": 222,
    "g": 215,
    "b": 142
  },
  "hsl": {
    "h": 54.75,
    "s": 54.795,
    "l": 71.373
  },
  "oklch": {
    "l": 0.86815,
    "c": 0.09351,
    "h": 103.5
  },
  "luminance": 0.66083
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DED78E

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

Preview Lab → · Contrast checker → · Palette generator →

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