#DEC97D#DEC97D

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

Color values

HEX#DEC97D
RGBrgb(222, 201, 125)
HSLhsl(47, 60%, 68%)
HSVhsv(47, 44%, 87%)
CMYKcmyk(0%, 9.5%, 43.7%, 12.9%)
CIE-LABlab(81.17, -2.92, 40.57)
CIE-LCHlch(81.17, 40.67, 94.12°)
OKLaboklab(83.67% -0.0077 0.0985)
OKLCHoklch(83.67% 0.099 94.5)
XYZxyz(54.7140, 58.7856, 27.8627)
Luminance0.5878 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC97D #7D92DE
analogous
#DE987D #DEC97D #C3DE7D
triadic
#DEC97D #7DDEC9 #C97DDE
tetradic
#DEC97D #7DDE98 #7D92DE #DE7DC3
square
#DEC97D #7DDE98 #7D92DE #DE7DC3
split-complementary
#DEC97D #7DC3DE #987DDE
monochromatic
#B3962D #D2B54C #DEC97D #EADDAE #F7F2DF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DEC97D#FFFFFF#000000##000000
##DEC97D1.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)
#D8C677
Deuteranopia (green-blind)
#DDCC80
Tritanopia (blue-blind)
#ECBEB6
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #dec97d;
/* rgb */ color: rgb(222, 201, 125);
/* oklch */ color: oklch(83.7% 0.099 94.5);
Tailwind
colors: {
  custom: {
    50: '#ead9a4',
    500: '#dec97d',
    950: '#000000',
  },
}
SCSS
$custom: #dec97d;
$custom-light: #ead9a4;
$custom-dark: #000000;
JSON
{
  "hex": "#dec97d",
  "rgb": {
    "r": 222,
    "g": 201,
    "b": 125
  },
  "hsl": {
    "h": 47.01,
    "s": 59.509,
    "l": 68.039
  },
  "oklch": {
    "l": 0.83674,
    "c": 0.0988,
    "h": 94.5
  },
  "luminance": 0.58784
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DEC97D

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

Preview Lab → · Contrast checker → · Palette generator →

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