#DEDC56#DEDC56

#DEDC56 is a very light, vivid yellow. Relative luminance 0.674; OKLCH L 87.1% C 0.154 H 108.4°. Best body text is #000000 at 14.48:1 contrast (WCAG AA passes).

Color values

HEX#DEDC56
RGBrgb(222, 220, 86)
HSLhsl(59, 67%, 60%)
HSVhsv(59, 61%, 87%)
CMYKcmyk(0%, 0.9%, 61.3%, 12.9%)
CIE-LABlab(85.70, -15.74, 64.00)
CIE-LCHlch(85.70, 65.91, 103.81°)
OKLaboklab(87.13% -0.0485 0.1458)
OKLCHoklch(87.13% 0.154 108.4)
XYZxyz(57.3989, 67.3896, 18.7862)
Luminance0.6739 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEDC56 #5658DE
analogous
#DE9856 #DEDC56 #9CDE56
triadic
#DEDC56 #56DEDC #DC56DE
tetradic
#DEDC56 #56DE98 #5658DE #DE569C
square
#DEDC56 #56DE98 #5658DE #DE569C
split-complementary
#DEDC56 #569CDE #9856DE
monochromatic
#9B991E #CECC28 #DEDC56 #E8E789 #F2F1BC

Accessibility & contrast

On white

1.45
#DEDC56 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.48
#DEDC56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEDC56
14.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEDC56#FFFFFF#000000##000000
##DEDC561.001.4514.4814.48
#FFFFFF1.451.0021.0021.00
#00000014.4821.001.001.00
##00000014.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD446
Deuteranopia (green-blind)
#EFD95E
Tritanopia (blue-blind)
#EDCFC0
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #dedc56;
/* rgb */ color: rgb(222, 220, 86);
/* oklch */ color: oklch(87.1% 0.154 108.4);
Tailwind
colors: {
  custom: {
    50: '#ebe68b',
    500: '#dedc56',
    950: '#000000',
  },
}
SCSS
$custom: #dedc56;
$custom-light: #ebe68b;
$custom-dark: #000000;
JSON
{
  "hex": "#dedc56",
  "rgb": {
    "r": 222,
    "g": 220,
    "b": 86
  },
  "hsl": {
    "h": 59.118,
    "s": 67.327,
    "l": 60.392
  },
  "oklch": {
    "l": 0.8713,
    "c": 0.15363,
    "h": 108.4
  },
  "luminance": 0.67388
}

Semantic roles & 50–950 ramp

primary
#DEDC56
secondary
#393B9F
accent
#19CF16
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #DEDC56

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

Preview Lab → · Contrast checker → · Palette generator →

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