#DECD8A#DECD8A

#DECD8A is a very light, moderate yellow. Relative luminance 0.610; OKLCH L 84.7% C 0.088 H 95.6°. Best body text is #000000 at 13.21:1 contrast (WCAG AA passes).

Color values

HEX#DECD8A
RGBrgb(222, 205, 138)
HSLhsl(48, 56%, 71%)
HSVhsv(48, 38%, 87%)
CMYKcmyk(0%, 7.7%, 37.8%, 12.9%)
CIE-LABlab(82.39, -3.59, 35.52)
CIE-LCHlch(82.39, 35.70, 95.78°)
OKLaboklab(84.7% -0.0086 0.0876)
OKLCHoklch(84.7% 0.088 95.6)
XYZxyz(56.5440, 61.0290, 32.8411)
Luminance0.6103 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DECD8A #8A9BDE
analogous
#DEA38A #DECD8A #C5DE8A
triadic
#DECD8A #8ADECD #CD8ADE
tetradic
#DECD8A #8ADEA3 #8A9BDE #DE8AC5
square
#DECD8A #8ADEA3 #8A9BDE #DE8AC5
split-complementary
#DECD8A #8AC5DE #A38ADE
monochromatic
#B99E34 #D1B95A #DECD8A #EBE1BA #F8F5E7

Accessibility & contrast

On white

1.59
#DECD8A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.21
#DECD8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DECD8A
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DECD8A#FFFFFF#000000##000000
##DECD8A1.001.5913.2113.21
#FFFFFF1.591.0021.0021.00
#00000013.2121.001.001.00
##00000013.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DACA85
Deuteranopia (green-blind)
#DFCF8C
Tritanopia (blue-blind)
#EAC3BC
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #decd8a;
/* rgb */ color: rgb(222, 205, 138);
/* oklch */ color: oklch(84.7% 0.088 95.6);
Tailwind
colors: {
  custom: {
    50: '#e9dcad',
    500: '#decd8a',
    950: '#000000',
  },
}
SCSS
$custom: #decd8a;
$custom-light: #e9dcad;
$custom-dark: #000000;
JSON
{
  "hex": "#decd8a",
  "rgb": {
    "r": 222,
    "g": 205,
    "b": 138
  },
  "hsl": {
    "h": 47.857,
    "s": 56,
    "l": 70.588
  },
  "oklch": {
    "l": 0.84701,
    "c": 0.08797,
    "h": 95.6
  },
  "luminance": 0.61027
}

Semantic roles & 50–950 ramp

primary
#DECD8A
secondary
#576AB5
accent
#43C422
background
#FEFEFD
surface
#FDFBF7
border
#D5D4D0
text
#161510
muted
#848481

Preview Lab

Preview with #DECD8A

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

Preview Lab → · Contrast checker → · Palette generator →

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