#DED252#DED252

#DED252 is a very light, vivid yellow. Relative luminance 0.622; OKLCH L 85.0% C 0.147 H 104.0°. Best body text is #000000 at 13.45:1 contrast (WCAG AA passes).

Color values

HEX#DED252
RGBrgb(222, 210, 82)
HSLhsl(55, 68%, 60%)
HSVhsv(55, 63%, 87%)
CMYKcmyk(0%, 5.4%, 63.1%, 12.9%)
CIE-LABlab(83.04, -11.00, 62.82)
CIE-LCHlch(83.04, 63.78, 99.93°)
OKLaboklab(85% -0.0355 0.1427)
OKLCHoklch(85% 0.147 104)
XYZxyz(54.6958, 62.2340, 17.1123)
Luminance0.6223 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DED252 #525EDE
analogous
#DE8C52 #DED252 #A4DE52
triadic
#DED252 #52DED2 #D252DE
tetradic
#DED252 #52DE8C #525EDE #DE52A4
square
#DED252 #52DE8C #525EDE #DE52A4
split-complementary
#DED252 #52A4DE #8C52DE
monochromatic
#998E1D #CCBE27 #DED252 #E8DF85 #F2EDB9

Accessibility & contrast

On white

1.56
#DED252 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.45
#DED252 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DED252
13.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DED252#FFFFFF#000000##000000
##DED2521.001.5613.4513.45
#FFFFFF1.561.0021.0021.00
#00000013.4521.001.001.00
##00000013.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CB42
Deuteranopia (green-blind)
#E8D259
Tritanopia (blue-blind)
#EEC4B7
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #ded252;
/* rgb */ color: rgb(222, 210, 82);
/* oklch */ color: oklch(85.0% 0.147 104.0);
Tailwind
colors: {
  custom: {
    50: '#ebdf88',
    500: '#ded252',
    950: '#000000',
  },
}
SCSS
$custom: #ded252;
$custom-light: #ebdf88;
$custom-dark: #000000;
JSON
{
  "hex": "#ded252",
  "rgb": {
    "r": 222,
    "g": 210,
    "b": 82
  },
  "hsl": {
    "h": 54.857,
    "s": 67.961,
    "l": 59.608
  },
  "oklch": {
    "l": 0.84999,
    "c": 0.14706,
    "h": 104
  },
  "luminance": 0.62232
}

Semantic roles & 50–950 ramp

primary
#DED252
secondary
#38409D
accent
#4CEB3D
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #DED252

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

Preview Lab → · Contrast checker → · Palette generator →

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