#D7BC58#D7BC58

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

Color values

HEX#D7BC58
RGBrgb(215, 188, 88)
HSLhsl(47, 61%, 59%)
HSVhsv(47, 59%, 84%)
CMYKcmyk(0%, 12.6%, 59.1%, 15.7%)
CIE-LABlab(76.75, -2.25, 53.11)
CIE-LCHlch(76.75, 53.16, 92.43°)
OKLaboklab(79.89% -0.0093 0.123)
OKLCHoklch(79.89% 0.123 94.3)
XYZxyz(47.7710, 51.1204, 16.5816)
Luminance0.5112 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7BC58 #5873D7
analogous
#D77D58 #D7BC58 #B3D758
triadic
#D7BC58 #58D7BC #BC58D7
tetradic
#D7BC58 #58D77D #5873D7 #D758B3
square
#D7BC58 #58D77D #5873D7 #D758B3
split-complementary
#D7BC58 #58B3D7 #7D58D7
monochromatic
#927A23 #C3A42F #D7BC58 #E3D089 #EFE4BB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D7BC58#FFFFFF#000000##000000
##D7BC581.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)
#CDB94E
Deuteranopia (green-blind)
#D4C15C
Tritanopia (blue-blind)
#E7AFA6
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #d7bc58;
/* rgb */ color: rgb(215, 188, 88);
/* oklch */ color: oklch(79.9% 0.123 94.3);
Tailwind
colors: {
  custom: {
    50: '#e6cf8a',
    500: '#d7bc58',
    950: '#000000',
  },
}
SCSS
$custom: #d7bc58;
$custom-light: #e6cf8a;
$custom-dark: #000000;
JSON
{
  "hex": "#d7bc58",
  "rgb": {
    "r": 215,
    "g": 188,
    "b": 88
  },
  "hsl": {
    "h": 47.244,
    "s": 61.353,
    "l": 59.412
  },
  "oklch": {
    "l": 0.79887,
    "c": 0.12337,
    "h": 94.3
  },
  "luminance": 0.51118
}

Semantic roles & 50–950 ramp

primary
#D7BC58
secondary
#3C5097
accent
#66E443
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16130C
muted
#85837F

Preview Lab

Preview with #D7BC58

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

Preview Lab → · Contrast checker → · Palette generator →

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