#DEC97C#DEC97C

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

Color values

HEX#DEC97C
RGBrgb(222, 201, 124)
HSLhsl(47, 60%, 68%)
HSVhsv(47, 44%, 87%)
CMYKcmyk(0%, 9.5%, 44.1%, 12.9%)
CIE-LABlab(81.16, -3.02, 41.05)
CIE-LCHlch(81.16, 41.16, 94.21°)
OKLaboklab(83.66% -0.0081 0.0995)
OKLCHoklch(83.66% 0.1 94.6)
XYZxyz(54.6504, 58.7601, 27.5280)
Luminance0.5876 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC97C #7C91DE
analogous
#DE987C #DEC97C #C2DE7C
triadic
#DEC97C #7CDEC9 #C97CDE
tetradic
#DEC97C #7CDE98 #7C91DE #DE7CC2
square
#DEC97C #7CDE98 #7C91DE #DE7CC2
split-complementary
#DEC97C #7CC2DE #987CDE
monochromatic
#B3962D #D2B54B #DEC97C #EADDAD #F7F1DE

Accessibility & contrast

On white

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

On black

12.75
#DEC97C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEC97C
12.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEC97C#FFFFFF#000000##000000
##DEC97C1.001.6512.7512.75
#FFFFFF1.651.0021.0021.00
#00000012.7521.001.001.00
##00000012.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C676
Deuteranopia (green-blind)
#DDCC7F
Tritanopia (blue-blind)
#ECBEB6
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #dec97c;
/* rgb */ color: rgb(222, 201, 124);
/* oklch */ color: oklch(83.7% 0.100 94.6);
Tailwind
colors: {
  custom: {
    50: '#ead9a3',
    500: '#dec97c',
    950: '#000000',
  },
}
SCSS
$custom: #dec97c;
$custom-light: #ead9a3;
$custom-dark: #000000;
JSON
{
  "hex": "#dec97c",
  "rgb": {
    "r": 222,
    "g": 201,
    "b": 124
  },
  "hsl": {
    "h": 47.143,
    "s": 59.756,
    "l": 67.843
  },
  "oklch": {
    "l": 0.83658,
    "c": 0.09987,
    "h": 94.6
  },
  "luminance": 0.58758
}

Semantic roles & 50–950 ramp

primary
#DEC97C
secondary
#4A61B4
accent
#42C71E
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#16140F
muted
#858380

Preview Lab

Preview with #DEC97C

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

Preview Lab → · Contrast checker → · Palette generator →

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