#DED78F#DED78F

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

Color values

HEX#DED78F
RGBrgb(222, 215, 143)
HSLhsl(55, 54%, 72%)
HSVhsv(55, 36%, 87%)
CMYKcmyk(0%, 3.2%, 35.6%, 12.9%)
CIE-LABlab(85.06, -8.14, 36.43)
CIE-LCHlch(85.06, 37.33, 102.59°)
OKLaboklab(86.83% -0.0214 0.0899)
OKLCHoklch(86.83% 0.092 103.4)
XYZxyz(59.3833, 66.1150, 35.6146)
Luminance0.6611 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DED78F #8F96DE
analogous
#DEB08F #DED78F #BEDE8F
triadic
#DED78F #8FDED7 #D78FDE
tetradic
#DED78F #8FDEB0 #8F96DE #DE8FBE
square
#DED78F #8FDEB0 #8F96DE #DE8FBE
split-complementary
#DED78F #8FBEDE #B08FDE
monochromatic
#BBB037 #D0C660 #DED78F #ECE8BE #F8F7E7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DED78F#FFFFFF#000000##000000
##DED78F1.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)
#E3D28A
Deuteranopia (green-blind)
#E6D692
Tritanopia (blue-blind)
#E9CEC5
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #ded78f;
/* rgb */ color: rgb(222, 215, 143);
/* oklch */ color: oklch(86.8% 0.092 103.4);
Tailwind
colors: {
  custom: {
    50: '#e9e3b0',
    500: '#ded78f',
    950: '#000000',
  },
}
SCSS
$custom: #ded78f;
$custom-light: #e9e3b0;
$custom-dark: #000000;
JSON
{
  "hex": "#ded78f",
  "rgb": {
    "r": 222,
    "g": 215,
    "b": 143
  },
  "hsl": {
    "h": 54.684,
    "s": 54.483,
    "l": 71.569
  },
  "oklch": {
    "l": 0.86832,
    "c": 0.09236,
    "h": 103.4
  },
  "luminance": 0.66114
}

Semantic roles & 50–950 ramp

primary
#DED78F
secondary
#5B63B6
accent
#32C224
background
#FEFEFD
surface
#FDFCF7
border
#D5D5D0
text
#161510
muted
#848481

Preview Lab

Preview with #DED78F

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

Preview Lab → · Contrast checker → · Palette generator →

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