#DEC579#DEC579

#DEC579 is a very light, moderate yellow. Relative luminance 0.568; OKLCH L 82.8% C 0.100 H 91.8°. Best body text is #000000 at 12.37:1 contrast (WCAG AA passes).

Color values

HEX#DEC579
RGBrgb(222, 197, 121)
HSLhsl(45, 60%, 67%)
HSVhsv(45, 45%, 87%)
CMYKcmyk(0%, 11.3%, 45.5%, 12.9%)
CIE-LABlab(80.09, -1.25, 41.22)
CIE-LCHlch(80.09, 41.24, 91.73°)
OKLaboklab(82.8% -0.0032 0.0997)
OKLCHoklch(82.8% 0.1 91.8)
XYZxyz(53.5432, 56.8448, 26.2372)
Luminance0.5684 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC579 #7992DE
analogous
#DE9379 #DEC579 #C4DE79
triadic
#DEC579 #79DEC5 #C579DE
tetradic
#DEC579 #79DE93 #7992DE #DE79C4
square
#DEC579 #79DE93 #7992DE #DE79C4
split-complementary
#DEC579 #79C4DE #9379DE
monochromatic
#B1902C #D2B048 #DEC579 #EADAAA #F6F0DB

Accessibility & contrast

On white

1.70
#DEC579 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.37
#DEC579 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEC579
12.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEC579#FFFFFF#000000##000000
##DEC5791.001.7012.3712.37
#FFFFFF1.701.0021.0021.00
#00000012.3721.001.001.00
##00000012.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C273
Deuteranopia (green-blind)
#DBCA7C
Tritanopia (blue-blind)
#ECBAB2
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #dec579;
/* rgb */ color: rgb(222, 197, 121);
/* oklch */ color: oklch(82.8% 0.100 91.8);
Tailwind
colors: {
  custom: {
    50: '#ead6a1',
    500: '#dec579',
    950: '#000000',
  },
}
SCSS
$custom: #dec579;
$custom-light: #ead6a1;
$custom-dark: #000000;
JSON
{
  "hex": "#dec579",
  "rgb": {
    "r": 222,
    "g": 197,
    "b": 121
  },
  "hsl": {
    "h": 45.149,
    "s": 60.479,
    "l": 67.255
  },
  "oklch": {
    "l": 0.82802,
    "c": 0.09979,
    "h": 91.8
  },
  "luminance": 0.56843
}

Semantic roles & 50–950 ramp

primary
#DEC579
secondary
#4863B3
accent
#48C81D
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#16140F
muted
#858380

Preview Lab

Preview with #DEC579

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

Preview Lab → · Contrast checker → · Palette generator →

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