#D7B85A#D7B85A

#D7B85A is a light, moderate yellow. Relative luminance 0.495; OKLCH L 79.1% C 0.119 H 91.3°. Best body text is #000000 at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#D7B85A
RGBrgb(215, 184, 90)
HSLhsl(45, 61%, 60%)
HSVhsv(45, 58%, 84%)
CMYKcmyk(0%, 14.4%, 58.1%, 15.7%)
CIE-LABlab(75.74, -0.02, 51.03)
CIE-LCHlch(75.74, 51.03, 90.02°)
OKLaboklab(79.1% -0.0026 0.1188)
OKLCHoklch(79.1% 0.119 91.3)
XYZxyz(47.0123, 49.4686, 16.7430)
Luminance0.4947 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7B85A #5A79D7
analogous
#D77A5A #D7B85A #B8D75A
triadic
#D7B85A #5AD7B8 #B85AD7
tetradic
#D7B85A #5AD77A #5A79D7 #D75AB8
square
#D7B85A #5AD77A #5A79D7 #D75AB8
split-complementary
#D7B85A #5AB8D7 #7A5AD7
monochromatic
#937724 #C49F30 #D7B85A #E3CD8B #EFE2BD

Accessibility & contrast

On white

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

On black

10.89
#D7B85A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7B85A
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7B85A#FFFFFF#000000##000000
##D7B85A1.001.9310.8910.89
#FFFFFF1.931.0021.0021.00
#00000010.8921.001.001.00
##00000010.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B551
Deuteranopia (green-blind)
#D1BE5E
Tritanopia (blue-blind)
#E7ABA3
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #d7b85a;
/* rgb */ color: rgb(215, 184, 90);
/* oklch */ color: oklch(79.1% 0.119 91.3);
Tailwind
colors: {
  custom: {
    50: '#e6cd8b',
    500: '#d7b85a',
    950: '#000000',
  },
}
SCSS
$custom: #d7b85a;
$custom-light: #e6cd8b;
$custom-dark: #000000;
JSON
{
  "hex": "#d7b85a",
  "rgb": {
    "r": 215,
    "g": 184,
    "b": 90
  },
  "hsl": {
    "h": 45.12,
    "s": 60.976,
    "l": 59.804
  },
  "oklch": {
    "l": 0.79096,
    "c": 0.11881,
    "h": 91.3
  },
  "luminance": 0.49466
}

Semantic roles & 50–950 ramp

primary
#D7B85A
secondary
#AEBADF
accent
#6BE444
background
#FEFCF8
surface
#FDF8F0
border
#D5D1CB
text
#16130C
muted
#84827D

Preview Lab

Preview with #D7B85A

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

Preview Lab → · Contrast checker → · Palette generator →

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