#DECA7B#DECA7B

#DECA7B is a very light, moderate yellow. Relative luminance 0.592; OKLCH L 83.8% C 0.102 H 95.6°. Best body text is #000000 at 12.84:1 contrast (WCAG AA passes).

Color values

HEX#DECA7B
RGBrgb(222, 202, 123)
HSLhsl(48, 60%, 68%)
HSVhsv(48, 45%, 87%)
CMYKcmyk(0%, 9%, 44.6%, 12.9%)
CIE-LABlab(81.40, -3.64, 41.86)
CIE-LCHlch(81.40, 42.02, 94.96°)
OKLaboklab(83.85% -0.0099 0.1013)
OKLCHoklch(83.85% 0.102 95.6)
XYZxyz(54.8214, 59.2027, 27.2746)
Luminance0.5920 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DECA7B #7B8FDE
analogous
#DE997B #DECA7B #C0DE7B
triadic
#DECA7B #7BDECA #CA7BDE
tetradic
#DECA7B #7BDE99 #7B8FDE #DE7BC0
square
#DECA7B #7BDE99 #7B8FDE #DE7BC0
split-complementary
#DECA7B #7BC0DE #997BDE
monochromatic
#B2972D #D2B64A #DECA7B #EADEAC #F6F1DD

Accessibility & contrast

On white

1.64
#DECA7B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.84
#DECA7B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DECA7B
12.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DECA7B#FFFFFF#000000##000000
##DECA7B1.001.6412.8412.84
#FFFFFF1.641.0021.0021.00
#00000012.8421.001.001.00
##00000012.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C675
Deuteranopia (green-blind)
#DECD7E
Tritanopia (blue-blind)
#ECBFB7
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #deca7b;
/* rgb */ color: rgb(222, 202, 123);
/* oklch */ color: oklch(83.8% 0.102 95.6);
Tailwind
colors: {
  custom: {
    50: '#eadaa2',
    500: '#deca7b',
    950: '#000000',
  },
}
SCSS
$custom: #deca7b;
$custom-light: #eadaa2;
$custom-dark: #000000;
JSON
{
  "hex": "#deca7b",
  "rgb": {
    "r": 222,
    "g": 202,
    "b": 123
  },
  "hsl": {
    "h": 47.879,
    "s": 60,
    "l": 67.647
  },
  "oklch": {
    "l": 0.83846,
    "c": 0.1018,
    "h": 95.6
  },
  "luminance": 0.59201
}

Semantic roles & 50–950 ramp

primary
#DECA7B
secondary
#495FB4
accent
#40C81E
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#16140F
muted
#858380

Preview Lab

Preview with #DECA7B

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

Preview Lab → · Contrast checker → · Palette generator →

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