#D7BB4E#D7BB4E

#D7BB4E is a light, vivid yellow. Relative luminance 0.505; OKLCH L 79.6% C 0.131 H 94.8°. Best body text is #000000 at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#D7BB4E
RGBrgb(215, 187, 78)
HSLhsl(48, 63%, 57%)
HSVhsv(48, 64%, 84%)
CMYKcmyk(0%, 13%, 63.7%, 15.7%)
CIE-LABlab(76.40, -2.40, 57.23)
CIE-LCHlch(76.40, 57.28, 92.41°)
OKLaboklab(79.58% -0.0109 0.1305)
OKLCHoklch(79.58% 0.131 94.8)
XYZxyz(47.1720, 50.5402, 14.4768)
Luminance0.5054 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7BB4E #4E6AD7
analogous
#D7764E #D7BB4E #AFD74E
triadic
#D7BB4E #4ED7BB #BB4ED7
tetradic
#D7BB4E #4ED776 #4E6AD7 #D74EAF
square
#D7BB4E #4ED776 #4E6AD7 #D74EAF
split-complementary
#D7BB4E #4EAFD7 #764ED7
monochromatic
#8B751F #BD9F2B #D7BB4E #E2CE80 #EEE1B2

Accessibility & contrast

On white

1.89
#D7BB4E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.11
#D7BB4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7BB4E
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7BB4E#FFFFFF#000000##000000
##D7BB4E1.001.8911.1111.11
#FFFFFF1.891.0021.0021.00
#00000011.1121.001.001.00
##00000011.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB741
Deuteranopia (green-blind)
#D4C053
Tritanopia (blue-blind)
#E7ADA4
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #d7bb4e;
/* rgb */ color: rgb(215, 187, 78);
/* oklch */ color: oklch(79.6% 0.131 94.8);
Tailwind
colors: {
  custom: {
    50: '#e7cf84',
    500: '#d7bb4e',
    950: '#000000',
  },
}
SCSS
$custom: #d7bb4e;
$custom-light: #e7cf84;
$custom-dark: #000000;
JSON
{
  "hex": "#d7bb4e",
  "rgb": {
    "r": 215,
    "g": 187,
    "b": 78
  },
  "hsl": {
    "h": 47.737,
    "s": 63.134,
    "l": 57.451
  },
  "oklch": {
    "l": 0.79579,
    "c": 0.13092,
    "h": 94.8
  },
  "luminance": 0.50538
}

Semantic roles & 50–950 ramp

primary
#D7BB4E
secondary
#384A91
accent
#63E642
background
#FFFEFB
surface
#FEFAF2
border
#D6D3CC
text
#16130B
muted
#85837E

Preview Lab

Preview with #D7BB4E

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

Preview Lab → · Contrast checker → · Palette generator →

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