#DEDB52#DEDB52

#DEDB52 is a very light, vivid yellow. Relative luminance 0.668; OKLCH L 86.9% C 0.156 H 108.0°. Best body text is #000000 at 14.36:1 contrast (WCAG AA passes).

Color values

HEX#DEDB52
RGBrgb(222, 219, 82)
HSLhsl(59, 68%, 60%)
HSVhsv(59, 63%, 87%)
CMYKcmyk(0%, 1.4%, 63.1%, 12.9%)
CIE-LABlab(85.40, -15.49, 65.33)
CIE-LCHlch(85.40, 67.14, 103.34°)
OKLaboklab(86.88% -0.0482 0.148)
OKLCHoklch(86.88% 0.156 108)
XYZxyz(56.9806, 66.8036, 17.8738)
Luminance0.6680 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEDB52 #5255DE
analogous
#DE9552 #DEDB52 #9BDE52
triadic
#DEDB52 #52DEDB #DB52DE
tetradic
#DEDB52 #52DE95 #5255DE #DE529B
square
#DEDB52 #52DE95 #5255DE #DE529B
split-complementary
#DEDB52 #529BDE #9552DE
monochromatic
#99961D #CCC827 #DEDB52 #E8E685 #F2F0B9

Accessibility & contrast

On white

1.46
#DEDB52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.36
#DEDB52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEDB52
14.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEDB52#FFFFFF#000000##000000
##DEDB521.001.4614.3614.36
#FFFFFF1.461.0021.0021.00
#00000014.3621.001.001.00
##00000014.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD340
Deuteranopia (green-blind)
#EED85B
Tritanopia (blue-blind)
#EDCEBF
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #dedb52;
/* rgb */ color: rgb(222, 219, 82);
/* oklch */ color: oklch(86.9% 0.156 108.0);
Tailwind
colors: {
  custom: {
    50: '#ebe589',
    500: '#dedb52',
    950: '#000000',
  },
}
SCSS
$custom: #dedb52;
$custom-light: #ebe589;
$custom-dark: #000000;
JSON
{
  "hex": "#dedb52",
  "rgb": {
    "r": 222,
    "g": 219,
    "b": 82
  },
  "hsl": {
    "h": 58.714,
    "s": 67.961,
    "l": 59.608
  },
  "oklch": {
    "l": 0.86884,
    "c": 0.15566,
    "h": 108
  },
  "luminance": 0.66802
}

Semantic roles & 50–950 ramp

primary
#DEDB52
secondary
#383A9D
accent
#41EB3D
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #DEDB52

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

Preview Lab → · Contrast checker → · Palette generator →

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