#DEC997#DEC997

#DEC997 is a very light, moderate orange. Relative luminance 0.595; OKLCH L 84.1% C 0.070 H 87.9°. Best body text is #000000 at 12.91:1 contrast (WCAG AA passes).

Color values

HEX#DEC997
RGBrgb(222, 201, 151)
HSLhsl(42, 52%, 73%)
HSVhsv(42, 32%, 87%)
CMYKcmyk(0%, 9.5%, 32%, 12.9%)
CIE-LABlab(81.59, 0.02, 27.71)
CIE-LCHlch(81.59, 27.71, 89.96°)
OKLaboklab(84.14% 0.0026 0.0696)
OKLCHoklch(84.14% 0.07 87.9)
XYZxyz(56.5975, 59.5390, 37.7830)
Luminance0.5954 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC997 #97ACDE
analogous
#DEA597 #DEC997 #CFDE97
triadic
#DEC997 #97DEC9 #C997DE
tetradic
#DEC997 #97DEA5 #97ACDE #DE97CF
square
#DEC997 #97DEA5 #97ACDE #DE97CF
split-complementary
#DEC997 #97CFDE #A597DE
monochromatic
#BE983C #CFB169 #DEC997 #EDE1C5 #F8F3E8

Accessibility & contrast

On white

1.63
#DEC997 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.91
#DEC997 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEC997
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEC997#FFFFFF#000000##000000
##DEC9971.001.6312.9112.91
#FFFFFF1.631.0021.0021.00
#00000012.9121.001.001.00
##00000012.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C794
Deuteranopia (green-blind)
#DACD99
Tritanopia (blue-blind)
#E9C1BC
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #dec997;
/* rgb */ color: rgb(222, 201, 151);
/* oklch */ color: oklch(84.1% 0.070 87.9);
Tailwind
colors: {
  custom: {
    50: '#e9d9b6',
    500: '#dec997',
    950: '#000000',
  },
}
SCSS
$custom: #dec997;
$custom-light: #e9d9b6;
$custom-dark: #000000;
JSON
{
  "hex": "#dec997",
  "rgb": {
    "r": 222,
    "g": 201,
    "b": 151
  },
  "hsl": {
    "h": 42.254,
    "s": 51.825,
    "l": 73.137
  },
  "oklch": {
    "l": 0.84135,
    "c": 0.06963,
    "h": 87.9
  },
  "luminance": 0.59537
}

Semantic roles & 50–950 ramp

primary
#DEC997
secondary
#637CB6
accent
#54BF26
background
#FEFEFD
surface
#FDFBF8
border
#D5D4D1
text
#161411
muted
#848381

Preview Lab

Preview with #DEC997

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

Preview Lab → · Contrast checker → · Palette generator →

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