#DEC797#DEC797

#DEC797 is a very light, moderate orange. Relative luminance 0.586; OKLCH L 83.7% C 0.068 H 85.3°. Best body text is #000000 at 12.72:1 contrast (WCAG AA passes).

Color values

HEX#DEC797
RGBrgb(222, 199, 151)
HSLhsl(41, 52%, 73%)
HSVhsv(41, 32%, 87%)
CMYKcmyk(0%, 10.4%, 32%, 12.9%)
CIE-LABlab(81.08, 1.06, 27.02)
CIE-LCHlch(81.08, 27.05, 87.75°)
OKLaboklab(83.73% 0.0056 0.0679)
OKLCHoklch(83.73% 0.068 85.3)
XYZxyz(56.1344, 58.6126, 37.6286)
Luminance0.5861 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC797 #97AEDE
analogous
#DEA397 #DEC797 #D2DE97
triadic
#DEC797 #97DEC7 #C797DE
tetradic
#DEC797 #97DEA3 #97AEDE #DE97D2
square
#DEC797 #97DEA3 #97AEDE #DE97D2
split-complementary
#DEC797 #97D2DE #A397DE
monochromatic
#BE943C #CFAE69 #DEC797 #EDE0C5 #F8F2E8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DEC797#FFFFFF#000000##000000
##DEC7971.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)
#D3C694
Deuteranopia (green-blind)
#D8CC98
Tritanopia (blue-blind)
#E9BFBA
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #dec797;
/* rgb */ color: rgb(222, 199, 151);
/* oklch */ color: oklch(83.7% 0.068 85.3);
Tailwind
colors: {
  custom: {
    50: '#e9d7b6',
    500: '#dec797',
    950: '#000000',
  },
}
SCSS
$custom: #dec797;
$custom-light: #e9d7b6;
$custom-dark: #000000;
JSON
{
  "hex": "#dec797",
  "rgb": {
    "r": 222,
    "g": 199,
    "b": 151
  },
  "hsl": {
    "h": 40.563,
    "s": 51.825,
    "l": 73.137
  },
  "oklch": {
    "l": 0.83734,
    "c": 0.06817,
    "h": 85.3
  },
  "luminance": 0.58611
}

Semantic roles & 50–950 ramp

primary
#DEC797
secondary
#637EB6
accent
#58BF26
background
#FEFEFD
surface
#FDFBF8
border
#D5D4D1
text
#161411
muted
#848381

Preview Lab

Preview with #DEC797

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

Preview Lab → · Contrast checker → · Palette generator →

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