#D7BD48#D7BD48

#D7BD48 is a light, vivid yellow. Relative luminance 0.513; OKLCH L 79.9% C 0.137 H 96.6°. Best body text is #000000 at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#D7BD48
RGBrgb(215, 189, 72)
HSLhsl(49, 64%, 56%)
HSVhsv(49, 67%, 84%)
CMYKcmyk(0%, 12.1%, 66.5%, 15.7%)
CIE-LABlab(76.87, -3.80, 60.30)
CIE-LCHlch(76.87, 60.42, 93.61°)
OKLaboklab(79.93% -0.0157 0.136)
OKLCHoklch(79.93% 0.137 96.6)
XYZxyz(47.3938, 51.3125, 13.5376)
Luminance0.5131 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7BD48 #4862D7
analogous
#D77648 #D7BD48 #AAD748
triadic
#D7BD48 #48D7BD #BD48D7
tetradic
#D7BD48 #48D776 #4862D7 #D748AA
square
#D7BD48 #48D776 #4862D7 #D748AA
split-complementary
#D7BD48 #48AAD7 #7648D7
monochromatic
#87741E #B99F29 #D7BD48 #E2CF7A #EDE1AC

Accessibility & contrast

On white

1.86
#D7BD48 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.26
#D7BD48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7BD48
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7BD48#FFFFFF#000000##000000
##D7BD481.001.8611.2611.26
#FFFFFF1.861.0021.0021.00
#00000011.2621.001.001.00
##00000011.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB939
Deuteranopia (green-blind)
#D6C14E
Tritanopia (blue-blind)
#E7AFA5
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #d7bd48;
/* rgb */ color: rgb(215, 189, 72);
/* oklch */ color: oklch(79.9% 0.137 96.6);
Tailwind
colors: {
  custom: {
    50: '#e7d081',
    500: '#d7bd48',
    950: '#000000',
  },
}
SCSS
$custom: #d7bd48;
$custom-light: #e7d081;
$custom-dark: #000000;
JSON
{
  "hex": "#d7bd48",
  "rgb": {
    "r": 215,
    "g": 189,
    "b": 72
  },
  "hsl": {
    "h": 49.091,
    "s": 64.126,
    "l": 56.275
  },
  "oklch": {
    "l": 0.79933,
    "c": 0.13694,
    "h": 96.6
  },
  "luminance": 0.5131
}

Semantic roles & 50–950 ramp

primary
#D7BD48
secondary
#36468D
accent
#5FE741
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16130B
muted
#85837E

Preview Lab

Preview with #D7BD48

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

Preview Lab → · Contrast checker → · Palette generator →

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