#D7B347#D7B347

#D7B347 is a light, vivid yellow. Relative luminance 0.471; OKLCH L 77.9% C 0.131 H 90.4°. Best body text is #000000 at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#D7B347
RGBrgb(215, 179, 71)
HSLhsl(45, 64%, 56%)
HSVhsv(45, 67%, 84%)
CMYKcmyk(0%, 16.7%, 67%, 15.7%)
CIE-LABlab(74.28, 1.37, 58.01)
CIE-LCHlch(74.28, 58.02, 88.65°)
OKLaboklab(77.89% -0.0009 0.131)
OKLCHoklch(77.89% 0.131 90.4)
XYZxyz(45.2841, 47.1448, 12.6747)
Luminance0.4714 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7B347 #476BD7
analogous
#D76B47 #D7B347 #B3D747
triadic
#D7B347 #47D7B3 #B347D7
tetradic
#D7B347 #47D76B #476BD7 #D747B3
square
#D7B347 #47D76B #476BD7 #D747B3
split-complementary
#D7B347 #47B3D7 #6B47D7
monochromatic
#866C1D #B99528 #D7B347 #E2C879 #EDDDAC

Accessibility & contrast

On white

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

On black

10.43
#D7B347 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7B347
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7B347#FFFFFF#000000##000000
##D7B3471.002.0110.4310.43
#FFFFFF2.011.0021.0021.00
#00000010.4321.001.001.00
##00000010.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B13A
Deuteranopia (green-blind)
#CFBB4C
Tritanopia (blue-blind)
#E8A59C
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #d7b347;
/* rgb */ color: rgb(215, 179, 71);
/* oklch */ color: oklch(77.9% 0.131 90.4);
Tailwind
colors: {
  custom: {
    50: '#e7c97f',
    500: '#d7b347',
    950: '#000000',
  },
}
SCSS
$custom: #d7b347;
$custom-light: #e7c97f;
$custom-dark: #000000;
JSON
{
  "hex": "#d7b347",
  "rgb": {
    "r": 215,
    "g": 179,
    "b": 71
  },
  "hsl": {
    "h": 45,
    "s": 64.286,
    "l": 56.078
  },
  "oklch": {
    "l": 0.77888,
    "c": 0.13102,
    "h": 90.4
  },
  "luminance": 0.47142
}

Semantic roles & 50–950 ramp

primary
#D7B347
secondary
#9FAEDB
accent
#6AE741
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130A
muted
#84827C

Preview Lab

Preview with #D7B347

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

Preview Lab → · Contrast checker → · Palette generator →

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