#DED56F#DED56F

#DED56F is a very light, vivid yellow. Relative luminance 0.643; OKLCH L 85.9% C 0.125 H 104.2°. Best body text is #000000 at 13.85:1 contrast (WCAG AA passes).

Color values

HEX#DED56F
RGBrgb(222, 213, 111)
HSLhsl(55, 63%, 65%)
HSVhsv(55, 50%, 87%)
CMYKcmyk(0%, 4.1%, 50%, 12.9%)
CIE-LABlab(84.10, -10.36, 51.03)
CIE-LCHlch(84.10, 52.07, 101.48°)
OKLaboklab(85.94% -0.0305 0.1208)
OKLCHoklch(85.94% 0.125 104.2)
XYZxyz(56.7892, 64.2675, 24.4493)
Luminance0.6427 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DED56F #6F78DE
analogous
#DE9D6F #DED56F #AFDE6F
triadic
#DED56F #6FDED5 #D56FDE
tetradic
#DED56F #6FDE9D #6F78DE #DE6FAF
square
#DED56F #6FDE9D #6F78DE #DE6FAF
split-complementary
#DED56F #6FAFDE #9D6FDE
monochromatic
#ABA127 #D3C63D #DED56F #E9E4A1 #F5F2D3

Accessibility & contrast

On white

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

On black

13.85
#DED56F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DED56F
13.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DED56F#FFFFFF#000000##000000
##DED56F1.001.5213.8513.85
#FFFFFF1.521.0021.0021.00
#00000013.8521.001.001.00
##00000013.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CF66
Deuteranopia (green-blind)
#E8D474
Tritanopia (blue-blind)
#ECC9BD
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #ded56f;
/* rgb */ color: rgb(222, 213, 111);
/* oklch */ color: oklch(85.9% 0.125 104.2);
Tailwind
colors: {
  custom: {
    50: '#eae19b',
    500: '#ded56f',
    950: '#000000',
  },
}
SCSS
$custom: #ded56f;
$custom-light: #eae19b;
$custom-dark: #000000;
JSON
{
  "hex": "#ded56f",
  "rgb": {
    "r": 222,
    "g": 213,
    "b": 111
  },
  "hsl": {
    "h": 55.135,
    "s": 62.712,
    "l": 65.294
  },
  "oklch": {
    "l": 0.85938,
    "c": 0.12457,
    "h": 104.2
  },
  "luminance": 0.64266
}

Semantic roles & 50–950 ramp

primary
#DED56F
secondary
#444CAE
accent
#29CA1B
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150E
muted
#85847F

Preview Lab

Preview with #DED56F

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

Preview Lab → · Contrast checker → · Palette generator →

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