#DEDC8F#DEDC8F

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

Color values

HEX#DEDC8F
RGBrgb(222, 220, 143)
HSLhsl(58, 54%, 72%)
HSVhsv(58, 36%, 87%)
CMYKcmyk(0%, 0.9%, 35.6%, 12.9%)
CIE-LABlab(86.36, -10.66, 38.12)
CIE-LCHlch(86.36, 39.58, 105.63°)
OKLaboklab(87.86% -0.0286 0.0938)
OKLCHoklch(87.86% 0.098 107)
XYZxyz(60.6760, 68.7004, 36.0455)
Luminance0.6870 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEDC8F #8F91DE
analogous
#DEB58F #DEDC8F #B9DE8F
triadic
#DEDC8F #8FDEDC #DC8FDE
tetradic
#DEDC8F #8FDEB5 #8F91DE #DE8FB9
square
#DEDC8F #8FDEB5 #8F91DE #DE8FB9
split-complementary
#DEDC8F #8FB9DE #B58FDE
monochromatic
#BBB837 #D0CD60 #DEDC8F #ECEBBE #F8F8E7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DEDC8F#FFFFFF#000000##000000
##DEDC8F1.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)
#E8D689
Deuteranopia (green-blind)
#EADA92
Tritanopia (blue-blind)
#E9D3C9
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #dedc8f;
/* rgb */ color: rgb(222, 220, 143);
/* oklch */ color: oklch(87.9% 0.098 107.0);
Tailwind
colors: {
  custom: {
    50: '#e9e6b0',
    500: '#dedc8f',
    950: '#000000',
  },
}
SCSS
$custom: #dedc8f;
$custom-light: #e9e6b0;
$custom-dark: #000000;
JSON
{
  "hex": "#dedc8f",
  "rgb": {
    "r": 222,
    "g": 220,
    "b": 143
  },
  "hsl": {
    "h": 58.481,
    "s": 54.483,
    "l": 71.569
  },
  "oklch": {
    "l": 0.87863,
    "c": 0.09803,
    "h": 107
  },
  "luminance": 0.68699
}

Semantic roles & 50–950 ramp

primary
#DEDC8F
secondary
#5B5EB6
accent
#28C224
background
#FEFEFD
surface
#FDFCF7
border
#D5D5D0
text
#161610
muted
#848481

Preview Lab

Preview with #DEDC8F

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

Preview Lab → · Contrast checker → · Palette generator →

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