#D6C87D#D6C87D

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

Color values

HEX#D6C87D
RGBrgb(214, 200, 125)
HSLhsl(51, 52%, 66%)
HSVhsv(51, 42%, 84%)
CMYKcmyk(0%, 6.5%, 41.6%, 16.1%)
CIE-LABlab(80.23, -5.61, 39.23)
CIE-LCHlch(80.23, 39.62, 98.14°)
OKLaboklab(82.76% -0.0151 0.0955)
OKLCHoklch(82.76% 0.097 99)
XYZxyz(52.0886, 57.0870, 27.6731)
Luminance0.5708 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6C87D #7D8BD6
analogous
#D69C7D #D6C87D #B8D67D
triadic
#D6C87D #7DD6C8 #C87DD6
tetradic
#D6C87D #7DD69C #7D8BD6 #D67DB8
square
#D6C87D #7DD69C #7D8BD6 #D67DB8
split-complementary
#D6C87D #7DB8D6 #9C7DD6
monochromatic
#A59334 #C7B44E #D6C87D #E5DCAC #F3EFDA

Accessibility & contrast

On white

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

On black

12.42
#D6C87D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6C87D
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6C87D#FFFFFF#000000##000000
##D6C87D1.001.6912.4212.42
#FFFFFF1.691.0021.0021.00
#00000012.4221.001.001.00
##00000012.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C477
Deuteranopia (green-blind)
#D9C980
Tritanopia (blue-blind)
#E2BEB5
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d6c87d;
/* rgb */ color: rgb(214, 200, 125);
/* oklch */ color: oklch(82.8% 0.097 99.0);
Tailwind
colors: {
  custom: {
    50: '#e4d8a3',
    500: '#d6c87d',
    950: '#000000',
  },
}
SCSS
$custom: #d6c87d;
$custom-light: #e4d8a3;
$custom-dark: #000000;
JSON
{
  "hex": "#d6c87d",
  "rgb": {
    "r": 214,
    "g": 200,
    "b": 125
  },
  "hsl": {
    "h": 50.562,
    "s": 52.047,
    "l": 66.471
  },
  "oklch": {
    "l": 0.82763,
    "c": 0.09671,
    "h": 99
  },
  "luminance": 0.57085
}

Semantic roles & 50–950 ramp

primary
#D6C87D
secondary
#4F5DA9
accent
#3EBF26
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#16140F
muted
#848380

Preview Lab

Preview with #D6C87D

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

Preview Lab → · Contrast checker → · Palette generator →

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