#DEDC55#DEDC55

#DEDC55 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.47:1 contrast (WCAG AA passes).

Color values

HEX#DEDC55
RGBrgb(222, 220, 85)
HSLhsl(59, 67%, 60%)
HSVhsv(59, 62%, 87%)
CMYKcmyk(0%, 0.9%, 61.7%, 12.9%)
CIE-LABlab(85.69, -15.80, 64.41)
CIE-LCHlch(85.69, 66.32, 103.78°)
OKLaboklab(87.12% -0.0487 0.1465)
OKLCHoklch(87.12% 0.154 108.4)
XYZxyz(57.3589, 67.3735, 18.5755)
Luminance0.6737 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEDC55 #5557DE
analogous
#DE9755 #DEDC55 #9CDE55
triadic
#DEDC55 #55DEDC #DC55DE
tetradic
#DEDC55 #55DE97 #5557DE #DE559C
square
#DEDC55 #55DE97 #5557DE #DE559C
split-complementary
#DEDC55 #559CDE #9755DE
monochromatic
#9B991E #CECB28 #DEDC55 #E8E788 #F2F1BC

Accessibility & contrast

On white

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

On black

14.47
#DEDC55 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEDC55
14.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEDC55#FFFFFF#000000##000000
##DEDC551.001.4514.4714.47
#FFFFFF1.451.0021.0021.00
#00000014.4721.001.001.00
##00000014.4721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dedc55;
/* rgb */ color: rgb(222, 220, 85);
/* oklch */ color: oklch(87.1% 0.154 108.4);
Tailwind
colors: {
  custom: {
    50: '#ebe68b',
    500: '#dedc55',
    950: '#000000',
  },
}
SCSS
$custom: #dedc55;
$custom-light: #ebe68b;
$custom-dark: #000000;
JSON
{
  "hex": "#dedc55",
  "rgb": {
    "r": 222,
    "g": 220,
    "b": 85
  },
  "hsl": {
    "h": 59.124,
    "s": 67.488,
    "l": 60.196
  },
  "oklch": {
    "l": 0.87121,
    "c": 0.1544,
    "h": 108.4
  },
  "luminance": 0.67372
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DEDC55

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

Preview Lab → · Contrast checker → · Palette generator →

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