#D7BB4C#D7BB4C

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

Color values

HEX#D7BB4C
RGBrgb(215, 187, 76)
HSLhsl(48, 63%, 57%)
HSVhsv(48, 65%, 84%)
CMYKcmyk(0%, 13%, 64.7%, 15.7%)
CIE-LABlab(76.38, -2.53, 58.08)
CIE-LCHlch(76.38, 58.14, 92.49°)
OKLaboklab(79.56% -0.0115 0.132)
OKLCHoklch(79.56% 0.132 95)
XYZxyz(47.1014, 50.5119, 14.1049)
Luminance0.5051 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7BB4C #4C68D7
analogous
#D7764C #D7BB4C #ADD74C
triadic
#D7BB4C #4CD7BB #BB4CD7
tetradic
#D7BB4C #4CD776 #4C68D7 #D74CAD
square
#D7BB4C #4CD776 #4C68D7 #D74CAD
split-complementary
#D7BB4C #4CADD7 #764CD7
monochromatic
#8A741F #BC9E2A #D7BB4C #E2CE7E #EDE1B0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D7BB4C#FFFFFF#000000##000000
##D7BB4C1.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)
#CDB73F
Deuteranopia (green-blind)
#D4C052
Tritanopia (blue-blind)
#E7ADA4
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #d7bb4c;
/* rgb */ color: rgb(215, 187, 76);
/* oklch */ color: oklch(79.6% 0.132 95.0);
Tailwind
colors: {
  custom: {
    50: '#e7cf83',
    500: '#d7bb4c',
    950: '#000000',
  },
}
SCSS
$custom: #d7bb4c;
$custom-light: #e7cf83;
$custom-dark: #000000;
JSON
{
  "hex": "#d7bb4c",
  "rgb": {
    "r": 215,
    "g": 187,
    "b": 76
  },
  "hsl": {
    "h": 47.914,
    "s": 63.47,
    "l": 57.059
  },
  "oklch": {
    "l": 0.79559,
    "c": 0.13247,
    "h": 95
  },
  "luminance": 0.5051
}

Semantic roles & 50–950 ramp

primary
#D7BB4C
secondary
#374990
accent
#63E641
background
#FFFEFB
surface
#FEFAF2
border
#D6D3CC
text
#16130B
muted
#85837E

Preview Lab

Preview with #D7BB4C

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

Preview Lab → · Contrast checker → · Palette generator →

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