#D6C87F#D6C87F

#D6C87F is a very light, moderate yellow. Relative luminance 0.571; OKLCH L 82.8% C 0.094 H 98.7°. Best body text is #000000 at 12.43:1 contrast (WCAG AA passes).

Color values

HEX#D6C87F
RGBrgb(214, 200, 127)
HSLhsl(50, 51%, 67%)
HSVhsv(50, 41%, 84%)
CMYKcmyk(0%, 6.5%, 40.7%, 16.1%)
CIE-LABlab(80.26, -5.39, 38.25)
CIE-LCHlch(80.26, 38.62, 98.03°)
OKLaboklab(82.8% -0.0143 0.0934)
OKLCHoklch(82.8% 0.094 98.7)
XYZxyz(52.2177, 57.1386, 28.3528)
Luminance0.5714 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6C87F #7F8DD6
analogous
#D69D7F #D6C87F #B9D67F
triadic
#D6C87F #7FD6C8 #C87FD6
tetradic
#D6C87F #7FD69D #7F8DD6 #D67FB9
square
#D6C87F #7FD69D #7F8DD6 #D67FB9
split-complementary
#D6C87F #7FB9D6 #9D7FD6
monochromatic
#A69335 #C7B451 #D6C87F #E5DCAD #F4F0DC

Accessibility & contrast

On white

1.69
#D6C87F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.43
#D6C87F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6C87F
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6C87F#FFFFFF#000000##000000
##D6C87F1.001.6912.4312.43
#FFFFFF1.691.0021.0021.00
#00000012.4321.001.001.00
##00000012.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C479
Deuteranopia (green-blind)
#D9C982
Tritanopia (blue-blind)
#E2BEB6
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d6c87f;
/* rgb */ color: rgb(214, 200, 127);
/* oklch */ color: oklch(82.8% 0.094 98.7);
Tailwind
colors: {
  custom: {
    50: '#e4d8a5',
    500: '#d6c87f',
    950: '#000000',
  },
}
SCSS
$custom: #d6c87f;
$custom-light: #e4d8a5;
$custom-dark: #000000;
JSON
{
  "hex": "#d6c87f",
  "rgb": {
    "r": 214,
    "g": 200,
    "b": 127
  },
  "hsl": {
    "h": 50.345,
    "s": 51.479,
    "l": 66.863
  },
  "oklch": {
    "l": 0.82795,
    "c": 0.09449,
    "h": 98.7
  },
  "luminance": 0.57137
}

Semantic roles & 50–950 ramp

primary
#D6C87F
secondary
#505EAA
accent
#3FBF27
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#16140F
muted
#848380

Preview Lab

Preview with #D6C87F

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

Preview Lab → · Contrast checker → · Palette generator →

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