#D5BF48#D5BF48

#D5BF48 is a light, vivid yellow. Relative luminance 0.519; OKLCH L 80.2% C 0.138 H 98.7°. Best body text is #000000 at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#D5BF48
RGBrgb(213, 191, 72)
HSLhsl(51, 63%, 56%)
HSVhsv(51, 66%, 84%)
CMYKcmyk(0%, 10.3%, 66.2%, 16.5%)
CIE-LABlab(77.21, -5.69, 60.59)
CIE-LCHlch(77.21, 60.86, 95.36°)
OKLaboklab(80.16% -0.0209 0.1367)
OKLCHoklch(80.16% 0.138 98.7)
XYZxyz(47.2432, 51.8778, 13.6546)
Luminance0.5188 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5BF48 #485ED5
analogous
#D57848 #D5BF48 #A5D548
triadic
#D5BF48 #48D5BF #BF48D5
tetradic
#D5BF48 #48D578 #485ED5 #D548A5
square
#D5BF48 #48D578 #485ED5 #D548A5
split-complementary
#D5BF48 #48A5D5 #7848D5
monochromatic
#84741E #B6A02A #D5BF48 #E0D07A #ECE2AC

Accessibility & contrast

On white

1.85
#D5BF48 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.38
#D5BF48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5BF48
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5BF48#FFFFFF#000000##000000
##D5BF481.001.8511.3811.38
#FFFFFF1.851.0021.0021.00
#00000011.3821.001.001.00
##00000011.3821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d5bf48;
/* rgb */ color: rgb(213, 191, 72);
/* oklch */ color: oklch(80.2% 0.138 98.7);
Tailwind
colors: {
  custom: {
    50: '#e5d281',
    500: '#d5bf48',
    950: '#000000',
  },
}
SCSS
$custom: #d5bf48;
$custom-light: #e5d281;
$custom-dark: #000000;
JSON
{
  "hex": "#d5bf48",
  "rgb": {
    "r": 213,
    "g": 191,
    "b": 72
  },
  "hsl": {
    "h": 50.638,
    "s": 62.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.80159,
    "c": 0.13832,
    "h": 98.7
  },
  "luminance": 0.51876
}

Semantic roles & 50–950 ramp

primary
#D5BF48
secondary
#36438B
accent
#5CE642
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D5BF48

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

Preview Lab → · Contrast checker → · Palette generator →

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