#D7BC54#D7BC54

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

Color values

HEX#D7BC54
RGBrgb(215, 188, 84)
HSLhsl(48, 62%, 59%)
HSVhsv(48, 61%, 84%)
CMYKcmyk(0%, 12.6%, 60.9%, 15.7%)
CIE-LABlab(76.71, -2.53, 54.90)
CIE-LCHlch(76.71, 54.96, 92.64°)
OKLaboklab(79.84% -0.0106 0.1263)
OKLCHoklch(79.84% 0.127 94.8)
XYZxyz(47.6099, 51.0559, 15.7328)
Luminance0.5105 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7BC54 #546FD7
analogous
#D77A54 #D7BC54 #B0D754
triadic
#D7BC54 #54D7BC #BC54D7
tetradic
#D7BC54 #54D77A #546FD7 #D754B0
square
#D7BC54 #54D77A #546FD7 #D754B0
split-complementary
#D7BC54 #54B0D7 #7A54D7
monochromatic
#8F7921 #C1A22D #D7BC54 #E3CF86 #EEE3B7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D7BC54#FFFFFF#000000##000000
##D7BC541.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)
#CEB849
Deuteranopia (green-blind)
#D5C159
Tritanopia (blue-blind)
#E7AFA5
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #d7bc54;
/* rgb */ color: rgb(215, 188, 84);
/* oklch */ color: oklch(79.8% 0.127 94.8);
Tailwind
colors: {
  custom: {
    50: '#e6cf88',
    500: '#d7bc54',
    950: '#000000',
  },
}
SCSS
$custom: #d7bc54;
$custom-light: #e6cf88;
$custom-dark: #000000;
JSON
{
  "hex": "#d7bc54",
  "rgb": {
    "r": 215,
    "g": 188,
    "b": 84
  },
  "hsl": {
    "h": 47.634,
    "s": 62.085,
    "l": 58.627
  },
  "oklch": {
    "l": 0.79844,
    "c": 0.12678,
    "h": 94.8
  },
  "luminance": 0.51054
}

Semantic roles & 50–950 ramp

primary
#D7BC54
secondary
#3B4D95
accent
#64E543
background
#FFFEFC
surface
#FEFBF3
border
#D6D4CD
text
#16130C
muted
#85837F

Preview Lab

Preview with #D7BC54

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

Preview Lab → · Contrast checker → · Palette generator →

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