#D7BC55#D7BC55

#D7BC55 is a light, vivid yellow. Relative luminance 0.511; OKLCH L 79.9% C 0.126 H 94.7°. Best body text is #000000 at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#D7BC55
RGBrgb(215, 188, 85)
HSLhsl(48, 62%, 59%)
HSVhsv(48, 60%, 84%)
CMYKcmyk(0%, 12.6%, 60.5%, 15.7%)
CIE-LABlab(76.72, -2.47, 54.46)
CIE-LCHlch(76.72, 54.51, 92.59°)
OKLaboklab(79.85% -0.0103 0.1255)
OKLCHoklch(79.85% 0.126 94.7)
XYZxyz(47.6493, 51.0717, 15.9405)
Luminance0.5107 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7BC55 #5570D7
analogous
#D77B55 #D7BC55 #B1D755
triadic
#D7BC55 #55D7BC #BC55D7
tetradic
#D7BC55 #55D77B #5570D7 #D755B1
square
#D7BC55 #55D77B #5570D7 #D755B1
split-complementary
#D7BC55 #55B1D7 #7B55D7
monochromatic
#907922 #C1A32D #D7BC55 #E3D087 #EEE3B8

Accessibility & contrast

On white

1.87
#D7BC55 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.21
#D7BC55 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7BC55
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7BC55#FFFFFF#000000##000000
##D7BC551.001.8711.2111.21
#FFFFFF1.871.0021.0021.00
#00000011.2121.001.001.00
##00000011.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB94A
Deuteranopia (green-blind)
#D4C15A
Tritanopia (blue-blind)
#E7AFA5
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #d7bc55;
/* rgb */ color: rgb(215, 188, 85);
/* oklch */ color: oklch(79.9% 0.126 94.7);
Tailwind
colors: {
  custom: {
    50: '#e6cf89',
    500: '#d7bc55',
    950: '#000000',
  },
}
SCSS
$custom: #d7bc55;
$custom-light: #e6cf89;
$custom-dark: #000000;
JSON
{
  "hex": "#d7bc55",
  "rgb": {
    "r": 215,
    "g": 188,
    "b": 85
  },
  "hsl": {
    "h": 47.538,
    "s": 61.905,
    "l": 58.824
  },
  "oklch": {
    "l": 0.79854,
    "c": 0.12594,
    "h": 94.7
  },
  "luminance": 0.51069
}

Semantic roles & 50–950 ramp

primary
#D7BC55
secondary
#3B4E95
accent
#64E543
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16130C
muted
#85837F

Preview Lab

Preview with #D7BC55

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

Preview Lab → · Contrast checker → · Palette generator →

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