#DEC798#DEC798

#DEC798 is a very light, moderate orange. Relative luminance 0.586; OKLCH L 83.8% C 0.067 H 84.8°. Best body text is #000000 at 12.73:1 contrast (WCAG AA passes).

Color values

HEX#DEC798
RGBrgb(222, 199, 152)
HSLhsl(40, 51%, 73%)
HSVhsv(40, 32%, 87%)
CMYKcmyk(0%, 10.4%, 31.5%, 12.9%)
CIE-LABlab(81.10, 1.19, 26.52)
CIE-LCHlch(81.10, 26.55, 87.44°)
OKLaboklab(83.75% 0.006 0.0668)
OKLCHoklch(83.75% 0.067 84.8)
XYZxyz(56.2159, 58.6453, 38.0581)
Luminance0.5864 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC798 #98AFDE
analogous
#DEA498 #DEC798 #D2DE98
triadic
#DEC798 #98DEC7 #C798DE
tetradic
#DEC798 #98DEA4 #98AFDE #DE98D2
square
#DEC798 #98DEA4 #98AFDE #DE98D2
split-complementary
#DEC798 #98D2DE #A498DE
monochromatic
#BF943D #CFAE6A #DEC798 #EDE0C6 #F8F2E8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DEC798#FFFFFF#000000##000000
##DEC7981.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)
#D3C695
Deuteranopia (green-blind)
#D8CC99
Tritanopia (blue-blind)
#E9BFBA
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #dec798;
/* rgb */ color: rgb(222, 199, 152);
/* oklch */ color: oklch(83.8% 0.067 84.8);
Tailwind
colors: {
  custom: {
    50: '#e9d7b6',
    500: '#dec798',
    950: '#000000',
  },
}
SCSS
$custom: #dec798;
$custom-light: #e9d7b6;
$custom-dark: #000000;
JSON
{
  "hex": "#dec798",
  "rgb": {
    "r": 222,
    "g": 199,
    "b": 152
  },
  "hsl": {
    "h": 40.286,
    "s": 51.471,
    "l": 73.333
  },
  "oklch": {
    "l": 0.83754,
    "c": 0.06703,
    "h": 84.8
  },
  "luminance": 0.58643
}

Semantic roles & 50–950 ramp

primary
#DEC798
secondary
#647FB6
accent
#59BF27
background
#FEFEFD
surface
#FDFBF8
border
#D5D4D1
text
#161411
muted
#848381

Preview Lab

Preview with #DEC798

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

Preview Lab → · Contrast checker → · Palette generator →

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