#DED957#DED957

#DED957 is a very light, vivid yellow. Relative luminance 0.658; OKLCH L 86.5% C 0.150 H 107.1°. Best body text is #000000 at 14.17:1 contrast (WCAG AA passes).

Color values

HEX#DED957
RGBrgb(222, 217, 87)
HSLhsl(58, 67%, 61%)
HSVhsv(58, 61%, 87%)
CMYKcmyk(0%, 2.3%, 60.8%, 12.9%)
CIE-LABlab(84.92, -14.18, 62.75)
CIE-LCHlch(84.92, 64.33, 102.74°)
OKLaboklab(86.51% -0.044 0.1433)
OKLCHoklch(86.51% 0.15 107.1)
XYZxyz(56.6592, 65.8452, 18.7398)
Luminance0.6584 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DED957 #575CDE
analogous
#DE9557 #DED957 #9FDE57
triadic
#DED957 #57DED9 #D957DE
tetradic
#DED957 #57DE95 #575CDE #DE579F
square
#DED957 #57DE95 #575CDE #DE579F
split-complementary
#DED957 #579FDE #9557DE
monochromatic
#9C971F #CFC929 #DED957 #E8E58A #F2F0BD

Accessibility & contrast

On white

1.48
#DED957 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.17
#DED957 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DED957
14.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DED957#FFFFFF#000000##000000
##DED9571.001.4814.1714.17
#FFFFFF1.481.0021.0021.00
#00000014.1721.001.001.00
##00000014.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD148
Deuteranopia (green-blind)
#EDD65F
Tritanopia (blue-blind)
#EDCCBE
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #ded957;
/* rgb */ color: rgb(222, 217, 87);
/* oklch */ color: oklch(86.5% 0.150 107.1);
Tailwind
colors: {
  custom: {
    50: '#ebe48c',
    500: '#ded957',
    950: '#000000',
  },
}
SCSS
$custom: #ded957;
$custom-light: #ebe48c;
$custom-dark: #000000;
JSON
{
  "hex": "#ded957",
  "rgb": {
    "r": 222,
    "g": 217,
    "b": 87
  },
  "hsl": {
    "h": 57.778,
    "s": 67.164,
    "l": 60.588
  },
  "oklch": {
    "l": 0.86508,
    "c": 0.14986,
    "h": 107.1
  },
  "luminance": 0.65843
}

Semantic roles & 50–950 ramp

primary
#DED957
secondary
#3A3DA0
accent
#1DCF16
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #DED957

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

Preview Lab → · Contrast checker → · Palette generator →

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