#D5B448#D5B448

#D5B448 is a light, vivid yellow. Relative luminance 0.473; OKLCH L 77.9% C 0.130 H 92.0°. Best body text is #000000 at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#D5B448
RGBrgb(213, 180, 72)
HSLhsl(46, 63%, 56%)
HSVhsv(46, 66%, 84%)
CMYKcmyk(0%, 15.5%, 66.2%, 16.5%)
CIE-LABlab(74.36, 0.04, 57.59)
CIE-LCHlch(74.36, 57.59, 89.96°)
OKLaboklab(77.9% -0.0045 0.1304)
OKLCHoklch(77.9% 0.13 92)
XYZxyz(44.9338, 47.2590, 12.8848)
Luminance0.4726 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5B448 #4869D5
analogous
#D56D48 #D5B448 #B0D548
triadic
#D5B448 #48D5B4 #B448D5
tetradic
#D5B448 #48D56D #4869D5 #D548B0
square
#D5B448 #48D56D #4869D5 #D548B0
split-complementary
#D5B448 #48B0D5 #6D48D5
monochromatic
#846C1E #B6952A #D5B448 #E0C87A #ECDDAC

Accessibility & contrast

On white

2.01
#D5B448 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.45
#D5B448 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5B448
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5B448#FFFFFF#000000##000000
##D5B4481.002.0110.4510.45
#FFFFFF2.011.0021.0021.00
#00000010.4521.001.001.00
##00000010.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B13B
Deuteranopia (green-blind)
#CFBB4D
Tritanopia (blue-blind)
#E6A69D
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #d5b448;
/* rgb */ color: rgb(213, 180, 72);
/* oklch */ color: oklch(77.9% 0.130 92.0);
Tailwind
colors: {
  custom: {
    50: '#e5ca80',
    500: '#d5b448',
    950: '#000000',
  },
}
SCSS
$custom: #d5b448;
$custom-light: #e5ca80;
$custom-dark: #000000;
JSON
{
  "hex": "#d5b448",
  "rgb": {
    "r": 213,
    "g": 180,
    "b": 72
  },
  "hsl": {
    "h": 45.957,
    "s": 62.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.77903,
    "c": 0.13046,
    "h": 92
  },
  "luminance": 0.47257
}

Semantic roles & 50–950 ramp

primary
#D5B448
secondary
#9FADDA
accent
#68E642
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130A
muted
#84827C

Preview Lab

Preview with #D5B448

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

Preview Lab → · Contrast checker → · Palette generator →

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