#DECC8A#DECC8A

#DECC8A is a very light, moderate yellow. Relative luminance 0.606; OKLCH L 84.5% C 0.087 H 94.7°. Best body text is #000000 at 13.11:1 contrast (WCAG AA passes).

Color values

HEX#DECC8A
RGBrgb(222, 204, 138)
HSLhsl(47, 56%, 71%)
HSVhsv(47, 38%, 87%)
CMYKcmyk(0%, 8.1%, 37.8%, 12.9%)
CIE-LABlab(82.14, -3.08, 35.18)
CIE-LCHlch(82.14, 35.32, 95.00°)
OKLaboklab(84.5% -0.0071 0.0868)
OKLCHoklch(84.5% 0.087 94.7)
XYZxyz(56.3056, 60.5521, 32.7616)
Luminance0.6055 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DECC8A #8A9CDE
analogous
#DEA28A #DECC8A #C6DE8A
triadic
#DECC8A #8ADECC #CC8ADE
tetradic
#DECC8A #8ADEA2 #8A9CDE #DE8AC6
square
#DECC8A #8ADEA2 #8A9CDE #DE8AC6
split-complementary
#DECC8A #8AC6DE #A28ADE
monochromatic
#B99D34 #D1B75A #DECC8A #EBE1BA #F8F5E7

Accessibility & contrast

On white

1.60
#DECC8A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.11
#DECC8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DECC8A
13.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DECC8A#FFFFFF#000000##000000
##DECC8A1.001.6013.1113.11
#FFFFFF1.601.0021.0021.00
#00000013.1121.001.001.00
##00000013.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C985
Deuteranopia (green-blind)
#DECF8C
Tritanopia (blue-blind)
#EAC2BB
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #decc8a;
/* rgb */ color: rgb(222, 204, 138);
/* oklch */ color: oklch(84.5% 0.087 94.7);
Tailwind
colors: {
  custom: {
    50: '#e9dbad',
    500: '#decc8a',
    950: '#000000',
  },
}
SCSS
$custom: #decc8a;
$custom-light: #e9dbad;
$custom-dark: #000000;
JSON
{
  "hex": "#decc8a",
  "rgb": {
    "r": 222,
    "g": 204,
    "b": 138
  },
  "hsl": {
    "h": 47.143,
    "s": 56,
    "l": 70.588
  },
  "oklch": {
    "l": 0.84498,
    "c": 0.08706,
    "h": 94.7
  },
  "luminance": 0.6055
}

Semantic roles & 50–950 ramp

primary
#DECC8A
secondary
#576BB5
accent
#45C422
background
#FEFEFD
surface
#FDFBF7
border
#D5D4D0
text
#161510
muted
#848481

Preview Lab

Preview with #DECC8A

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

Preview Lab → · Contrast checker → · Palette generator →

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