#D7BF48#D7BF48

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

Color values

HEX#D7BF48
RGBrgb(215, 191, 72)
HSLhsl(50, 64%, 56%)
HSVhsv(50, 67%, 84%)
CMYKcmyk(0%, 11.2%, 66.5%, 15.7%)
CIE-LABlab(77.39, -4.84, 60.84)
CIE-LCHlch(77.39, 61.03, 94.55°)
OKLaboklab(80.35% -0.0186 0.1372)
OKLCHoklch(80.35% 0.138 97.7)
XYZxyz(47.8270, 52.1789, 13.6820)
Luminance0.5218 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7BF48 #4860D7
analogous
#D77848 #D7BF48 #A8D748
triadic
#D7BF48 #48D7BF #BF48D7
tetradic
#D7BF48 #48D778 #4860D7 #D748A8
square
#D7BF48 #48D778 #4860D7 #D748A8
split-complementary
#D7BF48 #48A8D7 #7848D7
monochromatic
#87751E #B9A129 #D7BF48 #E2D17A #EDE2AC

Accessibility & contrast

On white

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

On black

11.44
#D7BF48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7BF48
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7BF48#FFFFFF#000000##000000
##D7BF481.001.8411.4411.44
#FFFFFF1.841.0021.0021.00
#00000011.4421.001.001.00
##00000011.4421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d7bf48;
/* rgb */ color: rgb(215, 191, 72);
/* oklch */ color: oklch(80.3% 0.138 97.7);
Tailwind
colors: {
  custom: {
    50: '#e7d281',
    500: '#d7bf48',
    950: '#000000',
  },
}
SCSS
$custom: #d7bf48;
$custom-light: #e7d281;
$custom-dark: #000000;
JSON
{
  "hex": "#d7bf48",
  "rgb": {
    "r": 215,
    "g": 191,
    "b": 72
  },
  "hsl": {
    "h": 49.93,
    "s": 64.126,
    "l": 56.275
  },
  "oklch": {
    "l": 0.80345,
    "c": 0.13844,
    "h": 97.7
  },
  "luminance": 0.52177
}

Semantic roles & 50–950 ramp

primary
#D7BF48
secondary
#36448D
accent
#5DE741
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D7BF48

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

Preview Lab → · Contrast checker → · Palette generator →

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