#DECD7B#DECD7B

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

Color values

HEX#DECD7B
RGBrgb(222, 205, 123)
HSLhsl(50, 60%, 68%)
HSVhsv(50, 45%, 87%)
CMYKcmyk(0%, 7.7%, 44.6%, 12.9%)
CIE-LABlab(82.18, -5.18, 42.83)
CIE-LCHlch(82.18, 43.14, 96.89°)
OKLaboklab(84.46% -0.0144 0.1035)
OKLCHoklch(84.46% 0.104 97.9)
XYZxyz(55.5321, 60.6242, 27.5115)
Luminance0.6062 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DECD7B #7B8CDE
analogous
#DE9B7B #DECD7B #BDDE7B
triadic
#DECD7B #7BDECD #CD7BDE
tetradic
#DECD7B #7BDE9B #7B8CDE #DE7BBD
square
#DECD7B #7BDE9B #7B8CDE #DE7BBD
split-complementary
#DECD7B #7BBDDE #9B7BDE
monochromatic
#B29B2D #D2BA4A #DECD7B #EAE0AC #F6F2DD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DECD7B#FFFFFF#000000##000000
##DECD7B1.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)
#DCC974
Deuteranopia (green-blind)
#E0CF7E
Tritanopia (blue-blind)
#ECC2B9
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #decd7b;
/* rgb */ color: rgb(222, 205, 123);
/* oklch */ color: oklch(84.5% 0.104 97.9);
Tailwind
colors: {
  custom: {
    50: '#eadca2',
    500: '#decd7b',
    950: '#000000',
  },
}
SCSS
$custom: #decd7b;
$custom-light: #eadca2;
$custom-dark: #000000;
JSON
{
  "hex": "#decd7b",
  "rgb": {
    "r": 222,
    "g": 205,
    "b": 123
  },
  "hsl": {
    "h": 49.697,
    "s": 60,
    "l": 67.647
  },
  "oklch": {
    "l": 0.84458,
    "c": 0.10449,
    "h": 97.9
  },
  "luminance": 0.60622
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DECD7B

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

Preview Lab → · Contrast checker → · Palette generator →

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