#DEDC57#DEDC57

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

Color values

HEX#DEDC57
RGBrgb(222, 220, 87)
HSLhsl(59, 67%, 61%)
HSVhsv(59, 61%, 87%)
CMYKcmyk(0%, 0.9%, 60.8%, 12.9%)
CIE-LABlab(85.71, -15.67, 63.60)
CIE-LCHlch(85.71, 65.50, 103.84°)
OKLaboklab(87.14% -0.0482 0.1451)
OKLCHoklch(87.14% 0.153 108.4)
XYZxyz(57.4395, 67.4058, 18.9999)
Luminance0.6740 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEDC57 #5759DE
analogous
#DE9857 #DEDC57 #9CDE57
triadic
#DEDC57 #57DEDC #DC57DE
tetradic
#DEDC57 #57DE98 #5759DE #DE579C
square
#DEDC57 #57DE98 #5759DE #DE579C
split-complementary
#DEDC57 #579CDE #9857DE
monochromatic
#9C9A1F #CFCD29 #DEDC57 #E8E78A #F2F1BD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DEDC57#FFFFFF#000000##000000
##DEDC571.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)
#EDD447
Deuteranopia (green-blind)
#EFD95F
Tritanopia (blue-blind)
#EDCFC0
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #dedc57;
/* rgb */ color: rgb(222, 220, 87);
/* oklch */ color: oklch(87.1% 0.153 108.4);
Tailwind
colors: {
  custom: {
    50: '#ebe68c',
    500: '#dedc57',
    950: '#000000',
  },
}
SCSS
$custom: #dedc57;
$custom-light: #ebe68c;
$custom-dark: #000000;
JSON
{
  "hex": "#dedc57",
  "rgb": {
    "r": 222,
    "g": 220,
    "b": 87
  },
  "hsl": {
    "h": 59.111,
    "s": 67.164,
    "l": 60.588
  },
  "oklch": {
    "l": 0.87139,
    "c": 0.15285,
    "h": 108.4
  },
  "luminance": 0.67404
}

Semantic roles & 50–950 ramp

primary
#DEDC57
secondary
#3A3BA0
accent
#19CF16
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #DEDC57

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

Preview Lab → · Contrast checker → · Palette generator →

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