#DEC987#DEC987

#DEC987 is a very light, moderate yellow. Relative luminance 0.591; OKLCH L 83.8% C 0.088 H 92.5°. Best body text is #000000 at 12.81:1 contrast (WCAG AA passes).

Color values

HEX#DEC987
RGBrgb(222, 201, 135)
HSLhsl(46, 57%, 70%)
HSVhsv(46, 39%, 87%)
CMYKcmyk(0%, 9.5%, 39.2%, 12.9%)
CIE-LABlab(81.32, -1.86, 35.66)
CIE-LCHlch(81.32, 35.71, 92.99°)
OKLaboklab(83.84% -0.0038 0.0878)
OKLCHoklch(83.84% 0.088 92.5)
XYZxyz(55.3852, 59.0541, 31.3981)
Luminance0.5905 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC987 #879CDE
analogous
#DE9D87 #DEC987 #C8DE87
triadic
#DEC987 #87DEC9 #C987DE
tetradic
#DEC987 #87DE9D #879CDE #DE87C8
square
#DEC987 #87DE9D #879CDE #DE87C8
split-complementary
#DEC987 #87C8DE #9D87DE
monochromatic
#B89833 #D1B357 #DEC987 #EBDFB7 #F8F4E7

Accessibility & contrast

On white

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

On black

12.81
#DEC987 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEC987
12.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEC987#FFFFFF#000000##000000
##DEC9871.001.6412.8112.81
#FFFFFF1.641.0021.0021.00
#00000012.8121.001.001.00
##00000012.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C682
Deuteranopia (green-blind)
#DCCD89
Tritanopia (blue-blind)
#EBBFB8
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #dec987;
/* rgb */ color: rgb(222, 201, 135);
/* oklch */ color: oklch(83.8% 0.088 92.5);
Tailwind
colors: {
  custom: {
    50: '#e9d9aa',
    500: '#dec987',
    950: '#000000',
  },
}
SCSS
$custom: #dec987;
$custom-light: #e9d9aa;
$custom-dark: #000000;
JSON
{
  "hex": "#dec987",
  "rgb": {
    "r": 222,
    "g": 201,
    "b": 135
  },
  "hsl": {
    "h": 45.517,
    "s": 56.863,
    "l": 70
  },
  "oklch": {
    "l": 0.83839,
    "c": 0.08784,
    "h": 92.5
  },
  "luminance": 0.59052
}

Semantic roles & 50–950 ramp

primary
#DEC987
secondary
#546BB5
accent
#49C421
background
#FEFEFD
surface
#FDFBF7
border
#D5D4D0
text
#161410
muted
#848381

Preview Lab

Preview with #DEC987

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

Preview Lab → · Contrast checker → · Palette generator →

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