#DED978#DED978

#DED978 is a very light, moderate yellow. Relative luminance 0.665; OKLCH L 86.9% C 0.120 H 106.0°. Best body text is #000000 at 14.30:1 contrast (WCAG AA passes).

Color values

HEX#DED978
RGBrgb(222, 217, 120)
HSLhsl(57, 61%, 67%)
HSVhsv(57, 46%, 87%)
CMYKcmyk(0%, 2.3%, 45.9%, 12.9%)
CIE-LABlab(85.26, -11.56, 48.11)
CIE-LCHlch(85.26, 49.48, 103.51°)
OKLaboklab(86.89% -0.033 0.1151)
OKLCHoklch(86.89% 0.12 106)
XYZxyz(58.3285, 66.5129, 27.5313)
Luminance0.6651 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DED978 #787DDE
analogous
#DEA678 #DED978 #B0DE78
triadic
#DED978 #78DED9 #D978DE
tetradic
#DED978 #78DEA6 #787DDE #DE78B0
square
#DED978 #78DEA6 #787DDE #DE78B0
split-complementary
#DED978 #78B0DE #A678DE
monochromatic
#B0AA2B #D2CB47 #DED978 #EAE7A9 #F6F5DA

Accessibility & contrast

On white

1.47
#DED978 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.30
#DED978 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DED978
14.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DED978#FFFFFF#000000##000000
##DED9781.001.4714.3014.30
#FFFFFF1.471.0021.0021.00
#00000014.3021.001.001.00
##00000014.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D270
Deuteranopia (green-blind)
#EAD77C
Tritanopia (blue-blind)
#EBCEC2
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #ded978;
/* rgb */ color: rgb(222, 217, 120);
/* oklch */ color: oklch(86.9% 0.120 106.0);
Tailwind
colors: {
  custom: {
    50: '#eae4a1',
    500: '#ded978',
    950: '#000000',
  },
}
SCSS
$custom: #ded978;
$custom-light: #eae4a1;
$custom-dark: #000000;
JSON
{
  "hex": "#ded978",
  "rgb": {
    "r": 222,
    "g": 217,
    "b": 120
  },
  "hsl": {
    "h": 57.059,
    "s": 60.714,
    "l": 67.059
  },
  "oklch": {
    "l": 0.86889,
    "c": 0.11972,
    "h": 106
  },
  "luminance": 0.66511
}

Semantic roles & 50–950 ramp

primary
#DED978
secondary
#484DB2
accent
#25C81D
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150F
muted
#858480

Preview Lab

Preview with #DED978

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

Preview Lab → · Contrast checker → · Palette generator →

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