#DED956#DED956

#DED956 is a very light, vivid yellow. Relative luminance 0.658; OKLCH L 86.5% C 0.151 H 107.1°. Best body text is #000000 at 14.17:1 contrast (WCAG AA passes).

Color values

HEX#DED956
RGBrgb(222, 217, 86)
HSLhsl(58, 67%, 60%)
HSVhsv(58, 61%, 87%)
CMYKcmyk(0%, 2.3%, 61.3%, 12.9%)
CIE-LABlab(84.91, -14.25, 63.16)
CIE-LCHlch(84.91, 64.74, 102.71°)
OKLaboklab(86.5% -0.0443 0.144)
OKLCHoklch(86.5% 0.151 107.1)
XYZxyz(56.6186, 65.8290, 18.5261)
Luminance0.6583 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DED956 #565BDE
analogous
#DE9556 #DED956 #9FDE56
triadic
#DED956 #56DED9 #D956DE
tetradic
#DED956 #56DE95 #565BDE #DE569F
square
#DED956 #56DE95 #565BDE #DE569F
split-complementary
#DED956 #569FDE #9556DE
monochromatic
#9B971E #CEC828 #DED956 #E8E589 #F2F0BC

Accessibility & contrast

On white

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

On black

14.17
#DED956 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DED956
14.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DED956#FFFFFF#000000##000000
##DED9561.001.4814.1714.17
#FFFFFF1.481.0021.0021.00
#00000014.1721.001.001.00
##00000014.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD146
Deuteranopia (green-blind)
#EDD65E
Tritanopia (blue-blind)
#EDCCBD
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #ded956;
/* rgb */ color: rgb(222, 217, 86);
/* oklch */ color: oklch(86.5% 0.151 107.1);
Tailwind
colors: {
  custom: {
    50: '#ebe48b',
    500: '#ded956',
    950: '#000000',
  },
}
SCSS
$custom: #ded956;
$custom-light: #ebe48b;
$custom-dark: #000000;
JSON
{
  "hex": "#ded956",
  "rgb": {
    "r": 222,
    "g": 217,
    "b": 86
  },
  "hsl": {
    "h": 57.794,
    "s": 67.327,
    "l": 60.392
  },
  "oklch": {
    "l": 0.86499,
    "c": 0.15064,
    "h": 107.1
  },
  "luminance": 0.65827
}

Semantic roles & 50–950 ramp

primary
#DED956
secondary
#393D9F
accent
#1DCF16
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #DED956

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

Preview Lab → · Contrast checker → · Palette generator →

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