#DED958#DED958

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

Color values

HEX#DED958
RGBrgb(222, 217, 88)
HSLhsl(58, 67%, 61%)
HSVhsv(58, 60%, 87%)
CMYKcmyk(0%, 2.3%, 60.4%, 12.9%)
CIE-LABlab(84.93, -14.12, 62.33)
CIE-LCHlch(84.93, 63.91, 102.76°)
OKLaboklab(86.52% -0.0437 0.1425)
OKLCHoklch(86.52% 0.149 107)
XYZxyz(56.7004, 65.8616, 18.9564)
Luminance0.6586 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DED958 #585DDE
analogous
#DE9658 #DED958 #A0DE58
triadic
#DED958 #58DED9 #D958DE
tetradic
#DED958 #58DE96 #585DDE #DE58A0
square
#DED958 #58DE96 #585DDE #DE58A0
split-complementary
#DED958 #58A0DE #9658DE
monochromatic
#9D981F #D0CA29 #DED958 #E8E58B #F2F0BE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DED958#FFFFFF#000000##000000
##DED9581.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)
#EAD149
Deuteranopia (green-blind)
#EDD660
Tritanopia (blue-blind)
#EDCCBE
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #ded958;
/* rgb */ color: rgb(222, 217, 88);
/* oklch */ color: oklch(86.5% 0.149 107.0);
Tailwind
colors: {
  custom: {
    50: '#ebe48c',
    500: '#ded958',
    950: '#000000',
  },
}
SCSS
$custom: #ded958;
$custom-light: #ebe48c;
$custom-dark: #000000;
JSON
{
  "hex": "#ded958",
  "rgb": {
    "r": 222,
    "g": 217,
    "b": 88
  },
  "hsl": {
    "h": 57.761,
    "s": 67,
    "l": 60.784
  },
  "oklch": {
    "l": 0.86518,
    "c": 0.14906,
    "h": 107
  },
  "luminance": 0.6586
}

Semantic roles & 50–950 ramp

primary
#DED958
secondary
#3A3EA0
accent
#1DCF17
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #DED958

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

Preview Lab → · Contrast checker → · Palette generator →

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