#D7BB47#D7BB47

#D7BB47 is a light, vivid yellow. Relative luminance 0.504; OKLCH L 79.5% C 0.136 H 95.5°. Best body text is #000000 at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#D7BB47
RGBrgb(215, 187, 71)
HSLhsl(48, 64%, 56%)
HSVhsv(48, 67%, 84%)
CMYKcmyk(0%, 13%, 67%, 15.7%)
CIE-LABlab(76.34, -2.82, 60.16)
CIE-LCHlch(76.34, 60.23, 92.68°)
OKLaboklab(79.51% -0.013 0.1356)
OKLCHoklch(79.51% 0.136 95.5)
XYZxyz(46.9342, 50.4451, 13.2247)
Luminance0.5044 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7BB47 #4763D7
analogous
#D77347 #D7BB47 #ABD747
triadic
#D7BB47 #47D7BB #BB47D7
tetradic
#D7BB47 #47D773 #4763D7 #D747AB
square
#D7BB47 #47D773 #4763D7 #D747AB
split-complementary
#D7BB47 #47ABD7 #7347D7
monochromatic
#86721D #B99D28 #D7BB47 #E2CE79 #EDE0AC

Accessibility & contrast

On white

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

On black

11.09
#D7BB47 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7BB47
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7BB47#FFFFFF#000000##000000
##D7BB471.001.8911.0911.09
#FFFFFF1.891.0021.0021.00
#00000011.0921.001.001.00
##00000011.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB738
Deuteranopia (green-blind)
#D5C04D
Tritanopia (blue-blind)
#E8ADA3
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #d7bb47;
/* rgb */ color: rgb(215, 187, 71);
/* oklch */ color: oklch(79.5% 0.136 95.5);
Tailwind
colors: {
  custom: {
    50: '#e7cf80',
    500: '#d7bb47',
    950: '#000000',
  },
}
SCSS
$custom: #d7bb47;
$custom-light: #e7cf80;
$custom-dark: #000000;
JSON
{
  "hex": "#d7bb47",
  "rgb": {
    "r": 215,
    "g": 187,
    "b": 71
  },
  "hsl": {
    "h": 48.333,
    "s": 64.286,
    "l": 56.078
  },
  "oklch": {
    "l": 0.79514,
    "c": 0.13621,
    "h": 95.5
  },
  "luminance": 0.50443
}

Semantic roles & 50–950 ramp

primary
#D7BB47
secondary
#35468D
accent
#61E741
background
#FFFEFB
surface
#FEFAF2
border
#D6D3CC
text
#16130B
muted
#85837E

Preview Lab

Preview with #D7BB47

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

Preview Lab → · Contrast checker → · Palette generator →

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