#D7BF5D#D7BF5D

#D7BF5D is a light, vivid yellow. Relative luminance 0.525; OKLCH L 80.6% C 0.121 H 95.8°. Best body text is #000000 at 11.50:1 contrast (WCAG AA passes).

Color values

HEX#D7BF5D
RGBrgb(215, 191, 93)
HSLhsl(48, 60%, 60%)
HSVhsv(48, 57%, 84%)
CMYKcmyk(0%, 11.2%, 56.7%, 15.7%)
CIE-LABlab(77.58, -3.45, 51.73)
CIE-LCHlch(77.58, 51.84, 93.81°)
OKLaboklab(80.56% -0.0122 0.1206)
OKLCHoklch(80.56% 0.121 95.8)
XYZxyz(48.6328, 52.5012, 17.9259)
Luminance0.5250 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7BF5D #5D75D7
analogous
#D7825D #D7BF5D #B2D75D
triadic
#D7BF5D #5DD7BF #BF5DD7
tetradic
#D7BF5D #5DD782 #5D75D7 #D75DB2
square
#D7BF5D #5DD782 #5D75D7 #D75DB2
split-complementary
#D7BF5D #5DB2D7 #825DD7
monochromatic
#957F25 #C6A931 #D7BF5D #E3D28E #EFE6BF

Accessibility & contrast

On white

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

On black

11.50
#D7BF5D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7BF5D
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7BF5D#FFFFFF#000000##000000
##D7BF5D1.001.8311.5011.50
#FFFFFF1.831.0021.0021.00
#00000011.5021.001.001.00
##00000011.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BB53
Deuteranopia (green-blind)
#D6C361
Tritanopia (blue-blind)
#E6B2A9
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #d7bf5d;
/* rgb */ color: rgb(215, 191, 93);
/* oklch */ color: oklch(80.6% 0.121 95.8);
Tailwind
colors: {
  custom: {
    50: '#e6d28e',
    500: '#d7bf5d',
    950: '#000000',
  },
}
SCSS
$custom: #d7bf5d;
$custom-light: #e6d28e;
$custom-dark: #000000;
JSON
{
  "hex": "#d7bf5d",
  "rgb": {
    "r": 215,
    "g": 191,
    "b": 93
  },
  "hsl": {
    "h": 48.197,
    "s": 60.396,
    "l": 60.392
  },
  "oklch": {
    "l": 0.80558,
    "c": 0.12124,
    "h": 95.8
  },
  "luminance": 0.52499
}

Semantic roles & 50–950 ramp

primary
#D7BF5D
secondary
#3E509A
accent
#3FC81D
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D7BF5D

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

Preview Lab → · Contrast checker → · Palette generator →

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