#DEC98A#DEC98A

#DEC98A is a very light, moderate yellow. Relative luminance 0.591; OKLCH L 83.9% C 0.084 H 91.8°. Best body text is #000000 at 12.83:1 contrast (WCAG AA passes).

Color values

HEX#DEC98A
RGBrgb(222, 201, 138)
HSLhsl(45, 56%, 71%)
HSVhsv(45, 38%, 87%)
CMYKcmyk(0%, 9.5%, 37.8%, 12.9%)
CIE-LABlab(81.37, -1.53, 34.18)
CIE-LCHlch(81.37, 34.21, 92.56°)
OKLaboklab(83.89% -0.0026 0.0844)
OKLCHoklch(83.89% 0.084 91.8)
XYZxyz(55.5994, 59.1398, 32.5262)
Luminance0.5914 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC98A #8A9FDE
analogous
#DE9F8A #DEC98A #C9DE8A
triadic
#DEC98A #8ADEC9 #C98ADE
tetradic
#DEC98A #8ADE9F #8A9FDE #DE8AC9
square
#DEC98A #8ADE9F #8A9FDE #DE8AC9
split-complementary
#DEC98A #8AC9DE #9F8ADE
monochromatic
#B99834 #D1B35A #DEC98A #EBDFBA #F8F4E7

Accessibility & contrast

On white

1.64
#DEC98A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.83
#DEC98A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEC98A
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEC98A#FFFFFF#000000##000000
##DEC98A1.001.6412.8312.83
#FFFFFF1.641.0021.0021.00
#00000012.8321.001.001.00
##00000012.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C785
Deuteranopia (green-blind)
#DCCD8C
Tritanopia (blue-blind)
#EBBFB9
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #dec98a;
/* rgb */ color: rgb(222, 201, 138);
/* oklch */ color: oklch(83.9% 0.084 91.8);
Tailwind
colors: {
  custom: {
    50: '#e9d9ad',
    500: '#dec98a',
    950: '#000000',
  },
}
SCSS
$custom: #dec98a;
$custom-light: #e9d9ad;
$custom-dark: #000000;
JSON
{
  "hex": "#dec98a",
  "rgb": {
    "r": 222,
    "g": 201,
    "b": 138
  },
  "hsl": {
    "h": 45,
    "s": 56,
    "l": 70.588
  },
  "oklch": {
    "l": 0.83891,
    "c": 0.08448,
    "h": 91.8
  },
  "luminance": 0.59138
}

Semantic roles & 50–950 ramp

primary
#DEC98A
secondary
#576EB5
accent
#4AC422
background
#FEFEFD
surface
#FDFBF7
border
#D5D4D0
text
#161410
muted
#848381

Preview Lab

Preview with #DEC98A

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

Preview Lab → · Contrast checker → · Palette generator →

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