#D7C856#D7C856

#D7C856 is a very light, vivid yellow. Relative luminance 0.564; OKLCH L 82.3% C 0.135 H 101.9°. Best body text is #000000 at 12.29:1 contrast (WCAG AA passes).

Color values

HEX#D7C856
RGBrgb(215, 200, 86)
HSLhsl(53, 62%, 59%)
HSVhsv(53, 60%, 84%)
CMYKcmyk(0%, 7%, 60%, 15.7%)
CIE-LABlab(79.86, -8.59, 57.49)
CIE-LCHlch(79.86, 58.13, 98.49°)
OKLaboklab(82.34% -0.0277 0.1321)
OKLCHoklch(82.34% 0.135 101.9)
XYZxyz(50.3602, 56.4295, 17.0415)
Luminance0.5643 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7C856 #5665D7
analogous
#D78856 #D7C856 #A6D756
triadic
#D7C856 #56D7C8 #C856D7
tetradic
#D7C856 #56D788 #5665D7 #D756A6
square
#D7C856 #56D788 #5665D7 #D756A6
split-complementary
#D7C856 #56A6D7 #8856D7
monochromatic
#908422 #C2B12E #D7C856 #E3D887 #EEE8B9

Accessibility & contrast

On white

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

On black

12.29
#D7C856 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7C856
12.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7C856#FFFFFF#000000##000000
##D7C8561.001.7112.2912.29
#FFFFFF1.711.0021.0021.00
#00000012.2921.001.001.00
##00000012.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C249
Deuteranopia (green-blind)
#DDC95C
Tritanopia (blue-blind)
#E6BBAF
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #d7c856;
/* rgb */ color: rgb(215, 200, 86);
/* oklch */ color: oklch(82.3% 0.135 101.9);
Tailwind
colors: {
  custom: {
    50: '#e6d88a',
    500: '#d7c856',
    950: '#000000',
  },
}
SCSS
$custom: #d7c856;
$custom-light: #e6d88a;
$custom-dark: #000000;
JSON
{
  "hex": "#d7c856",
  "rgb": {
    "r": 215,
    "g": 200,
    "b": 86
  },
  "hsl": {
    "h": 53.023,
    "s": 61.722,
    "l": 59.02
  },
  "oklch": {
    "l": 0.82341,
    "c": 0.135,
    "h": 101.9
  },
  "luminance": 0.56428
}

Semantic roles & 50–950 ramp

primary
#D7C856
secondary
#3B4696
accent
#56E543
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #D7C856

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

Preview Lab → · Contrast checker → · Palette generator →

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