#DEC97E#DEC97E

#DEC97E is a very light, moderate yellow. Relative luminance 0.588; OKLCH L 83.7% C 0.098 H 94.3°. Best body text is #000000 at 12.76:1 contrast (WCAG AA passes).

Color values

HEX#DEC97E
RGBrgb(222, 201, 126)
HSLhsl(47, 59%, 68%)
HSVhsv(47, 43%, 87%)
CMYKcmyk(0%, 9.5%, 43.2%, 12.9%)
CIE-LABlab(81.19, -2.82, 40.08)
CIE-LCHlch(81.19, 40.18, 94.02°)
OKLaboklab(83.69% -0.0073 0.0975)
OKLCHoklch(83.69% 0.098 94.3)
XYZxyz(54.7782, 58.8113, 28.2009)
Luminance0.5881 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC97E #7E93DE
analogous
#DE997E #DEC97E #C3DE7E
triadic
#DEC97E #7EDEC9 #C97EDE
tetradic
#DEC97E #7EDE99 #7E93DE #DE7EC3
square
#DEC97E #7EDE99 #7E93DE #DE7EC3
split-complementary
#DEC97E #7EC3DE #997EDE
monochromatic
#B4962E #D2B54D #DEC97E #EADDAF #F7F2DF

Accessibility & contrast

On white

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

On black

12.76
#DEC97E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEC97E
12.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEC97E#FFFFFF#000000##000000
##DEC97E1.001.6512.7612.76
#FFFFFF1.651.0021.0021.00
#00000012.7621.001.001.00
##00000012.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C678
Deuteranopia (green-blind)
#DDCD81
Tritanopia (blue-blind)
#ECBEB7
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #dec97e;
/* rgb */ color: rgb(222, 201, 126);
/* oklch */ color: oklch(83.7% 0.098 94.3);
Tailwind
colors: {
  custom: {
    50: '#ead9a4',
    500: '#dec97e',
    950: '#000000',
  },
}
SCSS
$custom: #dec97e;
$custom-light: #ead9a4;
$custom-dark: #000000;
JSON
{
  "hex": "#dec97e",
  "rgb": {
    "r": 222,
    "g": 201,
    "b": 126
  },
  "hsl": {
    "h": 46.875,
    "s": 59.259,
    "l": 68.235
  },
  "oklch": {
    "l": 0.8369,
    "c": 0.09772,
    "h": 94.3
  },
  "luminance": 0.58809
}

Semantic roles & 50–950 ramp

primary
#DEC97E
secondary
#4B62B5
accent
#43C71F
background
#FFFEFC
surface
#FEFBF6
border
#D6D4D0
text
#16140F
muted
#858380

Preview Lab

Preview with #DEC97E

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

Preview Lab → · Contrast checker → · Palette generator →

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