#DEC87B#DEC87B

#DEC87B is a very light, moderate yellow. Relative luminance 0.583; OKLCH L 83.4% C 0.100 H 94.0°. Best body text is #000000 at 12.65:1 contrast (WCAG AA passes).

Color values

HEX#DEC87B
RGBrgb(222, 200, 123)
HSLhsl(47, 60%, 68%)
HSVhsv(47, 45%, 87%)
CMYKcmyk(0%, 9.9%, 44.6%, 12.9%)
CIE-LABlab(80.89, -2.60, 41.21)
CIE-LCHlch(80.89, 41.30, 93.61°)
OKLaboklab(83.44% -0.0069 0.0999)
OKLCHoklch(83.44% 0.1 94)
XYZxyz(54.3551, 58.2703, 27.1192)
Luminance0.5827 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEC87B #7B91DE
analogous
#DE977B #DEC87B #C2DE7B
triadic
#DEC87B #7BDEC8 #C87BDE
tetradic
#DEC87B #7BDE97 #7B91DE #DE7BC2
square
#DEC87B #7BDE97 #7B91DE #DE7BC2
split-complementary
#DEC87B #7BC2DE #977BDE
monochromatic
#B2942D #D2B44A #DEC87B #EADCAC #F6F1DD

Accessibility & contrast

On white

1.66
#DEC87B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.65
#DEC87B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEC87B
12.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEC87B#FFFFFF#000000##000000
##DEC87B1.001.6612.6512.65
#FFFFFF1.661.0021.0021.00
#00000012.6521.001.001.00
##00000012.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C575
Deuteranopia (green-blind)
#DDCC7E
Tritanopia (blue-blind)
#ECBDB5
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #dec87b;
/* rgb */ color: rgb(222, 200, 123);
/* oklch */ color: oklch(83.4% 0.100 94.0);
Tailwind
colors: {
  custom: {
    50: '#ead8a2',
    500: '#dec87b',
    950: '#000000',
  },
}
SCSS
$custom: #dec87b;
$custom-light: #ead8a2;
$custom-dark: #000000;
JSON
{
  "hex": "#dec87b",
  "rgb": {
    "r": 222,
    "g": 200,
    "b": 123
  },
  "hsl": {
    "h": 46.667,
    "s": 60,
    "l": 67.647
  },
  "oklch": {
    "l": 0.8344,
    "c": 0.10009,
    "h": 94
  },
  "luminance": 0.58268
}

Semantic roles & 50–950 ramp

primary
#DEC87B
secondary
#4961B4
accent
#44C81E
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#16140F
muted
#858380

Preview Lab

Preview with #DEC87B

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

Preview Lab → · Contrast checker → · Palette generator →

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