#DCC87E#DCC87E

#DCC87E is a very light, moderate yellow. Relative luminance 0.580; OKLCH L 83.3% C 0.096 H 94.8°. Best body text is #000000 at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#DCC87E
RGBrgb(220, 200, 126)
HSLhsl(47, 57%, 68%)
HSVhsv(47, 43%, 86%)
CMYKcmyk(0%, 9.1%, 42.7%, 13.7%)
CIE-LABlab(80.76, -3.10, 39.50)
CIE-LCHlch(80.76, 39.62, 94.49°)
OKLaboklab(83.31% -0.008 0.0961)
OKLCHoklch(83.31% 0.096 94.8)
XYZxyz(53.9367, 58.0325, 28.0949)
Luminance0.5803 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC87E #7E92DC
analogous
#DC997E #DCC87E #C1DC7E
triadic
#DCC87E #7EDCC8 #C87EDC
tetradic
#DCC87E #7EDC99 #7E92DC #DC7EC1
square
#DCC87E #7EDC99 #7E92DC #DC7EC1
split-complementary
#DCC87E #7EC1DC #997EDC
monochromatic
#B09530 #CFB34E #DCC87E #E9DDAE #F6F1DE

Accessibility & contrast

On white

1.67
#DCC87E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.61
#DCC87E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC87E
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC87E#FFFFFF#000000##000000
##DCC87E1.001.6712.6112.61
#FFFFFF1.671.0021.0021.00
#00000012.6121.001.001.00
##00000012.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C578
Deuteranopia (green-blind)
#DCCB81
Tritanopia (blue-blind)
#E9BEB6
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #dcc87e;
/* rgb */ color: rgb(220, 200, 126);
/* oklch */ color: oklch(83.3% 0.096 94.8);
Tailwind
colors: {
  custom: {
    50: '#e8d8a4',
    500: '#dcc87e',
    950: '#000000',
  },
}
SCSS
$custom: #dcc87e;
$custom-light: #e8d8a4;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc87e",
  "rgb": {
    "r": 220,
    "g": 200,
    "b": 126
  },
  "hsl": {
    "h": 47.234,
    "s": 57.317,
    "l": 67.843
  },
  "oklch": {
    "l": 0.83308,
    "c": 0.09647,
    "h": 94.8
  },
  "luminance": 0.58031
}

Semantic roles & 50–950 ramp

primary
#DCC87E
secondary
#4C62B2
accent
#44C521
background
#FEFEFC
surface
#FDFBF6
border
#D5D4D0
text
#16140F
muted
#848380

Preview Lab

Preview with #DCC87E

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

Preview Lab → · Contrast checker → · Palette generator →

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