#D1BF71#D1BF71

#D1BF71 is a light, moderate yellow. Relative luminance 0.520; OKLCH L 80.3% C 0.101 H 96.7°. Best body text is #000000 at 11.40:1 contrast (WCAG AA passes).

Color values

HEX#D1BF71
RGBrgb(209, 191, 113)
HSLhsl(49, 51%, 63%)
HSVhsv(49, 46%, 82%)
CMYKcmyk(0%, 8.6%, 45.9%, 18%)
CIE-LABlab(77.29, -4.18, 41.50)
CIE-LCHlch(77.29, 41.71, 95.76°)
OKLaboklab(80.28% -0.0118 0.1)
OKLCHoklch(80.28% 0.101 96.7)
XYZxyz(47.9073, 52.0109, 23.1352)
Luminance0.5201 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1BF71 #7183D1
analogous
#D18F71 #D1BF71 #B3D171
triadic
#D1BF71 #71D1BF #BF71D1
tetradic
#D1BF71 #71D18F #7183D1 #D171B3
square
#D1BF71 #71D18F #7183D1 #D171B3
split-complementary
#D1BF71 #71B3D1 #8F71D1
monochromatic
#978431 #C2AA43 #D1BF71 #E0D49F #EFE9CD

Accessibility & contrast

On white

1.84
#D1BF71 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.40
#D1BF71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1BF71
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1BF71#FFFFFF#000000##000000
##D1BF711.001.8411.4011.40
#FFFFFF1.841.0021.0021.00
#00000011.4021.001.001.00
##00000011.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDBB6B
Deuteranopia (green-blind)
#D2C274
Tritanopia (blue-blind)
#DEB5AC
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #d1bf71;
/* rgb */ color: rgb(209, 191, 113);
/* oklch */ color: oklch(80.3% 0.101 96.7);
Tailwind
colors: {
  custom: {
    50: '#e1d29b',
    500: '#d1bf71',
    950: '#000000',
  },
}
SCSS
$custom: #d1bf71;
$custom-light: #e1d29b;
$custom-dark: #000000;
JSON
{
  "hex": "#d1bf71",
  "rgb": {
    "r": 209,
    "g": 191,
    "b": 113
  },
  "hsl": {
    "h": 48.75,
    "s": 51.064,
    "l": 63.137
  },
  "oklch": {
    "l": 0.80278,
    "c": 0.1007,
    "h": 96.7
  },
  "luminance": 0.52009
}

Semantic roles & 50–950 ramp

primary
#D1BF71
secondary
#4A599C
accent
#43BE27
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #D1BF71

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

Preview Lab → · Contrast checker → · Palette generator →

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