#D7BF71#D7BF71

#D7BF71 is a light, moderate yellow. Relative luminance 0.529; OKLCH L 80.8% C 0.102 H 92.8°. Best body text is #000000 at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#D7BF71
RGBrgb(215, 191, 113)
HSLhsl(46, 56%, 64%)
HSVhsv(46, 47%, 84%)
CMYKcmyk(0%, 11.2%, 47.4%, 15.7%)
CIE-LABlab(77.82, -1.74, 42.27)
CIE-LCHlch(77.82, 42.31, 92.35°)
OKLaboklab(80.82% -0.005 0.1017)
OKLCHoklch(80.82% 0.102 92.8)
XYZxyz(49.6373, 52.9030, 23.2163)
Luminance0.5290 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7BF71 #7189D7
analogous
#D78C71 #D7BF71 #BCD771
triadic
#D7BF71 #71D7BF #BF71D7
tetradic
#D7BF71 #71D78C #7189D7 #D771BC
square
#D7BF71 #71D78C #7189D7 #D771BC
split-complementary
#D7BF71 #71BCD7 #8C71D7
monochromatic
#A0852D #CAA941 #D7BF71 #E4D5A1 #F2EAD0

Accessibility & contrast

On white

1.81
#D7BF71 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.58
#D7BF71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7BF71
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7BF71#FFFFFF#000000##000000
##D7BF711.001.8111.5811.58
#FFFFFF1.811.0021.0021.00
#00000011.5821.001.001.00
##00000011.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEBC6B
Deuteranopia (green-blind)
#D4C374
Tritanopia (blue-blind)
#E5B4AC
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #d7bf71;
/* rgb */ color: rgb(215, 191, 113);
/* oklch */ color: oklch(80.8% 0.102 92.8);
Tailwind
colors: {
  custom: {
    50: '#e5d29b',
    500: '#d7bf71',
    950: '#000000',
  },
}
SCSS
$custom: #d7bf71;
$custom-light: #e5d29b;
$custom-dark: #000000;
JSON
{
  "hex": "#d7bf71",
  "rgb": {
    "r": 215,
    "g": 191,
    "b": 113
  },
  "hsl": {
    "h": 45.882,
    "s": 56.044,
    "l": 64.314
  },
  "oklch": {
    "l": 0.80823,
    "c": 0.10179,
    "h": 92.8
  },
  "luminance": 0.52901
}

Semantic roles & 50–950 ramp

primary
#D7BF71
secondary
#485EA4
accent
#48C422
background
#FEFEFC
surface
#FDFBF5
border
#D5D4CF
text
#16140E
muted
#84837F

Preview Lab

Preview with #D7BF71

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

Preview Lab → · Contrast checker → · Palette generator →

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