#DEC876#DEC876

#DEC876 is a very light, moderate yellow. Relative luminance 0.581; OKLCH L 83.4% C 0.105 H 94.8°. Best body text is #000000 at 12.63:1 contrast (WCAG AA passes).

Color values

HEX#DEC876
RGBrgb(222, 200, 118)
HSLhsl(47, 61%, 67%)
HSVhsv(47, 47%, 87%)
CMYKcmyk(0%, 9.9%, 46.8%, 12.9%)
CIE-LABlab(80.82, -3.09, 43.63)
CIE-LCHlch(80.82, 43.74, 94.05°)
OKLaboklab(83.36% -0.0088 0.105)
OKLCHoklch(83.36% 0.105 94.8)
XYZxyz(54.0501, 58.1483, 25.5127)
Luminance0.5815 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC876 #768CDE
analogous
#DE9476 #DEC876 #C0DE76
triadic
#DEC876 #76DEC8 #C876DE
tetradic
#DEC876 #76DE94 #768CDE #DE76C0
square
#DEC876 #76DE94 #768CDE #DE76C0
split-complementary
#DEC876 #76C0DE #9476DE
monochromatic
#AF932A #D2B445 #DEC876 #EADCA7 #F6F0D9

Accessibility & contrast

On white

1.66
#DEC876 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.63
#DEC876 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEC876
12.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEC876#FFFFFF#000000##000000
##DEC8761.001.6612.6312.63
#FFFFFF1.661.0021.0021.00
#00000012.6321.001.001.00
##00000012.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C56F
Deuteranopia (green-blind)
#DDCC79
Tritanopia (blue-blind)
#ECBDB4
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #dec876;
/* rgb */ color: rgb(222, 200, 118);
/* oklch */ color: oklch(83.4% 0.105 94.8);
Tailwind
colors: {
  custom: {
    50: '#ead89f',
    500: '#dec876',
    950: '#000000',
  },
}
SCSS
$custom: #dec876;
$custom-light: #ead89f;
$custom-dark: #000000;
JSON
{
  "hex": "#dec876",
  "rgb": {
    "r": 222,
    "g": 200,
    "b": 118
  },
  "hsl": {
    "h": 47.308,
    "s": 61.176,
    "l": 66.667
  },
  "oklch": {
    "l": 0.83364,
    "c": 0.10533,
    "h": 94.8
  },
  "luminance": 0.58146
}

Semantic roles & 50–950 ramp

primary
#DEC876
secondary
#475DB1
accent
#41C91D
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#16140E
muted
#85837F

Preview Lab

Preview with #DEC876

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

Preview Lab → · Contrast checker → · Palette generator →

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