#D1C87F#D1C87F

#D1C87F is a very light, moderate yellow. Relative luminance 0.564; OKLCH L 82.4% C 0.094 H 102.1°. Best body text is #000000 at 12.28:1 contrast (WCAG AA passes).

Color values

HEX#D1C87F
RGBrgb(209, 200, 127)
HSLhsl(53, 47%, 66%)
HSVhsv(53, 39%, 82%)
CMYKcmyk(0%, 4.3%, 39.2%, 18%)
CIE-LABlab(79.84, -7.38, 37.63)
CIE-LCHlch(79.84, 38.34, 101.10°)
OKLaboklab(82.36% -0.0198 0.092)
OKLCHoklch(82.36% 0.094 102.1)
XYZxyz(50.7804, 56.3975, 28.2854)
Luminance0.5640 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1C87F #7F88D1
analogous
#D19F7F #D1C87F #B1D17F
triadic
#D1C87F #7FD1C8 #C87FD1
tetradic
#D1C87F #7FD19F #7F88D1 #D17FB1
square
#D1C87F #7FD19F #7F88D1 #D17FB1
split-complementary
#D1C87F #7FB1D1 #9F7FD1
monochromatic
#9D9238 #C1B552 #D1C87F #E1DBAC #F1EFD9

Accessibility & contrast

On white

1.71
#D1C87F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.28
#D1C87F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1C87F
12.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1C87F#FFFFFF#000000##000000
##D1C87F1.001.7112.2812.28
#FFFFFF1.711.0021.0021.00
#00000012.2821.001.001.00
##00000012.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C37A
Deuteranopia (green-blind)
#D7C882
Tritanopia (blue-blind)
#DCBFB6
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #d1c87f;
/* rgb */ color: rgb(209, 200, 127);
/* oklch */ color: oklch(82.4% 0.094 102.1);
Tailwind
colors: {
  custom: {
    50: '#e0d8a5',
    500: '#d1c87f',
    950: '#000000',
  },
}
SCSS
$custom: #d1c87f;
$custom-light: #e0d8a5;
$custom-dark: #000000;
JSON
{
  "hex": "#d1c87f",
  "rgb": {
    "r": 209,
    "g": 200,
    "b": 127
  },
  "hsl": {
    "h": 53.415,
    "s": 47.126,
    "l": 65.882
  },
  "oklch": {
    "l": 0.82363,
    "c": 0.09414,
    "h": 102.1
  },
  "luminance": 0.56396
}

Semantic roles & 50–950 ramp

primary
#D1C87F
secondary
#525BA2
accent
#3BBA2B
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15140F
muted
#848380

Preview Lab

Preview with #D1C87F

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

Preview Lab → · Contrast checker → · Palette generator →

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