#D7BB4B#D7BB4B

#D7BB4B is a light, vivid yellow. Relative luminance 0.505; OKLCH L 79.5% C 0.133 H 95.1°. Best body text is #000000 at 11.10:1 contrast (WCAG AA passes).

Color values

HEX#D7BB4B
RGBrgb(215, 187, 75)
HSLhsl(48, 64%, 57%)
HSVhsv(48, 65%, 84%)
CMYKcmyk(0%, 13%, 65.1%, 15.7%)
CIE-LABlab(76.37, -2.59, 58.51)
CIE-LCHlch(76.37, 58.56, 92.53°)
OKLaboklab(79.55% -0.0118 0.1327)
OKLCHoklch(79.55% 0.133 95.1)
XYZxyz(47.0669, 50.4981, 13.9232)
Luminance0.5050 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7BB4B #4B67D7
analogous
#D7754B #D7BB4B #ADD74B
triadic
#D7BB4B #4BD7BB #BB4BD7
tetradic
#D7BB4B #4BD775 #4B67D7 #D74BAD
square
#D7BB4B #4BD775 #4B67D7 #D74BAD
split-complementary
#D7BB4B #4BADD7 #754BD7
monochromatic
#89741E #BB9E2A #D7BB4B #E2CE7D #EDE1AF

Accessibility & contrast

On white

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

On black

11.10
#D7BB4B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7BB4B
11.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7BB4B#FFFFFF#000000##000000
##D7BB4B1.001.8911.1011.10
#FFFFFF1.891.0021.0021.00
#00000011.1021.001.001.00
##00000011.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB73E
Deuteranopia (green-blind)
#D4C051
Tritanopia (blue-blind)
#E7ADA3
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #d7bb4b;
/* rgb */ color: rgb(215, 187, 75);
/* oklch */ color: oklch(79.5% 0.133 95.1);
Tailwind
colors: {
  custom: {
    50: '#e7cf82',
    500: '#d7bb4b',
    950: '#000000',
  },
}
SCSS
$custom: #d7bb4b;
$custom-light: #e7cf82;
$custom-dark: #000000;
JSON
{
  "hex": "#d7bb4b",
  "rgb": {
    "r": 215,
    "g": 187,
    "b": 75
  },
  "hsl": {
    "h": 48,
    "s": 63.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.7955,
    "c": 0.13325,
    "h": 95.1
  },
  "luminance": 0.50496
}

Semantic roles & 50–950 ramp

primary
#D7BB4B
secondary
#37498F
accent
#62E741
background
#FFFEFB
surface
#FEFAF2
border
#D6D3CC
text
#16130B
muted
#85837E

Preview Lab

Preview with #D7BB4B

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

Preview Lab → · Contrast checker → · Palette generator →

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