#DED772#DED772

#DED772 is a very light, vivid yellow. Relative luminance 0.653; OKLCH L 86.4% C 0.124 H 105.2°. Best body text is #000000 at 14.07:1 contrast (WCAG AA passes).

Color values

HEX#DED772
RGBrgb(222, 215, 114)
HSLhsl(56, 62%, 66%)
HSVhsv(56, 49%, 87%)
CMYKcmyk(0%, 3.2%, 48.6%, 12.9%)
CIE-LABlab(84.66, -11.10, 50.27)
CIE-LCHlch(84.66, 51.48, 102.45°)
OKLaboklab(86.39% -0.0323 0.1194)
OKLCHoklch(86.39% 0.124 105.2)
XYZxyz(57.4633, 65.3470, 25.5026)
Luminance0.6534 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DED772 #7279DE
analogous
#DEA172 #DED772 #AFDE72
triadic
#DED772 #72DED7 #D772DE
tetradic
#DED772 #72DEA1 #7279DE #DE72AF
square
#DED772 #72DEA1 #7279DE #DE72AF
split-complementary
#DED772 #72AFDE #A172DE
monochromatic
#ADA429 #D2C940 #DED772 #EAE5A4 #F5F3D5

Accessibility & contrast

On white

1.49
#DED772 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.07
#DED772 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DED772
14.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DED772#FFFFFF#000000##000000
##DED7721.001.4914.0714.07
#FFFFFF1.491.0021.0021.00
#00000014.0721.001.001.00
##00000014.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6D169
Deuteranopia (green-blind)
#E9D677
Tritanopia (blue-blind)
#ECCBC0
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #ded772;
/* rgb */ color: rgb(222, 215, 114);
/* oklch */ color: oklch(86.4% 0.124 105.2);
Tailwind
colors: {
  custom: {
    50: '#eae39d',
    500: '#ded772',
    950: '#000000',
  },
}
SCSS
$custom: #ded772;
$custom-light: #eae39d;
$custom-dark: #000000;
JSON
{
  "hex": "#ded772",
  "rgb": {
    "r": 222,
    "g": 215,
    "b": 114
  },
  "hsl": {
    "h": 56.111,
    "s": 62.069,
    "l": 65.882
  },
  "oklch": {
    "l": 0.86392,
    "c": 0.12366,
    "h": 105.2
  },
  "luminance": 0.65345
}

Semantic roles & 50–950 ramp

primary
#DED772
secondary
#454CAF
accent
#27CA1C
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150E
muted
#85847F

Preview Lab

Preview with #DED772

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

Preview Lab → · Contrast checker → · Palette generator →

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