#DEDC72#DEDC72

#DEDC72 is a very light, vivid yellow. Relative luminance 0.679; OKLCH L 87.4% C 0.129 H 107.8°. Best body text is #000000 at 14.59:1 contrast (WCAG AA passes).

Color values

HEX#DEDC72
RGBrgb(222, 220, 114)
HSLhsl(59, 62%, 66%)
HSVhsv(59, 49%, 87%)
CMYKcmyk(0%, 0.9%, 48.6%, 12.9%)
CIE-LABlab(85.97, -13.60, 51.84)
CIE-LCHlch(85.97, 53.60, 104.70°)
OKLaboklab(87.44% -0.0395 0.1228)
OKLCHoklch(87.44% 0.129 107.8)
XYZxyz(58.7560, 67.9324, 25.9335)
Luminance0.6793 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEDC72 #7274DE
analogous
#DEA672 #DEDC72 #AADE72
triadic
#DEDC72 #72DEDC #DC72DE
tetradic
#DEDC72 #72DEA6 #7274DE #DE72AA
square
#DEDC72 #72DEA6 #7274DE #DE72AA
split-complementary
#DEDC72 #72AADE #A672DE
monochromatic
#ADAB29 #D2D040 #DEDC72 #EAE8A4 #F5F5D5

Accessibility & contrast

On white

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

On black

14.59
#DEDC72 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEDC72
14.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEDC72#FFFFFF#000000##000000
##DEDC721.001.4414.5914.59
#FFFFFF1.441.0021.0021.00
#00000014.5921.001.001.00
##00000014.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD568
Deuteranopia (green-blind)
#EDD977
Tritanopia (blue-blind)
#EBD0C4
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #dedc72;
/* rgb */ color: rgb(222, 220, 114);
/* oklch */ color: oklch(87.4% 0.129 107.8);
Tailwind
colors: {
  custom: {
    50: '#eae69d',
    500: '#dedc72',
    950: '#000000',
  },
}
SCSS
$custom: #dedc72;
$custom-light: #eae69d;
$custom-dark: #000000;
JSON
{
  "hex": "#dedc72",
  "rgb": {
    "r": 222,
    "g": 220,
    "b": 114
  },
  "hsl": {
    "h": 58.889,
    "s": 62.069,
    "l": 65.882
  },
  "oklch": {
    "l": 0.87435,
    "c": 0.12899,
    "h": 107.8
  },
  "luminance": 0.67931
}

Semantic roles & 50–950 ramp

primary
#DEDC72
secondary
#4547AF
accent
#1FCA1C
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150E
muted
#85847F

Preview Lab

Preview with #DEDC72

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

Preview Lab → · Contrast checker → · Palette generator →

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