#D7B855#D7B855

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

Color values

HEX#D7B855
RGBrgb(215, 184, 85)
HSLhsl(46, 62%, 59%)
HSVhsv(46, 60%, 84%)
CMYKcmyk(0%, 14.4%, 60.5%, 15.7%)
CIE-LABlab(75.69, -0.38, 53.30)
CIE-LCHlch(75.69, 53.30, 90.40°)
OKLaboklab(79.04% -0.0042 0.1231)
OKLCHoklch(79.04% 0.123 92)
XYZxyz(46.8066, 49.3864, 15.6597)
Luminance0.4938 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7B855 #5574D7
analogous
#D77755 #D7B855 #B5D755
triadic
#D7B855 #55D7B8 #B855D7
tetradic
#D7B855 #55D777 #5574D7 #D755B5
square
#D7B855 #55D777 #5574D7 #D755B5
split-complementary
#D7B855 #55B5D7 #7755D7
monochromatic
#907622 #C19E2D #D7B855 #E3CD87 #EEE1B8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D7B855#FFFFFF#000000##000000
##D7B8551.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)
#CAB54B
Deuteranopia (green-blind)
#D2BE59
Tritanopia (blue-blind)
#E7ABA2
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #d7b855;
/* rgb */ color: rgb(215, 184, 85);
/* oklch */ color: oklch(79.0% 0.123 92.0);
Tailwind
colors: {
  custom: {
    50: '#e6cd88',
    500: '#d7b855',
    950: '#000000',
  },
}
SCSS
$custom: #d7b855;
$custom-light: #e6cd88;
$custom-dark: #000000;
JSON
{
  "hex": "#d7b855",
  "rgb": {
    "r": 215,
    "g": 184,
    "b": 85
  },
  "hsl": {
    "h": 45.692,
    "s": 61.905,
    "l": 58.824
  },
  "oklch": {
    "l": 0.7904,
    "c": 0.12312,
    "h": 92
  },
  "luminance": 0.49384
}

Semantic roles & 50–950 ramp

primary
#D7B855
secondary
#AAB7DE
accent
#69E543
background
#FEFCF8
surface
#FDF8F0
border
#D5D1CB
text
#16130C
muted
#84827D

Preview Lab

Preview with #D7B855

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

Preview Lab → · Contrast checker → · Palette generator →

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