#D7BD5F#D7BD5F

#D7BD5F is a light, moderate yellow. Relative luminance 0.517; OKLCH L 80.2% C 0.118 H 94.1°. Best body text is #000000 at 11.33:1 contrast (WCAG AA passes).

Color values

HEX#D7BD5F
RGBrgb(215, 189, 95)
HSLhsl(47, 60%, 61%)
HSVhsv(47, 56%, 84%)
CMYKcmyk(0%, 12.1%, 55.8%, 15.7%)
CIE-LABlab(77.08, -2.25, 50.21)
CIE-LCHlch(77.08, 50.26, 92.57°)
OKLaboklab(80.17% -0.0085 0.1176)
OKLCHoklch(80.17% 0.118 94.1)
XYZxyz(48.2894, 51.6707, 18.2541)
Luminance0.5167 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7BD5F #5F79D7
analogous
#D7815F #D7BD5F #B5D75F
triadic
#D7BD5F #5FD7BD #BD5FD7
tetradic
#D7BD5F #5FD781 #5F79D7 #D75FB5
square
#D7BD5F #5FD781 #5F79D7 #D75FB5
split-complementary
#D7BD5F #5FB5D7 #815FD7
monochromatic
#967E26 #C7A732 #D7BD5F #E3D190 #EFE5C1

Accessibility & contrast

On white

1.85
#D7BD5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.33
#D7BD5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7BD5F
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7BD5F#FFFFFF#000000##000000
##D7BD5F1.001.8511.3311.33
#FFFFFF1.851.0021.0021.00
#00000011.3321.001.001.00
##00000011.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEBA56
Deuteranopia (green-blind)
#D4C263
Tritanopia (blue-blind)
#E6B1A8
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #d7bd5f;
/* rgb */ color: rgb(215, 189, 95);
/* oklch */ color: oklch(80.2% 0.118 94.1);
Tailwind
colors: {
  custom: {
    50: '#e6d08f',
    500: '#d7bd5f',
    950: '#000000',
  },
}
SCSS
$custom: #d7bd5f;
$custom-light: #e6d08f;
$custom-dark: #000000;
JSON
{
  "hex": "#d7bd5f",
  "rgb": {
    "r": 215,
    "g": 189,
    "b": 95
  },
  "hsl": {
    "h": 47,
    "s": 60,
    "l": 60.784
  },
  "oklch": {
    "l": 0.80173,
    "c": 0.11787,
    "h": 94.1
  },
  "luminance": 0.51668
}

Semantic roles & 50–950 ramp

primary
#D7BD5F
secondary
#3F539B
accent
#43C81E
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #D7BD5F

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

Preview Lab → · Contrast checker → · Palette generator →

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