#D7BC57#D7BC57

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

Color values

HEX#D7BC57
RGBrgb(215, 188, 87)
HSLhsl(47, 62%, 59%)
HSVhsv(47, 60%, 84%)
CMYKcmyk(0%, 12.6%, 59.5%, 15.7%)
CIE-LABlab(76.74, -2.33, 53.56)
CIE-LCHlch(76.74, 53.61, 92.49°)
OKLaboklab(79.88% -0.0096 0.1239)
OKLCHoklch(79.88% 0.124 94.5)
XYZxyz(47.7299, 51.1039, 16.3649)
Luminance0.5110 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7BC57 #5772D7
analogous
#D77C57 #D7BC57 #B2D757
triadic
#D7BC57 #57D7BC #BC57D7
tetradic
#D7BC57 #57D77C #5772D7 #D757B2
square
#D7BC57 #57D77C #5772D7 #D757B2
split-complementary
#D7BC57 #57B2D7 #7C57D7
monochromatic
#917A23 #C2A32E #D7BC57 #E3D088 #EFE3BA

Accessibility & contrast

On white

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

On black

11.22
#D7BC57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7BC57
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7BC57#FFFFFF#000000##000000
##D7BC571.001.8711.2211.22
#FFFFFF1.871.0021.0021.00
#00000011.2221.001.001.00
##00000011.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB94D
Deuteranopia (green-blind)
#D4C15C
Tritanopia (blue-blind)
#E7AFA6
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #d7bc57;
/* rgb */ color: rgb(215, 188, 87);
/* oklch */ color: oklch(79.9% 0.124 94.5);
Tailwind
colors: {
  custom: {
    50: '#e6cf8a',
    500: '#d7bc57',
    950: '#000000',
  },
}
SCSS
$custom: #d7bc57;
$custom-light: #e6cf8a;
$custom-dark: #000000;
JSON
{
  "hex": "#d7bc57",
  "rgb": {
    "r": 215,
    "g": 188,
    "b": 87
  },
  "hsl": {
    "h": 47.344,
    "s": 61.538,
    "l": 59.216
  },
  "oklch": {
    "l": 0.79876,
    "c": 0.12424,
    "h": 94.5
  },
  "luminance": 0.51102
}

Semantic roles & 50–950 ramp

primary
#D7BC57
secondary
#3C4F96
accent
#65E543
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16130C
muted
#85837F

Preview Lab

Preview with #D7BC57

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

Preview Lab → · Contrast checker → · Palette generator →

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