#DEDD57#DEDD57

#DEDD57 is a very light, vivid yellow. Relative luminance 0.679; OKLCH L 87.4% C 0.154 H 108.8°. Best body text is #000000 at 14.59:1 contrast (WCAG AA passes).

Color values

HEX#DEDD57
RGBrgb(222, 221, 87)
HSLhsl(60, 67%, 61%)
HSVhsv(60, 61%, 87%)
CMYKcmyk(0%, 0.5%, 60.8%, 12.9%)
CIE-LABlab(85.97, -16.16, 63.88)
CIE-LCHlch(85.97, 65.89, 104.20°)
OKLaboklab(87.35% -0.0496 0.1457)
OKLCHoklch(87.35% 0.154 108.8)
XYZxyz(57.7027, 67.9322, 19.0876)
Luminance0.6793 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEDD57 #5758DE
analogous
#DE9A57 #DEDD57 #9BDE57
triadic
#DEDD57 #57DEDD #DD57DE
tetradic
#DEDD57 #57DE9A #5758DE #DE579B
square
#DEDD57 #57DE9A #5758DE #DE579B
split-complementary
#DEDD57 #579BDE #9A57DE
monochromatic
#9C9B1F #CFCE29 #DEDD57 #E8E78A #F2F2BD

Accessibility & contrast

On white

1.44
#DEDD57 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.59
#DEDD57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEDD57
14.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEDD57#FFFFFF#000000##000000
##DEDD571.001.4414.5914.59
#FFFFFF1.441.0021.0021.00
#00000014.5921.001.001.00
##00000014.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED447
Deuteranopia (green-blind)
#F0D95F
Tritanopia (blue-blind)
#EDD0C1
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #dedd57;
/* rgb */ color: rgb(222, 221, 87);
/* oklch */ color: oklch(87.4% 0.154 108.8);
Tailwind
colors: {
  custom: {
    50: '#ebe78c',
    500: '#dedd57',
    950: '#000000',
  },
}
SCSS
$custom: #dedd57;
$custom-light: #ebe78c;
$custom-dark: #000000;
JSON
{
  "hex": "#dedd57",
  "rgb": {
    "r": 222,
    "g": 221,
    "b": 87
  },
  "hsl": {
    "h": 59.556,
    "s": 67.164,
    "l": 60.588
  },
  "oklch": {
    "l": 0.8735,
    "c": 0.15387,
    "h": 108.8
  },
  "luminance": 0.67931
}

Semantic roles & 50–950 ramp

primary
#DEDD57
secondary
#3A3AA0
accent
#18CF16
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17160C
muted
#85847F

Preview Lab

Preview with #DEDD57

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

Preview Lab → · Contrast checker → · Palette generator →

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