#DED221#DED221

#DED221 is a very light, vivid yellow. Relative luminance 0.617; OKLCH L 84.7% C 0.174 H 105.2°. Best body text is #000000 at 13.35:1 contrast (WCAG AA passes).

Color values

HEX#DED221
RGBrgb(222, 210, 33)
HSLhsl(56, 74%, 50%)
HSVhsv(56, 85%, 87%)
CMYKcmyk(0%, 5.4%, 85.1%, 12.9%)
CIE-LABlab(82.77, -13.04, 78.47)
CIE-LCHlch(82.77, 79.54, 99.44°)
OKLaboklab(84.7% -0.0455 0.1676)
OKLCHoklch(84.7% 0.174 105.2)
XYZxyz(53.4478, 61.7348, 10.5392)
Luminance0.6173 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DED221 #212DDE
analogous
#DE7321 #DED221 #8CDE21
triadic
#DED221 #21DED2 #D221DE
tetradic
#DED221 #21DE73 #212DDE #DE218C
square
#DED221 #21DE73 #212DDE #DE218C
split-complementary
#DED221 #218CDE #7321DE
monochromatic
#736D11 #A9A019 #DED221 #E6DD56 #EEE88C

Accessibility & contrast

On white

1.57
#DED221 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.35
#DED221 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DED221
13.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DED221#FFFFFF#000000##000000
##DED2211.001.5713.3513.35
#FFFFFF1.571.0021.0021.00
#00000013.3521.001.001.00
##00000013.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CA00
Deuteranopia (green-blind)
#EAD134
Tritanopia (blue-blind)
#EFC3B4
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #ded221;
/* rgb */ color: rgb(222, 210, 33);
/* oklch */ color: oklch(84.7% 0.174 105.2);
Tailwind
colors: {
  custom: {
    50: '#eddf71',
    500: '#ded221',
    950: '#000000',
  },
}
SCSS
$custom: #ded221;
$custom-light: #eddf71;
$custom-dark: #000000;
JSON
{
  "hex": "#ded221",
  "rgb": {
    "r": 222,
    "g": 210,
    "b": 33
  },
  "hsl": {
    "h": 56.19,
    "s": 74.118,
    "l": 50
  },
  "oklch": {
    "l": 0.84703,
    "c": 0.17367,
    "h": 105.2
  },
  "luminance": 0.61733
}

Semantic roles & 50–950 ramp

primary
#DED221
secondary
#272D7C
accent
#43F137
background
#FFFEFB
surface
#FFFCF1
border
#D7D5CB
text
#171509
muted
#85847D

Preview Lab

Preview with #DED221

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

Preview Lab → · Contrast checker → · Palette generator →

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