#D7BF5A#D7BF5A

#D7BF5A is a light, vivid yellow. Relative luminance 0.524; OKLCH L 80.5% C 0.124 H 96.1°. Best body text is #000000 at 11.49:1 contrast (WCAG AA passes).

Color values

HEX#D7BF5A
RGBrgb(215, 191, 90)
HSLhsl(48, 61%, 60%)
HSVhsv(48, 58%, 84%)
CMYKcmyk(0%, 11.2%, 58.1%, 15.7%)
CIE-LABlab(77.55, -3.67, 53.09)
CIE-LCHlch(77.55, 53.22, 93.95°)
OKLaboklab(80.52% -0.0132 0.1232)
OKLCHoklch(80.52% 0.124 96.1)
XYZxyz(48.5025, 52.4491, 17.2397)
Luminance0.5245 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7BF5A #5A72D7
analogous
#D7815A #D7BF5A #B1D75A
triadic
#D7BF5A #5AD7BF #BF5AD7
tetradic
#D7BF5A #5AD781 #5A72D7 #D75AB1
square
#D7BF5A #5AD781 #5A72D7 #D75AB1
split-complementary
#D7BF5A #5AB1D7 #815AD7
monochromatic
#937E24 #C4A830 #D7BF5A #E3D28B #EFE5BD

Accessibility & contrast

On white

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

On black

11.49
#D7BF5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7BF5A
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7BF5A#FFFFFF#000000##000000
##D7BF5A1.001.8311.4911.49
#FFFFFF1.831.0021.0021.00
#00000011.4921.001.001.00
##00000011.4921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d7bf5a;
/* rgb */ color: rgb(215, 191, 90);
/* oklch */ color: oklch(80.5% 0.124 96.1);
Tailwind
colors: {
  custom: {
    50: '#e6d28c',
    500: '#d7bf5a',
    950: '#000000',
  },
}
SCSS
$custom: #d7bf5a;
$custom-light: #e6d28c;
$custom-dark: #000000;
JSON
{
  "hex": "#d7bf5a",
  "rgb": {
    "r": 215,
    "g": 191,
    "b": 90
  },
  "hsl": {
    "h": 48.48,
    "s": 60.976,
    "l": 59.804
  },
  "oklch": {
    "l": 0.80524,
    "c": 0.12392,
    "h": 96.1
  },
  "luminance": 0.52447
}

Semantic roles & 50–950 ramp

primary
#D7BF5A
secondary
#3D4F98
accent
#63E444
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #D7BF5A

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

Preview Lab → · Contrast checker → · Palette generator →

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