#D7BF47#D7BF47

#D7BF47 is a light, vivid yellow. Relative luminance 0.522; OKLCH L 80.3% C 0.139 H 97.8°. Best body text is #000000 at 11.43:1 contrast (WCAG AA passes).

Color values

HEX#D7BF47
RGBrgb(215, 191, 71)
HSLhsl(50, 64%, 56%)
HSVhsv(50, 67%, 84%)
CMYKcmyk(0%, 11.2%, 67%, 15.7%)
CIE-LABlab(77.38, -4.90, 61.24)
CIE-LCHlch(77.38, 61.44, 94.57°)
OKLaboklab(80.34% -0.0189 0.1379)
OKLCHoklch(80.34% 0.139 97.8)
XYZxyz(47.7947, 52.1659, 13.5115)
Luminance0.5216 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7BF47 #475FD7
analogous
#D77747 #D7BF47 #A7D747
triadic
#D7BF47 #47D7BF #BF47D7
tetradic
#D7BF47 #47D777 #475FD7 #D747A7
square
#D7BF47 #47D777 #475FD7 #D747A7
split-complementary
#D7BF47 #47A7D7 #7747D7
monochromatic
#86751D #B9A128 #D7BF47 #E2D079 #EDE2AC

Accessibility & contrast

On white

1.84
#D7BF47 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.43
#D7BF47 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7BF47
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7BF47#FFFFFF#000000##000000
##D7BF471.001.8411.4311.43
#FFFFFF1.841.0021.0021.00
#00000011.4321.001.001.00
##00000011.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BA37
Deuteranopia (green-blind)
#D8C34E
Tritanopia (blue-blind)
#E7B1A6
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #d7bf47;
/* rgb */ color: rgb(215, 191, 71);
/* oklch */ color: oklch(80.3% 0.139 97.8);
Tailwind
colors: {
  custom: {
    50: '#e7d280',
    500: '#d7bf47',
    950: '#000000',
  },
}
SCSS
$custom: #d7bf47;
$custom-light: #e7d280;
$custom-dark: #000000;
JSON
{
  "hex": "#d7bf47",
  "rgb": {
    "r": 215,
    "g": 191,
    "b": 71
  },
  "hsl": {
    "h": 50,
    "s": 64.286,
    "l": 56.078
  },
  "oklch": {
    "l": 0.80336,
    "c": 0.13917,
    "h": 97.8
  },
  "luminance": 0.52164
}

Semantic roles & 50–950 ramp

primary
#D7BF47
secondary
#35448D
accent
#5CE741
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D7BF47

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

Preview Lab → · Contrast checker → · Palette generator →

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