#DEDD7D#DEDD7D

#DEDD7D is a very light, moderate yellow. Relative luminance 0.687; OKLCH L 87.8% C 0.119 H 108.1°. Best body text is #000000 at 14.74:1 contrast (WCAG AA passes).

Color values

HEX#DEDD7D
RGBrgb(222, 221, 125)
HSLhsl(59, 60%, 68%)
HSVhsv(59, 44%, 87%)
CMYKcmyk(0%, 0.5%, 43.7%, 12.9%)
CIE-LABlab(86.37, -13.08, 47.05)
CIE-LCHlch(86.37, 48.84, 105.53°)
OKLaboklab(87.79% -0.0369 0.1131)
OKLCHoklch(87.79% 0.119 108.1)
XYZxyz(59.6834, 68.7245, 29.5192)
Luminance0.6872 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEDD7D #7D7EDE
analogous
#DEAC7D #DEDD7D #AFDE7D
triadic
#DEDD7D #7DDEDD #DD7DDE
tetradic
#DEDD7D #7DDEAC #7D7EDE #DE7DAF
square
#DEDD7D #7DDEAC #7D7EDE #DE7DAF
split-complementary
#DEDD7D #7DAFDE #AC7DDE
monochromatic
#B3B22D #D2D04C #DEDD7D #EAEAAE #F7F7DF

Accessibility & contrast

On white

1.42
#DEDD7D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.74
#DEDD7D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEDD7D
14.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEDD7D#FFFFFF#000000##000000
##DEDD7D1.001.4214.7414.74
#FFFFFF1.421.0021.0021.00
#00000014.7421.001.001.00
##00000014.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD675
Deuteranopia (green-blind)
#EDDA81
Tritanopia (blue-blind)
#EAD2C6
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #dedd7d;
/* rgb */ color: rgb(222, 221, 125);
/* oklch */ color: oklch(87.8% 0.119 108.1);
Tailwind
colors: {
  custom: {
    50: '#eae7a4',
    500: '#dedd7d',
    950: '#000000',
  },
}
SCSS
$custom: #dedd7d;
$custom-light: #eae7a4;
$custom-dark: #000000;
JSON
{
  "hex": "#dedd7d",
  "rgb": {
    "r": 222,
    "g": 221,
    "b": 125
  },
  "hsl": {
    "h": 59.381,
    "s": 59.509,
    "l": 68.039
  },
  "oklch": {
    "l": 0.87792,
    "c": 0.11894,
    "h": 108.1
  },
  "luminance": 0.68723
}

Semantic roles & 50–950 ramp

primary
#DEDD7D
secondary
#4B4CB5
accent
#20C71E
background
#FFFEFC
surface
#FEFCF6
border
#D6D5D0
text
#16160F
muted
#858480

Preview Lab

Preview with #DEDD7D

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

Preview Lab → · Contrast checker → · Palette generator →

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