#DEC976#DEC976

#DEC976 is a very light, moderate yellow. Relative luminance 0.586; OKLCH L 83.6% C 0.106 H 95.6°. Best body text is #000000 at 12.72:1 contrast (WCAG AA passes).

Color values

HEX#DEC976
RGBrgb(222, 201, 118)
HSLhsl(48, 61%, 67%)
HSVhsv(48, 47%, 87%)
CMYKcmyk(0%, 9.5%, 46.8%, 12.9%)
CIE-LABlab(81.08, -3.60, 43.95)
CIE-LCHlch(81.08, 44.10, 94.69°)
OKLaboklab(83.57% -0.0103 0.1057)
OKLCHoklch(83.57% 0.106 95.6)
XYZxyz(54.2825, 58.6130, 25.5901)
Luminance0.5861 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC976 #768BDE
analogous
#DE9576 #DEC976 #BFDE76
triadic
#DEC976 #76DEC9 #C976DE
tetradic
#DEC976 #76DE95 #768BDE #DE76BF
square
#DEC976 #76DE95 #768BDE #DE76BF
split-complementary
#DEC976 #76BFDE #9576DE
monochromatic
#AF942A #D2B645 #DEC976 #EADCA7 #F6F0D9

Accessibility & contrast

On white

1.65
#DEC976 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.72
#DEC976 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEC976
12.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEC976#FFFFFF#000000##000000
##DEC9761.001.6512.7212.72
#FFFFFF1.651.0021.0021.00
#00000012.7221.001.001.00
##00000012.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C56F
Deuteranopia (green-blind)
#DECC79
Tritanopia (blue-blind)
#ECBEB5
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #dec976;
/* rgb */ color: rgb(222, 201, 118);
/* oklch */ color: oklch(83.6% 0.106 95.6);
Tailwind
colors: {
  custom: {
    50: '#ead99f',
    500: '#dec976',
    950: '#000000',
  },
}
SCSS
$custom: #dec976;
$custom-light: #ead99f;
$custom-dark: #000000;
JSON
{
  "hex": "#dec976",
  "rgb": {
    "r": 222,
    "g": 201,
    "b": 118
  },
  "hsl": {
    "h": 47.885,
    "s": 61.176,
    "l": 66.667
  },
  "oklch": {
    "l": 0.83568,
    "c": 0.10618,
    "h": 95.6
  },
  "luminance": 0.58611
}

Semantic roles & 50–950 ramp

primary
#DEC976
secondary
#475CB1
accent
#3FC91D
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#16140E
muted
#85837F

Preview Lab

Preview with #DEC976

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

Preview Lab → · Contrast checker → · Palette generator →

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