#D5B347#D5B347

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

Color values

HEX#D5B347
RGBrgb(213, 179, 71)
HSLhsl(46, 63%, 56%)
HSVhsv(46, 67%, 84%)
CMYKcmyk(0%, 16%, 66.7%, 16.5%)
CIE-LABlab(74.09, 0.51, 57.74)
CIE-LCHlch(74.09, 57.75, 89.49°)
OKLaboklab(77.69% -0.0033 0.1305)
OKLCHoklch(77.69% 0.131 91.4)
XYZxyz(44.7003, 46.8438, 12.6473)
Luminance0.4684 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5B347 #4769D5
analogous
#D56C47 #D5B347 #B0D547
triadic
#D5B347 #47D5B3 #B347D5
tetradic
#D5B347 #47D56C #4769D5 #D547B0
square
#D5B347 #47D56C #4769D5 #D547B0
split-complementary
#D5B347 #47B0D5 #6C47D5
monochromatic
#846B1E #B59429 #D5B347 #E0C879 #ECDCAB

Accessibility & contrast

On white

2.03
#D5B347 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##D5B347#FFFFFF#000000##000000
##D5B3471.002.0310.3710.37
#FFFFFF2.031.0021.0021.00
#00000010.3721.001.001.00
##00000010.3721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d5b347;
/* rgb */ color: rgb(213, 179, 71);
/* oklch */ color: oklch(77.7% 0.131 91.4);
Tailwind
colors: {
  custom: {
    50: '#e6c97f',
    500: '#d5b347',
    950: '#000000',
  },
}
SCSS
$custom: #d5b347;
$custom-light: #e6c97f;
$custom-dark: #000000;
JSON
{
  "hex": "#d5b347",
  "rgb": {
    "r": 213,
    "g": 179,
    "b": 71
  },
  "hsl": {
    "h": 45.634,
    "s": 62.832,
    "l": 55.686
  },
  "oklch": {
    "l": 0.77691,
    "c": 0.13057,
    "h": 91.4
  },
  "luminance": 0.46841
}

Semantic roles & 50–950 ramp

primary
#D5B347
secondary
#9EADD9
accent
#69E642
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130A
muted
#84827C

Preview Lab

Preview with #D5B347

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

Preview Lab → · Contrast checker → · Palette generator →

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