#DEC97A#DEC97A

#DEC97A is a very light, moderate yellow. Relative luminance 0.587; OKLCH L 83.6% C 0.102 H 95.0°. Best body text is #000000 at 12.74:1 contrast (WCAG AA passes).

Color values

HEX#DEC97A
RGBrgb(222, 201, 122)
HSLhsl(47, 60%, 67%)
HSVhsv(47, 45%, 87%)
CMYKcmyk(0%, 9.5%, 45%, 12.9%)
CIE-LABlab(81.13, -3.22, 42.02)
CIE-LCHlch(81.13, 42.15, 94.38°)
OKLaboklab(83.63% -0.0088 0.1016)
OKLCHoklch(83.63% 0.102 95)
XYZxyz(54.5252, 58.7101, 26.8686)
Luminance0.5871 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC97A #7A8FDE
analogous
#DE977A #DEC97A #C1DE7A
triadic
#DEC97A #7ADEC9 #C97ADE
tetradic
#DEC97A #7ADE97 #7A8FDE #DE7AC1
square
#DEC97A #7ADE97 #7A8FDE #DE7AC1
split-complementary
#DEC97A #7AC1DE #977ADE
monochromatic
#B2962C #D2B549 #DEC97A #EADDAB #F6F1DC

Accessibility & contrast

On white

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

On black

12.74
#DEC97A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEC97A
12.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEC97A#FFFFFF#000000##000000
##DEC97A1.001.6512.7412.74
#FFFFFF1.651.0021.0021.00
#00000012.7421.001.001.00
##00000012.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C674
Deuteranopia (green-blind)
#DDCC7D
Tritanopia (blue-blind)
#ECBEB6
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #dec97a;
/* rgb */ color: rgb(222, 201, 122);
/* oklch */ color: oklch(83.6% 0.102 95.0);
Tailwind
colors: {
  custom: {
    50: '#ead9a2',
    500: '#dec97a',
    950: '#000000',
  },
}
SCSS
$custom: #dec97a;
$custom-light: #ead9a2;
$custom-dark: #000000;
JSON
{
  "hex": "#dec97a",
  "rgb": {
    "r": 222,
    "g": 201,
    "b": 122
  },
  "hsl": {
    "h": 47.4,
    "s": 60.241,
    "l": 67.451
  },
  "oklch": {
    "l": 0.83627,
    "c": 0.10199,
    "h": 95
  },
  "luminance": 0.58708
}

Semantic roles & 50–950 ramp

primary
#DEC97A
secondary
#495FB3
accent
#41C81E
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#16140F
muted
#858380

Preview Lab

Preview with #DEC97A

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

Preview Lab → · Contrast checker → · Palette generator →

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