#D6C878#D6C878

#D6C878 is a very light, moderate yellow. Relative luminance 0.570; OKLCH L 82.7% C 0.102 H 99.6°. Best body text is #000000 at 12.39:1 contrast (WCAG AA passes).

Color values

HEX#D6C878
RGBrgb(214, 200, 120)
HSLhsl(51, 53%, 65%)
HSVhsv(51, 44%, 84%)
CMYKcmyk(0%, 6.5%, 43.9%, 16.1%)
CIE-LABlab(80.16, -6.12, 41.66)
CIE-LCHlch(80.16, 42.11, 98.36°)
OKLaboklab(82.68% -0.017 0.1008)
OKLCHoklch(82.68% 0.102 99.6)
XYZxyz(51.7772, 56.9624, 26.0331)
Luminance0.5696 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6C878 #7886D6
analogous
#D69978 #D6C878 #B5D678
triadic
#D6C878 #78D6C8 #C878D6
tetradic
#D6C878 #78D699 #7886D6 #D678B5
square
#D6C878 #78D699 #7886D6 #D678B5
split-complementary
#D6C878 #78B5D6 #9978D6
monochromatic
#A29131 #C8B549 #D6C878 #E4DBA7 #F3EED6

Accessibility & contrast

On white

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

On black

12.39
#D6C878 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6C878
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6C878#FFFFFF#000000##000000
##D6C8781.001.6912.3912.39
#FFFFFF1.691.0021.0021.00
#00000012.3921.001.001.00
##00000012.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C472
Deuteranopia (green-blind)
#DAC97B
Tritanopia (blue-blind)
#E3BEB5
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d6c878;
/* rgb */ color: rgb(214, 200, 120);
/* oklch */ color: oklch(82.7% 0.102 99.6);
Tailwind
colors: {
  custom: {
    50: '#e4d8a0',
    500: '#d6c878',
    950: '#000000',
  },
}
SCSS
$custom: #d6c878;
$custom-light: #e4d8a0;
$custom-dark: #000000;
JSON
{
  "hex": "#d6c878",
  "rgb": {
    "r": 214,
    "g": 200,
    "b": 120
  },
  "hsl": {
    "h": 51.064,
    "s": 53.409,
    "l": 65.49
  },
  "oklch": {
    "l": 0.82684,
    "c": 0.10218,
    "h": 99.6
  },
  "luminance": 0.56961
}

Semantic roles & 50–950 ramp

primary
#D6C878
secondary
#4C59A6
accent
#3CC125
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#16140F
muted
#848380

Preview Lab

Preview with #D6C878

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

Preview Lab → · Contrast checker → · Palette generator →

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