#D7BB48#D7BB48

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

Color values

HEX#D7BB48
RGBrgb(215, 187, 72)
HSLhsl(48, 64%, 56%)
HSVhsv(48, 67%, 84%)
CMYKcmyk(0%, 13%, 66.5%, 15.7%)
CIE-LABlab(76.35, -2.76, 59.75)
CIE-LCHlch(76.35, 59.82, 92.65°)
OKLaboklab(79.52% -0.0127 0.1349)
OKLCHoklch(79.52% 0.135 95.4)
XYZxyz(46.9666, 50.4580, 13.3951)
Luminance0.5046 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7BB48 #4864D7
analogous
#D77448 #D7BB48 #ACD748
triadic
#D7BB48 #48D7BB #BB48D7
tetradic
#D7BB48 #48D774 #4864D7 #D748AC
square
#D7BB48 #48D774 #4864D7 #D748AC
split-complementary
#D7BB48 #48ACD7 #7448D7
monochromatic
#87721E #B99D29 #D7BB48 #E2CE7A #EDE0AC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D7BB48#FFFFFF#000000##000000
##D7BB481.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)
#CDB73A
Deuteranopia (green-blind)
#D5C04E
Tritanopia (blue-blind)
#E8ADA3
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #d7bb48;
/* rgb */ color: rgb(215, 187, 72);
/* oklch */ color: oklch(79.5% 0.135 95.4);
Tailwind
colors: {
  custom: {
    50: '#e7cf81',
    500: '#d7bb48',
    950: '#000000',
  },
}
SCSS
$custom: #d7bb48;
$custom-light: #e7cf81;
$custom-dark: #000000;
JSON
{
  "hex": "#d7bb48",
  "rgb": {
    "r": 215,
    "g": 187,
    "b": 72
  },
  "hsl": {
    "h": 48.252,
    "s": 64.126,
    "l": 56.275
  },
  "oklch": {
    "l": 0.79523,
    "c": 0.13549,
    "h": 95.4
  },
  "luminance": 0.50456
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D7BB48

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

Preview Lab → · Contrast checker → · Palette generator →

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