#DEDD4D#DEDD4D

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

Color values

HEX#DEDD4D
RGBrgb(222, 221, 77)
HSLhsl(60, 69%, 59%)
HSVhsv(60, 65%, 87%)
CMYKcmyk(0%, 0.5%, 65.3%, 12.9%)
CIE-LABlab(85.90, -16.77, 67.81)
CIE-LCHlch(85.90, 69.86, 103.89°)
OKLaboklab(87.26% -0.0523 0.1525)
OKLCHoklch(87.26% 0.161 108.9)
XYZxyz(57.3221, 67.7800, 17.0831)
Luminance0.6778 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEDD4D #4D4EDE
analogous
#DE944D #DEDD4D #96DE4D
triadic
#DEDD4D #4DDEDD #DD4DDE
tetradic
#DEDD4D #4DDE94 #4D4EDE #DE4D96
square
#DEDD4D #4DDE94 #4D4EDE #DE4D96
split-complementary
#DEDD4D #4D96DE #944DDE
monochromatic
#95941C #C9C725 #DEDD4D #E8E781 #F1F1B4

Accessibility & contrast

On white

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

On black

14.56
#DEDD4D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEDD4D
14.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEDD4D#FFFFFF#000000##000000
##DEDD4D1.001.4414.5614.56
#FFFFFF1.441.0021.0021.00
#00000014.5621.001.001.00
##00000014.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED439
Deuteranopia (green-blind)
#F0D957
Tritanopia (blue-blind)
#EDCFC0
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #dedd4d;
/* rgb */ color: rgb(222, 221, 77);
/* oklch */ color: oklch(87.3% 0.161 108.9);
Tailwind
colors: {
  custom: {
    50: '#ece786',
    500: '#dedd4d',
    950: '#000000',
  },
}
SCSS
$custom: #dedd4d;
$custom-light: #ece786;
$custom-dark: #000000;
JSON
{
  "hex": "#dedd4d",
  "rgb": {
    "r": 222,
    "g": 221,
    "b": 77
  },
  "hsl": {
    "h": 59.586,
    "s": 68.72,
    "l": 58.627
  },
  "oklch": {
    "l": 0.87264,
    "c": 0.16123,
    "h": 108.9
  },
  "luminance": 0.67778
}

Semantic roles & 50–950 ramp

primary
#DEDD4D
secondary
#363699
accent
#3DEC3C
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17160C
muted
#85847F

Preview Lab

Preview with #DEDD4D

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

Preview Lab → · Contrast checker → · Palette generator →

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