#DCC87C#DCC87C

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

Color values

HEX#DCC87C
RGBrgb(220, 200, 124)
HSLhsl(48, 58%, 67%)
HSVhsv(48, 44%, 86%)
CMYKcmyk(0%, 9.1%, 43.6%, 13.7%)
CIE-LABlab(80.73, -3.31, 40.47)
CIE-LCHlch(80.73, 40.61, 94.67°)
OKLaboklab(83.28% -0.0088 0.0983)
OKLCHoklch(83.28% 0.099 95.1)
XYZxyz(53.8090, 57.9814, 27.4220)
Luminance0.5798 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC87C #7C90DC
analogous
#DC987C #DCC87C #C0DC7C
triadic
#DCC87C #7CDCC8 #C87CDC
tetradic
#DCC87C #7CDC98 #7C90DC #DC7CC0
square
#DCC87C #7CDC98 #7C90DC #DC7CC0
split-complementary
#DCC87C #7CC0DC #987CDC
monochromatic
#AF942F #CFB44C #DCC87C #E9DCAC #F6F1DD

Accessibility & contrast

On white

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

On black

12.60
#DCC87C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC87C
12.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC87C#FFFFFF#000000##000000
##DCC87C1.001.6712.6012.60
#FFFFFF1.671.0021.0021.00
#00000012.6021.001.001.00
##00000012.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C576
Deuteranopia (green-blind)
#DCCB7F
Tritanopia (blue-blind)
#E9BDB5
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #dcc87c;
/* rgb */ color: rgb(220, 200, 124);
/* oklch */ color: oklch(83.3% 0.099 95.1);
Tailwind
colors: {
  custom: {
    50: '#e8d8a3',
    500: '#dcc87c',
    950: '#000000',
  },
}
SCSS
$custom: #dcc87c;
$custom-light: #e8d8a3;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc87c",
  "rgb": {
    "r": 220,
    "g": 200,
    "b": 124
  },
  "hsl": {
    "h": 47.5,
    "s": 57.831,
    "l": 67.451
  },
  "oklch": {
    "l": 0.83276,
    "c": 0.09864,
    "h": 95.1
  },
  "luminance": 0.57979
}

Semantic roles & 50–950 ramp

primary
#DCC87C
secondary
#4B60B1
accent
#43C520
background
#FEFEFC
surface
#FDFBF5
border
#D5D4CF
text
#16140F
muted
#848380

Preview Lab

Preview with #DCC87C

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

Preview Lab → · Contrast checker → · Palette generator →

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