#DEDC7D#DEDC7D

#DEDC7D is a very light, moderate yellow. Relative luminance 0.682; OKLCH L 87.6% C 0.118 H 107.5°. Best body text is #000000 at 14.64:1 contrast (WCAG AA passes).

Color values

HEX#DEDC7D
RGBrgb(222, 220, 125)
HSLhsl(59, 60%, 68%)
HSVhsv(59, 44%, 87%)
CMYKcmyk(0%, 0.9%, 43.7%, 12.9%)
CIE-LABlab(86.11, -12.58, 46.73)
CIE-LCHlch(86.11, 48.39, 105.06°)
OKLaboklab(87.58% -0.0355 0.1123)
OKLCHoklch(87.58% 0.118 107.5)
XYZxyz(59.4202, 68.1981, 29.4315)
Luminance0.6820 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEDC7D #7D7FDE
analogous
#DEAB7D #DEDC7D #AFDE7D
triadic
#DEDC7D #7DDEDC #DC7DDE
tetradic
#DEDC7D #7DDEAB #7D7FDE #DE7DAF
square
#DEDC7D #7DDEAB #7D7FDE #DE7DAF
split-complementary
#DEDC7D #7DAFDE #AB7DDE
monochromatic
#B3B02D #D2CF4C #DEDC7D #EAE9AE #F7F6DF

Accessibility & contrast

On white

1.43
#DEDC7D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.64
#DEDC7D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEDC7D
14.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEDC7D#FFFFFF#000000##000000
##DEDC7D1.001.4314.6414.64
#FFFFFF1.431.0021.0021.00
#00000014.6421.001.001.00
##00000014.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD575
Deuteranopia (green-blind)
#ECD981
Tritanopia (blue-blind)
#EAD1C5
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #dedc7d;
/* rgb */ color: rgb(222, 220, 125);
/* oklch */ color: oklch(87.6% 0.118 107.5);
Tailwind
colors: {
  custom: {
    50: '#eae6a4',
    500: '#dedc7d',
    950: '#000000',
  },
}
SCSS
$custom: #dedc7d;
$custom-light: #eae6a4;
$custom-dark: #000000;
JSON
{
  "hex": "#dedc7d",
  "rgb": {
    "r": 222,
    "g": 220,
    "b": 125
  },
  "hsl": {
    "h": 58.763,
    "s": 59.509,
    "l": 68.039
  },
  "oklch": {
    "l": 0.87583,
    "c": 0.11782,
    "h": 107.5
  },
  "luminance": 0.68197
}

Semantic roles & 50–950 ramp

primary
#DEDC7D
secondary
#4B4DB5
accent
#22C71E
background
#FFFEFC
surface
#FEFCF6
border
#D6D5D0
text
#16150F
muted
#858480

Preview Lab

Preview with #DEDC7D

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

Preview Lab → · Contrast checker → · Palette generator →

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