#DEDC52#DEDC52

#DEDC52 is a very light, vivid yellow. Relative luminance 0.673; OKLCH L 87.1% C 0.157 H 108.5°. Best body text is #000000 at 14.47:1 contrast (WCAG AA passes).

Color values

HEX#DEDC52
RGBrgb(222, 220, 82)
HSLhsl(59, 68%, 60%)
HSVhsv(59, 63%, 87%)
CMYKcmyk(0%, 0.9%, 63.1%, 12.9%)
CIE-LABlab(85.67, -15.98, 65.60)
CIE-LCHlch(85.67, 67.52, 103.69°)
OKLaboklab(87.1% -0.0496 0.1486)
OKLCHoklch(87.1% 0.157 108.5)
XYZxyz(57.2423, 67.3269, 17.9611)
Luminance0.6733 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEDC52 #5254DE
analogous
#DE9652 #DEDC52 #9ADE52
triadic
#DEDC52 #52DEDC #DC52DE
tetradic
#DEDC52 #52DE96 #5254DE #DE529A
square
#DEDC52 #52DE96 #5254DE #DE529A
split-complementary
#DEDC52 #529ADE #9652DE
monochromatic
#99971D #CCCA27 #DEDC52 #E8E685 #F2F1B9

Accessibility & contrast

On white

1.45
#DEDC52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.47
#DEDC52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEDC52
14.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEDC52#FFFFFF#000000##000000
##DEDC521.001.4514.4714.47
#FFFFFF1.451.0021.0021.00
#00000014.4721.001.001.00
##00000014.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD340
Deuteranopia (green-blind)
#EFD85B
Tritanopia (blue-blind)
#EDCFBF
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #dedc52;
/* rgb */ color: rgb(222, 220, 82);
/* oklch */ color: oklch(87.1% 0.157 108.5);
Tailwind
colors: {
  custom: {
    50: '#ebe689',
    500: '#dedc52',
    950: '#000000',
  },
}
SCSS
$custom: #dedc52;
$custom-light: #ebe689;
$custom-dark: #000000;
JSON
{
  "hex": "#dedc52",
  "rgb": {
    "r": 222,
    "g": 220,
    "b": 82
  },
  "hsl": {
    "h": 59.143,
    "s": 67.961,
    "l": 59.608
  },
  "oklch": {
    "l": 0.87095,
    "c": 0.15665,
    "h": 108.5
  },
  "luminance": 0.67325
}

Semantic roles & 50–950 ramp

primary
#DEDC52
secondary
#38399D
accent
#3FEB3D
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #DEDC52

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

Preview Lab → · Contrast checker → · Palette generator →

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