#DCC87B#DCC87B

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

Color values

HEX#DCC87B
RGBrgb(220, 200, 123)
HSLhsl(48, 58%, 67%)
HSVhsv(48, 44%, 86%)
CMYKcmyk(0%, 9.1%, 44.1%, 13.7%)
CIE-LABlab(80.71, -3.41, 40.96)
CIE-LCHlch(80.71, 41.10, 94.76°)
OKLaboklab(83.26% -0.0092 0.0993)
OKLCHoklch(83.26% 0.1 95.3)
XYZxyz(53.7460, 57.9562, 27.0906)
Luminance0.5795 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC87B #7B8FDC
analogous
#DC987B #DCC87B #C0DC7B
triadic
#DCC87B #7BDCC8 #C87BDC
tetradic
#DCC87B #7BDC98 #7B8FDC #DC7BC0
square
#DCC87B #7BDC98 #7B8FDC #DC7BC0
split-complementary
#DCC87B #7BC0DC #987BDC
monochromatic
#AE942E #CFB44B #DCC87B #E9DCAB #F6F0DC

Accessibility & contrast

On white

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

On black

12.59
#DCC87B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC87B
12.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC87B#FFFFFF#000000##000000
##DCC87B1.001.6712.5912.59
#FFFFFF1.671.0021.0021.00
#00000012.5921.001.001.00
##00000012.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C575
Deuteranopia (green-blind)
#DCCB7E
Tritanopia (blue-blind)
#EABDB5
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #dcc87b;
/* rgb */ color: rgb(220, 200, 123);
/* oklch */ color: oklch(83.3% 0.100 95.3);
Tailwind
colors: {
  custom: {
    50: '#e8d8a2',
    500: '#dcc87b',
    950: '#000000',
  },
}
SCSS
$custom: #dcc87b;
$custom-light: #e8d8a2;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc87b",
  "rgb": {
    "r": 220,
    "g": 200,
    "b": 123
  },
  "hsl": {
    "h": 47.629,
    "s": 58.084,
    "l": 67.255
  },
  "oklch": {
    "l": 0.83261,
    "c": 0.09971,
    "h": 95.3
  },
  "luminance": 0.57954
}

Semantic roles & 50–950 ramp

primary
#DCC87B
secondary
#4B60B1
accent
#42C620
background
#FEFEFC
surface
#FDFBF5
border
#D5D4CF
text
#16140F
muted
#848380

Preview Lab

Preview with #DCC87B

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

Preview Lab → · Contrast checker → · Palette generator →

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