#D7B856#D7B856

#D7B856 is a light, vivid yellow. Relative luminance 0.494; OKLCH L 79.1% C 0.122 H 91.8°. Best body text is #000000 at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#D7B856
RGBrgb(215, 184, 86)
HSLhsl(46, 62%, 59%)
HSVhsv(46, 60%, 84%)
CMYKcmyk(0%, 14.4%, 60%, 15.7%)
CIE-LABlab(75.70, -0.31, 52.85)
CIE-LCHlch(75.70, 52.85, 90.33°)
OKLaboklab(79.05% -0.0039 0.1222)
OKLCHoklch(79.05% 0.122 91.8)
XYZxyz(46.8466, 49.4024, 15.8704)
Luminance0.4940 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7B856 #5675D7
analogous
#D77856 #D7B856 #B6D756
triadic
#D7B856 #56D7B8 #B856D7
tetradic
#D7B856 #56D778 #5675D7 #D756B6
square
#D7B856 #56D778 #5675D7 #D756B6
split-complementary
#D7B856 #56B6D7 #7856D7
monochromatic
#907622 #C29E2E #D7B856 #E3CD87 #EEE2B9

Accessibility & contrast

On white

1.93
#D7B856 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.88
#D7B856 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7B856
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7B856#FFFFFF#000000##000000
##D7B8561.001.9310.8810.88
#FFFFFF1.931.0021.0021.00
#00000010.8821.001.001.00
##00000010.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB54C
Deuteranopia (green-blind)
#D1BE5A
Tritanopia (blue-blind)
#E7ABA2
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #d7b856;
/* rgb */ color: rgb(215, 184, 86);
/* oklch */ color: oklch(79.1% 0.122 91.8);
Tailwind
colors: {
  custom: {
    50: '#e6cd89',
    500: '#d7b856',
    950: '#000000',
  },
}
SCSS
$custom: #d7b856;
$custom-light: #e6cd89;
$custom-dark: #000000;
JSON
{
  "hex": "#d7b856",
  "rgb": {
    "r": 215,
    "g": 184,
    "b": 86
  },
  "hsl": {
    "h": 45.581,
    "s": 61.722,
    "l": 59.02
  },
  "oklch": {
    "l": 0.79051,
    "c": 0.12227,
    "h": 91.8
  },
  "luminance": 0.494
}

Semantic roles & 50–950 ramp

primary
#D7B856
secondary
#ABB7DE
accent
#6AE543
background
#FEFCF8
surface
#FDF8F0
border
#D5D1CB
text
#16130C
muted
#84827D

Preview Lab

Preview with #D7B856

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

Preview Lab → · Contrast checker → · Palette generator →

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