#D7BF4D#D7BF4D

#D7BF4D is a light, vivid yellow. Relative luminance 0.522; OKLCH L 80.4% C 0.135 H 97.3°. Best body text is #000000 at 11.45:1 contrast (WCAG AA passes).

Color values

HEX#D7BF4D
RGBrgb(215, 191, 77)
HSLhsl(50, 63%, 57%)
HSVhsv(50, 64%, 84%)
CMYKcmyk(0%, 11.2%, 64.2%, 15.7%)
CIE-LABlab(77.43, -4.54, 58.77)
CIE-LCHlch(77.43, 58.95, 94.42°)
OKLaboklab(80.39% -0.0172 0.1336)
OKLCHoklch(80.39% 0.135 97.3)
XYZxyz(47.9968, 52.2468, 14.5762)
Luminance0.5224 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7BF4D #4D65D7
analogous
#D77A4D #D7BF4D #AAD74D
triadic
#D7BF4D #4DD7BF #BF4DD7
tetradic
#D7BF4D #4DD77A #4D65D7 #D74DAA
square
#D7BF4D #4DD77A #4D65D7 #D74DAA
split-complementary
#D7BF4D #4DAAD7 #7A4DD7
monochromatic
#8A781F #BCA32A #D7BF4D #E2D17F #EDE3B1

Accessibility & contrast

On white

1.83
#D7BF4D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.45
#D7BF4D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7BF4D
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7BF4D#FFFFFF#000000##000000
##D7BF4D1.001.8311.4511.45
#FFFFFF1.831.0021.0021.00
#00000011.4521.001.001.00
##00000011.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BB3F
Deuteranopia (green-blind)
#D7C353
Tritanopia (blue-blind)
#E7B2A7
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #d7bf4d;
/* rgb */ color: rgb(215, 191, 77);
/* oklch */ color: oklch(80.4% 0.135 97.3);
Tailwind
colors: {
  custom: {
    50: '#e7d284',
    500: '#d7bf4d',
    950: '#000000',
  },
}
SCSS
$custom: #d7bf4d;
$custom-light: #e7d284;
$custom-dark: #000000;
JSON
{
  "hex": "#d7bf4d",
  "rgb": {
    "r": 215,
    "g": 191,
    "b": 77
  },
  "hsl": {
    "h": 49.565,
    "s": 63.303,
    "l": 57.255
  },
  "oklch": {
    "l": 0.8039,
    "c": 0.13468,
    "h": 97.3
  },
  "luminance": 0.52244
}

Semantic roles & 50–950 ramp

primary
#D7BF4D
secondary
#384790
accent
#5EE641
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D7BF4D

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

Preview Lab → · Contrast checker → · Palette generator →

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