#DCC87F#DCC87F

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

Color values

HEX#DCC87F
RGBrgb(220, 200, 127)
HSLhsl(47, 57%, 68%)
HSVhsv(47, 42%, 86%)
CMYKcmyk(0%, 9.1%, 42.3%, 13.7%)
CIE-LABlab(80.77, -3.00, 39.01)
CIE-LCHlch(80.77, 39.12, 94.39°)
OKLaboklab(83.32% -0.0076 0.0951)
OKLCHoklch(83.32% 0.095 94.6)
XYZxyz(54.0016, 58.0584, 28.4364)
Luminance0.5806 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC87F #7F93DC
analogous
#DC997F #DCC87F #C1DC7F
triadic
#DCC87F #7FDCC8 #C87FDC
tetradic
#DCC87F #7FDC99 #7F93DC #DC7FC1
square
#DCC87F #7FDC99 #7F93DC #DC7FC1
split-complementary
#DCC87F #7FC1DC #997FDC
monochromatic
#B09530 #CFB34F #DCC87F #E9DDAF #F6F1DF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DCC87F#FFFFFF#000000##000000
##DCC87F1.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)
#D6C579
Deuteranopia (green-blind)
#DBCB82
Tritanopia (blue-blind)
#E9BEB6
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #dcc87f;
/* rgb */ color: rgb(220, 200, 127);
/* oklch */ color: oklch(83.3% 0.095 94.6);
Tailwind
colors: {
  custom: {
    50: '#e8d8a5',
    500: '#dcc87f',
    950: '#000000',
  },
}
SCSS
$custom: #dcc87f;
$custom-light: #e8d8a5;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc87f",
  "rgb": {
    "r": 220,
    "g": 200,
    "b": 127
  },
  "hsl": {
    "h": 47.097,
    "s": 57.055,
    "l": 68.039
  },
  "oklch": {
    "l": 0.83324,
    "c": 0.09539,
    "h": 94.6
  },
  "luminance": 0.58057
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DCC87F

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

Preview Lab → · Contrast checker → · Palette generator →

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