#D8BF71#D8BF71

#D8BF71 is a light, moderate yellow. Relative luminance 0.531; OKLCH L 80.9% C 0.102 H 92.2°. Best body text is #000000 at 11.61:1 contrast (WCAG AA passes).

Color values

HEX#D8BF71
RGBrgb(216, 191, 113)
HSLhsl(45, 57%, 65%)
HSVhsv(45, 48%, 85%)
CMYKcmyk(0%, 11.6%, 47.7%, 15.3%)
CIE-LABlab(77.91, -1.33, 42.40)
CIE-LCHlch(77.91, 42.42, 91.80°)
OKLaboklab(80.92% -0.0039 0.102)
OKLCHoklch(80.92% 0.102 92.2)
XYZxyz(49.9319, 53.0549, 23.2301)
Luminance0.5305 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8BF71 #718AD8
analogous
#D88C71 #D8BF71 #BED871
triadic
#D8BF71 #71D8BF #BF71D8
tetradic
#D8BF71 #71D88C #718AD8 #D871BE
square
#D8BF71 #71D88C #718AD8 #D871BE
split-complementary
#D8BF71 #71BED8 #8C71D8
monochromatic
#A2862D #CBA941 #D8BF71 #E5D5A1 #F2EAD1

Accessibility & contrast

On white

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

On black

11.61
#D8BF71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8BF71
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8BF71#FFFFFF#000000##000000
##D8BF711.001.8111.6111.61
#FFFFFF1.811.0021.0021.00
#00000011.6121.001.001.00
##00000011.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEBC6B
Deuteranopia (green-blind)
#D5C474
Tritanopia (blue-blind)
#E6B4AC
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #d8bf71;
/* rgb */ color: rgb(216, 191, 113);
/* oklch */ color: oklch(80.9% 0.102 92.2);
Tailwind
colors: {
  custom: {
    50: '#e6d29b',
    500: '#d8bf71',
    950: '#000000',
  },
}
SCSS
$custom: #d8bf71;
$custom-light: #e6d29b;
$custom-dark: #000000;
JSON
{
  "hex": "#d8bf71",
  "rgb": {
    "r": 216,
    "g": 191,
    "b": 113
  },
  "hsl": {
    "h": 45.437,
    "s": 56.906,
    "l": 64.51
  },
  "oklch": {
    "l": 0.80915,
    "c": 0.10202,
    "h": 92.2
  },
  "luminance": 0.53053
}

Semantic roles & 50–950 ramp

primary
#D8BF71
secondary
#475EA6
accent
#49C421
background
#FEFEFC
surface
#FDFBF5
border
#D5D4CF
text
#16140E
muted
#84837F

Preview Lab

Preview with #D8BF71

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

Preview Lab → · Contrast checker → · Palette generator →

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