#DEDC8B#DEDC8B

#DEDC8B is a very light, moderate yellow. Relative luminance 0.686; OKLCH L 87.8% C 0.103 H 107.1°. Best body text is #000000 at 14.72:1 contrast (WCAG AA passes).

Color values

HEX#DEDC8B
RGBrgb(222, 220, 139)
HSLhsl(59, 56%, 71%)
HSVhsv(59, 37%, 87%)
CMYKcmyk(0%, 0.9%, 37.4%, 12.9%)
CIE-LABlab(86.30, -11.11, 40.05)
CIE-LCHlch(86.30, 41.57, 105.51°)
OKLaboklab(87.8% -0.0302 0.098)
OKLCHoklch(87.8% 0.103 107.1)
XYZxyz(60.3784, 68.5813, 34.4780)
Luminance0.6858 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEDC8B #8B8DDE
analogous
#DEB28B #DEDC8B #B6DE8B
triadic
#DEDC8B #8BDEDC #DC8BDE
tetradic
#DEDC8B #8BDEB2 #8B8DDE #DE8BB6
square
#DEDC8B #8BDEB2 #8B8DDE #DE8BB6
split-complementary
#DEDC8B #8BB6DE #B28BDE
monochromatic
#BAB735 #D0CE5B #DEDC8B #ECEABB #F8F8E7

Accessibility & contrast

On white

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

On black

14.72
#DEDC8B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEDC8B
14.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEDC8B#FFFFFF#000000##000000
##DEDC8B1.001.4314.7214.72
#FFFFFF1.431.0021.0021.00
#00000014.7221.001.001.00
##00000014.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D685
Deuteranopia (green-blind)
#EADA8E
Tritanopia (blue-blind)
#E9D2C8
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #dedc8b;
/* rgb */ color: rgb(222, 220, 139);
/* oklch */ color: oklch(87.8% 0.103 107.1);
Tailwind
colors: {
  custom: {
    50: '#e9e6ae',
    500: '#dedc8b',
    950: '#000000',
  },
}
SCSS
$custom: #dedc8b;
$custom-light: #e9e6ae;
$custom-dark: #000000;
JSON
{
  "hex": "#dedc8b",
  "rgb": {
    "r": 222,
    "g": 220,
    "b": 139
  },
  "hsl": {
    "h": 58.554,
    "s": 55.705,
    "l": 70.784
  },
  "oklch": {
    "l": 0.87797,
    "c": 0.10257,
    "h": 107.1
  },
  "luminance": 0.6858
}

Semantic roles & 50–950 ramp

primary
#DEDC8B
secondary
#585AB6
accent
#26C322
background
#FEFEFD
surface
#FDFCF7
border
#D5D5D0
text
#161610
muted
#848481

Preview Lab

Preview with #DEDC8B

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

Preview Lab → · Contrast checker → · Palette generator →

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