#D7BF4E#D7BF4E

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

Color values

HEX#D7BF4E
RGBrgb(215, 191, 78)
HSLhsl(49, 63%, 57%)
HSVhsv(49, 64%, 84%)
CMYKcmyk(0%, 11.2%, 63.7%, 15.7%)
CIE-LABlab(77.44, -4.48, 58.35)
CIE-LCHlch(77.44, 58.52, 94.39°)
OKLaboklab(80.4% -0.0169 0.1328)
OKLCHoklch(80.4% 0.134 97.3)
XYZxyz(48.0324, 52.2610, 14.7636)
Luminance0.5226 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7BF4E #4E66D7
analogous
#D77A4E #D7BF4E #ABD74E
triadic
#D7BF4E #4ED7BF #BF4ED7
tetradic
#D7BF4E #4ED77A #4E66D7 #D74EAB
square
#D7BF4E #4ED77A #4E66D7 #D74EAB
split-complementary
#D7BF4E #4EABD7 #7A4ED7
monochromatic
#8B781F #BDA32B #D7BF4E #E2D180 #EEE3B2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D7BF4E#FFFFFF#000000##000000
##D7BF4E1.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)
#D1BB41
Deuteranopia (green-blind)
#D7C354
Tritanopia (blue-blind)
#E7B2A7
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #d7bf4e;
/* rgb */ color: rgb(215, 191, 78);
/* oklch */ color: oklch(80.4% 0.134 97.3);
Tailwind
colors: {
  custom: {
    50: '#e7d284',
    500: '#d7bf4e',
    950: '#000000',
  },
}
SCSS
$custom: #d7bf4e;
$custom-light: #e7d284;
$custom-dark: #000000;
JSON
{
  "hex": "#d7bf4e",
  "rgb": {
    "r": 215,
    "g": 191,
    "b": 78
  },
  "hsl": {
    "h": 49.489,
    "s": 63.134,
    "l": 57.451
  },
  "oklch": {
    "l": 0.80399,
    "c": 0.13391,
    "h": 97.3
  },
  "luminance": 0.52259
}

Semantic roles & 50–950 ramp

primary
#D7BF4E
secondary
#384891
accent
#5EE642
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D7BF4E

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

Preview Lab → · Contrast checker → · Palette generator →

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