#DEC989#DEC989

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

Color values

HEX#DEC989
RGBrgb(222, 201, 137)
HSLhsl(45, 56%, 70%)
HSVhsv(45, 38%, 87%)
CMYKcmyk(0%, 9.5%, 38.3%, 12.9%)
CIE-LABlab(81.35, -1.64, 34.67)
CIE-LCHlch(81.35, 34.71, 92.71°)
OKLaboklab(83.87% -0.003 0.0856)
OKLCHoklch(83.87% 0.086 92)
XYZxyz(55.5274, 59.1109, 32.1467)
Luminance0.5911 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC989 #899EDE
analogous
#DE9E89 #DEC989 #C9DE89
triadic
#DEC989 #89DEC9 #C989DE
tetradic
#DEC989 #89DE9E #899EDE #DE89C9
square
#DEC989 #89DE9E #899EDE #DE89C9
split-complementary
#DEC989 #89C9DE #9E89DE
monochromatic
#B99834 #D1B359 #DEC989 #EBDFB9 #F8F4E7

Accessibility & contrast

On white

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

On black

12.82
#DEC989 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEC989
12.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEC989#FFFFFF#000000##000000
##DEC9891.001.6412.8212.82
#FFFFFF1.641.0021.0021.00
#00000012.8221.001.001.00
##00000012.8221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dec989;
/* rgb */ color: rgb(222, 201, 137);
/* oklch */ color: oklch(83.9% 0.086 92.0);
Tailwind
colors: {
  custom: {
    50: '#e9d9ac',
    500: '#dec989',
    950: '#000000',
  },
}
SCSS
$custom: #dec989;
$custom-light: #e9d9ac;
$custom-dark: #000000;
JSON
{
  "hex": "#dec989",
  "rgb": {
    "r": 222,
    "g": 201,
    "b": 137
  },
  "hsl": {
    "h": 45.176,
    "s": 56.291,
    "l": 70.392
  },
  "oklch": {
    "l": 0.83873,
    "c": 0.0856,
    "h": 92
  },
  "luminance": 0.59109
}

Semantic roles & 50–950 ramp

primary
#DEC989
secondary
#566DB5
accent
#4AC422
background
#FEFEFD
surface
#FDFBF7
border
#D5D4D0
text
#161410
muted
#848381

Preview Lab

Preview with #DEC989

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

Preview Lab → · Contrast checker → · Palette generator →

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