#D7BB5F#D7BB5F

#D7BB5F is a light, moderate yellow. Relative luminance 0.508; OKLCH L 79.8% C 0.116 H 92.7°. Best body text is #000000 at 11.16:1 contrast (WCAG AA passes).

Color values

HEX#D7BB5F
RGBrgb(215, 187, 95)
HSLhsl(46, 60%, 61%)
HSVhsv(46, 56%, 84%)
CMYKcmyk(0%, 13%, 55.8%, 15.7%)
CIE-LABlab(76.57, -1.21, 49.61)
CIE-LCHlch(76.57, 49.62, 91.39°)
OKLaboklab(79.77% -0.0055 0.1163)
OKLCHoklch(79.77% 0.116 92.7)
XYZxyz(47.8621, 50.8162, 18.1117)
Luminance0.5081 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7BB5F #5F7BD7
analogous
#D77F5F #D7BB5F #B7D75F
triadic
#D7BB5F #5FD7BB #BB5FD7
tetradic
#D7BB5F #5FD77F #5F7BD7 #D75FB7
square
#D7BB5F #5FD77F #5F7BD7 #D75FB7
split-complementary
#D7BB5F #5FB7D7 #7F5FD7
monochromatic
#967C26 #C7A432 #D7BB5F #E3D090 #EFE5C1

Accessibility & contrast

On white

1.88
#D7BB5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.16
#D7BB5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7BB5F
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7BB5F#FFFFFF#000000##000000
##D7BB5F1.001.8811.1611.16
#FFFFFF1.881.0021.0021.00
#00000011.1621.001.001.00
##00000011.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB856
Deuteranopia (green-blind)
#D3C063
Tritanopia (blue-blind)
#E6AFA6
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #d7bb5f;
/* rgb */ color: rgb(215, 187, 95);
/* oklch */ color: oklch(79.8% 0.116 92.7);
Tailwind
colors: {
  custom: {
    50: '#e6cf8f',
    500: '#d7bb5f',
    950: '#000000',
  },
}
SCSS
$custom: #d7bb5f;
$custom-light: #e6cf8f;
$custom-dark: #000000;
JSON
{
  "hex": "#d7bb5f",
  "rgb": {
    "r": 215,
    "g": 187,
    "b": 95
  },
  "hsl": {
    "h": 46,
    "s": 60,
    "l": 60.784
  },
  "oklch": {
    "l": 0.79765,
    "c": 0.11639,
    "h": 92.7
  },
  "luminance": 0.50814
}

Semantic roles & 50–950 ramp

primary
#D7BB5F
secondary
#3F559B
accent
#45C81E
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16130C
muted
#84837F

Preview Lab

Preview with #D7BB5F

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

Preview Lab → · Contrast checker → · Palette generator →

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