#DED052#DED052

#DED052 is a very light, vivid yellow. Relative luminance 0.613; OKLCH L 84.6% C 0.145 H 103.0°. Best body text is #000000 at 13.25:1 contrast (WCAG AA passes).

Color values

HEX#DED052
RGBrgb(222, 208, 82)
HSLhsl(54, 68%, 60%)
HSVhsv(54, 63%, 87%)
CMYKcmyk(0%, 6.3%, 63.1%, 12.9%)
CIE-LABlab(82.51, -9.99, 62.27)
CIE-LCHlch(82.51, 63.06, 99.12°)
OKLaboklab(84.58% -0.0326 0.1415)
OKLCHoklch(84.58% 0.145 103)
XYZxyz(54.2052, 61.2526, 16.9487)
Luminance0.6125 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DED052 #5260DE
analogous
#DE8A52 #DED052 #A6DE52
triadic
#DED052 #52DED0 #D052DE
tetradic
#DED052 #52DE8A #5260DE #DE52A6
square
#DED052 #52DE8A #5260DE #DE52A6
split-complementary
#DED052 #52A6DE #8A52DE
monochromatic
#998C1D #CCBB27 #DED052 #E8DE85 #F2ECB9

Accessibility & contrast

On white

1.58
#DED052 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.25
#DED052 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DED052
13.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DED052#FFFFFF#000000##000000
##DED0521.001.5813.2513.25
#FFFFFF1.581.0021.0021.00
#00000013.2521.001.001.00
##00000013.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CA43
Deuteranopia (green-blind)
#E6D059
Tritanopia (blue-blind)
#EEC2B6
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #ded052;
/* rgb */ color: rgb(222, 208, 82);
/* oklch */ color: oklch(84.6% 0.145 103.0);
Tailwind
colors: {
  custom: {
    50: '#ebde88',
    500: '#ded052',
    950: '#000000',
  },
}
SCSS
$custom: #ded052;
$custom-light: #ebde88;
$custom-dark: #000000;
JSON
{
  "hex": "#ded052",
  "rgb": {
    "r": 222,
    "g": 208,
    "b": 82
  },
  "hsl": {
    "h": 54,
    "s": 67.961,
    "l": 59.608
  },
  "oklch": {
    "l": 0.84583,
    "c": 0.14525,
    "h": 103
  },
  "luminance": 0.61251
}

Semantic roles & 50–950 ramp

primary
#DED052
secondary
#38429D
accent
#4EEB3D
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #DED052

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

Preview Lab → · Contrast checker → · Palette generator →

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