#DEC981#DEC981

#DEC981 is a very light, moderate yellow. Relative luminance 0.589; OKLCH L 83.7% C 0.094 H 93.7°. Best body text is #000000 at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#DEC981
RGBrgb(222, 201, 129)
HSLhsl(46, 58%, 69%)
HSVhsv(46, 42%, 87%)
CMYKcmyk(0%, 9.5%, 41.9%, 12.9%)
CIE-LABlab(81.23, -2.51, 38.61)
CIE-LCHlch(81.23, 38.69, 93.71°)
OKLaboklab(83.74% -0.0061 0.0943)
OKLCHoklch(83.74% 0.094 93.7)
XYZxyz(54.9746, 58.8898, 29.2357)
Luminance0.5889 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC981 #8196DE
analogous
#DE9B81 #DEC981 #C5DE81
triadic
#DEC981 #81DEC9 #C981DE
tetradic
#DEC981 #81DE9B #8196DE #DE81C5
square
#DEC981 #81DE9B #8196DE #DE81C5
split-complementary
#DEC981 #81C5DE #9B81DE
monochromatic
#B5972F #D1B451 #DEC981 #EBDEB1 #F7F3E2

Accessibility & contrast

On white

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

On black

12.78
#DEC981 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEC981
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEC981#FFFFFF#000000##000000
##DEC9811.001.6412.7812.78
#FFFFFF1.641.0021.0021.00
#00000012.7821.001.001.00
##00000012.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C67C
Deuteranopia (green-blind)
#DDCD84
Tritanopia (blue-blind)
#EBBFB7
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #dec981;
/* rgb */ color: rgb(222, 201, 129);
/* oklch */ color: oklch(83.7% 0.094 93.7);
Tailwind
colors: {
  custom: {
    50: '#ead9a6',
    500: '#dec981',
    950: '#000000',
  },
}
SCSS
$custom: #dec981;
$custom-light: #ead9a6;
$custom-dark: #000000;
JSON
{
  "hex": "#dec981",
  "rgb": {
    "r": 222,
    "g": 201,
    "b": 129
  },
  "hsl": {
    "h": 46.452,
    "s": 58.491,
    "l": 68.824
  },
  "oklch": {
    "l": 0.83738,
    "c": 0.09447,
    "h": 93.7
  },
  "luminance": 0.58888
}

Semantic roles & 50–950 ramp

primary
#DEC981
secondary
#4E65B5
accent
#45C61F
background
#FFFEFC
surface
#FEFBF6
border
#D6D4D0
text
#16140F
muted
#858380

Preview Lab

Preview with #DEC981

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

Preview Lab → · Contrast checker → · Palette generator →

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