#DEC978#DEC978

#DEC978 is a very light, moderate yellow. Relative luminance 0.587; OKLCH L 83.6% C 0.104 H 95.3°. Best body text is #000000 at 12.73:1 contrast (WCAG AA passes).

Color values

HEX#DEC978
RGBrgb(222, 201, 120)
HSLhsl(48, 61%, 67%)
HSVhsv(48, 46%, 87%)
CMYKcmyk(0%, 9.5%, 45.9%, 12.9%)
CIE-LABlab(81.10, -3.41, 42.99)
CIE-LCHlch(81.10, 43.12, 94.54°)
OKLaboklab(83.6% -0.0096 0.1037)
OKLCHoklch(83.6% 0.104 95.3)
XYZxyz(54.4026, 58.6610, 26.2227)
Luminance0.5866 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC978 #788DDE
analogous
#DE9678 #DEC978 #C0DE78
triadic
#DEC978 #78DEC9 #C978DE
tetradic
#DEC978 #78DE96 #788DDE #DE78C0
square
#DEC978 #78DE96 #788DDE #DE78C0
split-complementary
#DEC978 #78C0DE #9678DE
monochromatic
#B0952B #D2B547 #DEC978 #EADDA9 #F6F0DA

Accessibility & contrast

On white

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

On black

12.73
#DEC978 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEC978
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEC978#FFFFFF#000000##000000
##DEC9781.001.6512.7312.73
#FFFFFF1.651.0021.0021.00
#00000012.7321.001.001.00
##00000012.7321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dec978;
/* rgb */ color: rgb(222, 201, 120);
/* oklch */ color: oklch(83.6% 0.104 95.3);
Tailwind
colors: {
  custom: {
    50: '#ead9a0',
    500: '#dec978',
    950: '#000000',
  },
}
SCSS
$custom: #dec978;
$custom-light: #ead9a0;
$custom-dark: #000000;
JSON
{
  "hex": "#dec978",
  "rgb": {
    "r": 222,
    "g": 201,
    "b": 120
  },
  "hsl": {
    "h": 47.647,
    "s": 60.714,
    "l": 67.059
  },
  "oklch": {
    "l": 0.83597,
    "c": 0.10409,
    "h": 95.3
  },
  "luminance": 0.58659
}

Semantic roles & 50–950 ramp

primary
#DEC978
secondary
#485EB2
accent
#40C81D
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#16140F
muted
#858380

Preview Lab

Preview with #DEC978

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

Preview Lab → · Contrast checker → · Palette generator →

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