#D5B348#D5B348

#D5B348 is a light, vivid yellow. Relative luminance 0.469; OKLCH L 77.7% C 0.130 H 91.3°. Best body text is #000000 at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#D5B348
RGBrgb(213, 179, 72)
HSLhsl(46, 63%, 56%)
HSVhsv(46, 66%, 84%)
CMYKcmyk(0%, 16%, 66.2%, 16.5%)
CIE-LABlab(74.10, 0.57, 57.32)
CIE-LCHlch(74.10, 57.32, 89.43°)
OKLaboklab(77.7% -0.003 0.1298)
OKLCHoklch(77.7% 0.13 91.3)
XYZxyz(44.7326, 46.8567, 12.8177)
Luminance0.4685 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5B348 #486AD5
analogous
#D56C48 #D5B348 #B0D548
triadic
#D5B348 #48D5B3 #B348D5
tetradic
#D5B348 #48D56C #486AD5 #D548B0
square
#D5B348 #48D56C #486AD5 #D548B0
split-complementary
#D5B348 #48B0D5 #6C48D5
monochromatic
#846C1E #B6942A #D5B348 #E0C87A #ECDCAC

Accessibility & contrast

On white

2.02
#D5B348 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.37
#D5B348 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5B348
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5B348#FFFFFF#000000##000000
##D5B3481.002.0210.3710.37
#FFFFFF2.021.0021.0021.00
#00000010.3721.001.001.00
##00000010.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B13B
Deuteranopia (green-blind)
#CEBA4D
Tritanopia (blue-blind)
#E6A59C
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #d5b348;
/* rgb */ color: rgb(213, 179, 72);
/* oklch */ color: oklch(77.7% 0.130 91.3);
Tailwind
colors: {
  custom: {
    50: '#e6c980',
    500: '#d5b348',
    950: '#000000',
  },
}
SCSS
$custom: #d5b348;
$custom-light: #e6c980;
$custom-dark: #000000;
JSON
{
  "hex": "#d5b348",
  "rgb": {
    "r": 213,
    "g": 179,
    "b": 72
  },
  "hsl": {
    "h": 45.532,
    "s": 62.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.777,
    "c": 0.12983,
    "h": 91.3
  },
  "luminance": 0.46854
}

Semantic roles & 50–950 ramp

primary
#D5B348
secondary
#9FADDA
accent
#6AE642
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130A
muted
#84827C

Preview Lab

Preview with #D5B348

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

Preview Lab → · Contrast checker → · Palette generator →

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