#D7BB51#D7BB51

#D7BB51 is a light, vivid yellow. Relative luminance 0.506; OKLCH L 79.6% C 0.129 H 94.5°. Best body text is #000000 at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#D7BB51
RGBrgb(215, 187, 81)
HSLhsl(47, 63%, 58%)
HSVhsv(47, 62%, 84%)
CMYKcmyk(0%, 13%, 62.3%, 15.7%)
CIE-LABlab(76.43, -2.21, 55.93)
CIE-LCHlch(76.43, 55.98, 92.27°)
OKLaboklab(79.61% -0.01 0.1281)
OKLCHoklch(79.61% 0.129 94.5)
XYZxyz(47.2820, 50.5842, 15.0562)
Luminance0.5058 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7BB51 #516DD7
analogous
#D77851 #D7BB51 #B0D751
triadic
#D7BB51 #51D7BB #BB51D7
tetradic
#D7BB51 #51D778 #516DD7 #D751B0
square
#D7BB51 #51D778 #516DD7 #D751B0
split-complementary
#D7BB51 #51B0D7 #7851D7
monochromatic
#8D7620 #BFA02C #D7BB51 #E2CE83 #EEE2B5

Accessibility & contrast

On white

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

On black

11.12
#D7BB51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7BB51
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7BB51#FFFFFF#000000##000000
##D7BB511.001.8911.1211.12
#FFFFFF1.891.0021.0021.00
#00000011.1221.001.001.00
##00000011.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB845
Deuteranopia (green-blind)
#D4C056
Tritanopia (blue-blind)
#E7AEA4
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #d7bb51;
/* rgb */ color: rgb(215, 187, 81);
/* oklch */ color: oklch(79.6% 0.129 94.5);
Tailwind
colors: {
  custom: {
    50: '#e6cf86',
    500: '#d7bb51',
    950: '#000000',
  },
}
SCSS
$custom: #d7bb51;
$custom-light: #e6cf86;
$custom-dark: #000000;
JSON
{
  "hex": "#d7bb51",
  "rgb": {
    "r": 215,
    "g": 187,
    "b": 81
  },
  "hsl": {
    "h": 47.463,
    "s": 62.617,
    "l": 58.039
  },
  "oklch": {
    "l": 0.79608,
    "c": 0.12852,
    "h": 94.5
  },
  "luminance": 0.50582
}

Semantic roles & 50–950 ramp

primary
#D7BB51
secondary
#394C93
accent
#64E642
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16130B
muted
#85837E

Preview Lab

Preview with #D7BB51

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

Preview Lab → · Contrast checker → · Palette generator →

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