#DEDD52#DEDD52

#DEDD52 is a very light, vivid yellow. Relative luminance 0.679; OKLCH L 87.3% C 0.158 H 108.9°. Best body text is #000000 at 14.57:1 contrast (WCAG AA passes).

Color values

HEX#DEDD52
RGBrgb(222, 221, 82)
HSLhsl(60, 68%, 60%)
HSVhsv(60, 63%, 87%)
CMYKcmyk(0%, 0.5%, 63.1%, 12.9%)
CIE-LABlab(85.93, -16.48, 65.88)
CIE-LCHlch(85.93, 67.91, 104.04°)
OKLaboklab(87.31% -0.051 0.1492)
OKLCHoklch(87.31% 0.158 108.9)
XYZxyz(57.5055, 67.8534, 18.0488)
Luminance0.6785 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEDD52 #5253DE
analogous
#DE9752 #DEDD52 #99DE52
triadic
#DEDD52 #52DEDD #DD52DE
tetradic
#DEDD52 #52DE97 #5253DE #DE5299
square
#DEDD52 #52DE97 #5253DE #DE5299
split-complementary
#DEDD52 #5299DE #9752DE
monochromatic
#99981D #CCCB27 #DEDD52 #E8E785 #F2F1B9

Accessibility & contrast

On white

1.44
#DEDD52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.57
#DEDD52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEDD52
14.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEDD52#FFFFFF#000000##000000
##DEDD521.001.4414.5714.57
#FFFFFF1.441.0021.0021.00
#00000014.5721.001.001.00
##00000014.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED440
Deuteranopia (green-blind)
#F0D95B
Tritanopia (blue-blind)
#EDD0C0
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #dedd52;
/* rgb */ color: rgb(222, 221, 82);
/* oklch */ color: oklch(87.3% 0.158 108.9);
Tailwind
colors: {
  custom: {
    50: '#ebe789',
    500: '#dedd52',
    950: '#000000',
  },
}
SCSS
$custom: #dedd52;
$custom-light: #ebe789;
$custom-dark: #000000;
JSON
{
  "hex": "#dedd52",
  "rgb": {
    "r": 222,
    "g": 221,
    "b": 82
  },
  "hsl": {
    "h": 59.571,
    "s": 67.961,
    "l": 59.608
  },
  "oklch": {
    "l": 0.87305,
    "c": 0.15765,
    "h": 108.9
  },
  "luminance": 0.67852
}

Semantic roles & 50–950 ramp

primary
#DEDD52
secondary
#38389D
accent
#3EEB3D
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17160C
muted
#85847F

Preview Lab

Preview with #DEDD52

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

Preview Lab → · Contrast checker → · Palette generator →

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