#DED752#DED752

#DED752 is a very light, vivid yellow. Relative luminance 0.647; OKLCH L 86.0% C 0.152 H 106.3°. Best body text is #000000 at 13.95:1 contrast (WCAG AA passes).

Color values

HEX#DED752
RGBrgb(222, 215, 82)
HSLhsl(57, 68%, 60%)
HSVhsv(57, 63%, 87%)
CMYKcmyk(0%, 3.2%, 63.1%, 12.9%)
CIE-LABlab(84.35, -13.50, 64.22)
CIE-LCHlch(84.35, 65.62, 101.88°)
OKLaboklab(86.04% -0.0426 0.1457)
OKLCHoklch(86.04% 0.152 106.3)
XYZxyz(55.9496, 64.7415, 17.5302)
Luminance0.6474 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DED752 #5259DE
analogous
#DE9152 #DED752 #9FDE52
triadic
#DED752 #52DED7 #D752DE
tetradic
#DED752 #52DE91 #5259DE #DE529F
square
#DED752 #52DE91 #5259DE #DE529F
split-complementary
#DED752 #529FDE #9152DE
monochromatic
#99921D #CCC427 #DED752 #E8E385 #F2EFB9

Accessibility & contrast

On white

1.51
#DED752 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.95
#DED752 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DED752
13.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DED752#FFFFFF#000000##000000
##DED7521.001.5113.9513.95
#FFFFFF1.511.0021.0021.00
#00000013.9521.001.001.00
##00000013.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8CF41
Deuteranopia (green-blind)
#EBD55A
Tritanopia (blue-blind)
#EDCABB
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #ded752;
/* rgb */ color: rgb(222, 215, 82);
/* oklch */ color: oklch(86.0% 0.152 106.3);
Tailwind
colors: {
  custom: {
    50: '#ebe389',
    500: '#ded752',
    950: '#000000',
  },
}
SCSS
$custom: #ded752;
$custom-light: #ebe389;
$custom-dark: #000000;
JSON
{
  "hex": "#ded752",
  "rgb": {
    "r": 222,
    "g": 215,
    "b": 82
  },
  "hsl": {
    "h": 57,
    "s": 67.961,
    "l": 59.608
  },
  "oklch": {
    "l": 0.86044,
    "c": 0.15176,
    "h": 106.3
  },
  "luminance": 0.6474
}

Semantic roles & 50–950 ramp

primary
#DED752
secondary
#383D9D
accent
#46EB3D
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #DED752

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

Preview Lab → · Contrast checker → · Palette generator →

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