#DECA7C#DECA7C

#DECA7C is a very light, moderate yellow. Relative luminance 0.592; OKLCH L 83.9% C 0.101 H 95.4°. Best body text is #000000 at 12.85:1 contrast (WCAG AA passes).

Color values

HEX#DECA7C
RGBrgb(222, 202, 124)
HSLhsl(48, 60%, 68%)
HSVhsv(48, 44%, 87%)
CMYKcmyk(0%, 9%, 44.1%, 12.9%)
CIE-LABlab(81.42, -3.54, 41.38)
CIE-LCHlch(81.42, 41.53, 94.88°)
OKLaboklab(83.86% -0.0095 0.1003)
OKLCHoklch(83.86% 0.101 95.4)
XYZxyz(54.8843, 59.2279, 27.6059)
Luminance0.5923 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DECA7C #7C90DE
analogous
#DE997C #DECA7C #C1DE7C
triadic
#DECA7C #7CDECA #CA7CDE
tetradic
#DECA7C #7CDE99 #7C90DE #DE7CC1
square
#DECA7C #7CDE99 #7C90DE #DE7CC1
split-complementary
#DECA7C #7CC1DE #997CDE
monochromatic
#B3972D #D2B64B #DECA7C #EADEAD #F7F2DE

Accessibility & contrast

On white

1.63
#DECA7C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.85
#DECA7C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DECA7C
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DECA7C#FFFFFF#000000##000000
##DECA7C1.001.6312.8512.85
#FFFFFF1.631.0021.0021.00
#00000012.8521.001.001.00
##00000012.8521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #deca7c;
/* rgb */ color: rgb(222, 202, 124);
/* oklch */ color: oklch(83.9% 0.101 95.4);
Tailwind
colors: {
  custom: {
    50: '#eadaa3',
    500: '#deca7c',
    950: '#000000',
  },
}
SCSS
$custom: #deca7c;
$custom-light: #eadaa3;
$custom-dark: #000000;
JSON
{
  "hex": "#deca7c",
  "rgb": {
    "r": 222,
    "g": 202,
    "b": 124
  },
  "hsl": {
    "h": 47.755,
    "s": 59.756,
    "l": 67.843
  },
  "oklch": {
    "l": 0.83861,
    "c": 0.10072,
    "h": 95.4
  },
  "luminance": 0.59226
}

Semantic roles & 50–950 ramp

primary
#DECA7C
secondary
#4A60B4
accent
#41C71E
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#16140F
muted
#858380

Preview Lab

Preview with #DECA7C

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

Preview Lab → · Contrast checker → · Palette generator →

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