#D5B748#D5B748

#D5B748 is a light, vivid yellow. Relative luminance 0.485; OKLCH L 78.5% C 0.132 H 93.9°. Best body text is #000000 at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#D5B748
RGBrgb(213, 183, 72)
HSLhsl(47, 63%, 56%)
HSVhsv(47, 66%, 84%)
CMYKcmyk(0%, 14.1%, 66.2%, 16.5%)
CIE-LABlab(75.13, -1.53, 58.41)
CIE-LCHlch(75.13, 58.43, 91.50°)
OKLaboklab(78.51% -0.009 0.1321)
OKLCHoklch(78.51% 0.132 93.9)
XYZxyz(45.5460, 48.4834, 13.0889)
Luminance0.4848 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5B748 #4866D5
analogous
#D57048 #D5B748 #ACD548
triadic
#D5B748 #48D5B7 #B748D5
tetradic
#D5B748 #48D570 #4866D5 #D548AC
square
#D5B748 #48D570 #4866D5 #D548AC
split-complementary
#D5B748 #48ACD5 #7048D5
monochromatic
#846F1E #B6982A #D5B748 #E0CB7A #ECDEAC

Accessibility & contrast

On white

1.96
#D5B748 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.70
#D5B748 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5B748
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5B748#FFFFFF#000000##000000
##D5B7481.001.9610.7010.70
#FFFFFF1.961.0021.0021.00
#00000010.7021.001.001.00
##00000010.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B43A
Deuteranopia (green-blind)
#D1BD4E
Tritanopia (blue-blind)
#E6A9A0
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #d5b748;
/* rgb */ color: rgb(213, 183, 72);
/* oklch */ color: oklch(78.5% 0.132 93.9);
Tailwind
colors: {
  custom: {
    50: '#e5cc80',
    500: '#d5b748',
    950: '#000000',
  },
}
SCSS
$custom: #d5b748;
$custom-light: #e5cc80;
$custom-dark: #000000;
JSON
{
  "hex": "#d5b748",
  "rgb": {
    "r": 213,
    "g": 183,
    "b": 72
  },
  "hsl": {
    "h": 47.234,
    "s": 62.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.78514,
    "c": 0.13242,
    "h": 93.9
  },
  "luminance": 0.48481
}

Semantic roles & 50–950 ramp

primary
#D5B748
secondary
#9FACDA
accent
#65E642
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #D5B748

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

Preview Lab → · Contrast checker → · Palette generator →

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