#DED562#DED562

#DED562 is a very light, vivid yellow. Relative luminance 0.640; OKLCH L 85.8% C 0.137 H 104.8°. Best body text is #000000 at 13.80:1 contrast (WCAG AA passes).

Color values

HEX#DED562
RGBrgb(222, 213, 98)
HSLhsl(56, 65%, 63%)
HSVhsv(56, 56%, 87%)
CMYKcmyk(0%, 4.1%, 55.9%, 12.9%)
CIE-LABlab(83.97, -11.41, 56.89)
CIE-LCHlch(83.97, 58.03, 101.34°)
OKLaboklab(85.78% -0.0349 0.1322)
OKLCHoklch(85.78% 0.137 104.8)
XYZxyz(56.1248, 64.0018, 20.9500)
Luminance0.6400 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DED562 #626BDE
analogous
#DE9762 #DED562 #A9DE62
triadic
#DED562 #62DED5 #D562DE
tetradic
#DED562 #62DE97 #626BDE #DE62A9
square
#DED562 #62DE97 #626BDE #DE62A9
split-complementary
#DED562 #62A9DE #9762DE
monochromatic
#A39A22 #D3C72F #DED562 #E9E395 #F3F0C7

Accessibility & contrast

On white

1.52
#DED562 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.80
#DED562 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DED562
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DED562#FFFFFF#000000##000000
##DED5621.001.5213.8013.80
#FFFFFF1.521.0021.0021.00
#00000013.8021.001.001.00
##00000013.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CE56
Deuteranopia (green-blind)
#E9D468
Tritanopia (blue-blind)
#EDC8BC
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #ded562;
/* rgb */ color: rgb(222, 213, 98);
/* oklch */ color: oklch(85.8% 0.137 104.8);
Tailwind
colors: {
  custom: {
    50: '#ebe192',
    500: '#ded562',
    950: '#000000',
  },
}
SCSS
$custom: #ded562;
$custom-light: #ebe192;
$custom-dark: #000000;
JSON
{
  "hex": "#ded562",
  "rgb": {
    "r": 222,
    "g": 213,
    "b": 98
  },
  "hsl": {
    "h": 55.645,
    "s": 65.263,
    "l": 62.745
  },
  "oklch": {
    "l": 0.85784,
    "c": 0.1367,
    "h": 104.8
  },
  "luminance": 0.64
}

Semantic roles & 50–950 ramp

primary
#DED562
secondary
#3E46A6
accent
#26CD18
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #DED562

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

Preview Lab → · Contrast checker → · Palette generator →

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