#DECD7A#DECD7A

#DECD7A is a very light, moderate yellow. Relative luminance 0.606; OKLCH L 84.4% C 0.106 H 98.0°. Best body text is #000000 at 13.12:1 contrast (WCAG AA passes).

Color values

HEX#DECD7A
RGBrgb(222, 205, 122)
HSLhsl(50, 60%, 67%)
HSVhsv(50, 45%, 87%)
CMYKcmyk(0%, 7.7%, 45%, 12.9%)
CIE-LABlab(82.16, -5.28, 43.31)
CIE-LCHlch(82.16, 43.63, 96.95°)
OKLaboklab(84.44% -0.0148 0.1045)
OKLCHoklch(84.44% 0.106 98)
XYZxyz(55.4698, 60.5993, 27.1835)
Luminance0.6060 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DECD7A #7A8BDE
analogous
#DE9B7A #DECD7A #BDDE7A
triadic
#DECD7A #7ADECD #CD7ADE
tetradic
#DECD7A #7ADE9B #7A8BDE #DE7ABD
square
#DECD7A #7ADE9B #7A8BDE #DE7ABD
split-complementary
#DECD7A #7ABDDE #9B7ADE
monochromatic
#B29B2C #D2BB49 #DECD7A #EADFAB #F6F2DC

Accessibility & contrast

On white

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

On black

13.12
#DECD7A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DECD7A
13.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DECD7A#FFFFFF#000000##000000
##DECD7A1.001.6013.1213.12
#FFFFFF1.601.0021.0021.00
#00000013.1221.001.001.00
##00000013.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC973
Deuteranopia (green-blind)
#E1CF7D
Tritanopia (blue-blind)
#ECC2B9
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #decd7a;
/* rgb */ color: rgb(222, 205, 122);
/* oklch */ color: oklch(84.4% 0.106 98.0);
Tailwind
colors: {
  custom: {
    50: '#eadca2',
    500: '#decd7a',
    950: '#000000',
  },
}
SCSS
$custom: #decd7a;
$custom-light: #eadca2;
$custom-dark: #000000;
JSON
{
  "hex": "#decd7a",
  "rgb": {
    "r": 222,
    "g": 205,
    "b": 122
  },
  "hsl": {
    "h": 49.8,
    "s": 60.241,
    "l": 67.451
  },
  "oklch": {
    "l": 0.84443,
    "c": 0.10555,
    "h": 98
  },
  "luminance": 0.60597
}

Semantic roles & 50–950 ramp

primary
#DECD7A
secondary
#495BB3
accent
#3BC81E
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#16150F
muted
#858480

Preview Lab

Preview with #DECD7A

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

Preview Lab → · Contrast checker → · Palette generator →

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