#DEDC42#DEDC42

#DEDC42 is a very light, vivid yellow. Relative luminance 0.671; OKLCH L 87.0% C 0.167 H 108.7°. Best body text is #000000 at 14.42:1 contrast (WCAG AA passes).

Color values

HEX#DEDC42
RGBrgb(222, 220, 66)
HSLhsl(59, 70%, 56%)
HSVhsv(59, 70%, 87%)
CMYKcmyk(0%, 0.9%, 70.3%, 12.9%)
CIE-LABlab(85.56, -16.85, 71.54)
CIE-LCHlch(85.56, 73.49, 103.25°)
OKLaboklab(86.97% -0.0536 0.1586)
OKLCHoklch(86.97% 0.167 108.7)
XYZxyz(56.7028, 67.1111, 15.1200)
Luminance0.6711 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEDC42 #4244DE
analogous
#DE8E42 #DEDC42 #92DE42
triadic
#DEDC42 #42DEDC #DC42DE
tetradic
#DEDC42 #42DE8E #4244DE #DE4292
square
#DEDC42 #42DE8E #4244DE #DE4292
split-complementary
#DEDC42 #4292DE #8E42DE
monochromatic
#8D8B19 #C1BF22 #DEDC42 #E7E676 #F0EFAA

Accessibility & contrast

On white

1.46
#DEDC42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.42
#DEDC42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEDC42
14.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEDC42#FFFFFF#000000##000000
##DEDC421.001.4614.4214.42
#FFFFFF1.461.0021.0021.00
#00000014.4221.001.001.00
##00000014.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED327
Deuteranopia (green-blind)
#F0D84D
Tritanopia (blue-blind)
#EECEBE
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #dedc42;
/* rgb */ color: rgb(222, 220, 66);
/* oklch */ color: oklch(87.0% 0.167 108.7);
Tailwind
colors: {
  custom: {
    50: '#ece680',
    500: '#dedc42',
    950: '#000000',
  },
}
SCSS
$custom: #dedc42;
$custom-light: #ece680;
$custom-dark: #000000;
JSON
{
  "hex": "#dedc42",
  "rgb": {
    "r": 222,
    "g": 220,
    "b": 66
  },
  "hsl": {
    "h": 59.231,
    "s": 70.27,
    "l": 56.471
  },
  "oklch": {
    "l": 0.86973,
    "c": 0.16737,
    "h": 108.7
  },
  "luminance": 0.67109
}

Semantic roles & 50–950 ramp

primary
#DEDC42
secondary
#323392
accent
#3DED3B
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#17150B
muted
#85847E

Preview Lab

Preview with #DEDC42

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

Preview Lab → · Contrast checker → · Palette generator →

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