#D3B847#D3B847

#D3B847 is a light, vivid yellow. Relative luminance 0.486; OKLCH L 78.5% C 0.134 H 95.6°. Best body text is #000000 at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#D3B847
RGBrgb(211, 184, 71)
HSLhsl(48, 61%, 55%)
HSVhsv(48, 66%, 83%)
CMYKcmyk(0%, 12.8%, 66.4%, 17.3%)
CIE-LABlab(75.19, -2.96, 58.85)
CIE-LCHlch(75.19, 58.92, 92.88°)
OKLaboklab(78.52% -0.0131 0.1329)
OKLCHoklch(78.52% 0.134 95.6)
XYZxyz(45.1439, 48.5871, 12.9604)
Luminance0.4859 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3B847 #4762D3
analogous
#D37247 #D3B847 #A8D347
triadic
#D3B847 #47D3B8 #B847D3
tetradic
#D3B847 #47D372 #4762D3 #D347A8
square
#D3B847 #47D372 #4762D3 #D347A8
split-complementary
#D3B847 #47A8D3 #7247D3
monochromatic
#816E1F #B2982B #D3B847 #DFCB78 #EBDEAA

Accessibility & contrast

On white

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

On black

10.72
#D3B847 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3B847
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3B847#FFFFFF#000000##000000
##D3B8471.001.9610.7210.72
#FFFFFF1.961.0021.0021.00
#00000010.7221.001.001.00
##00000010.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB439
Deuteranopia (green-blind)
#D1BD4D
Tritanopia (blue-blind)
#E3AAA0
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #d3b847;
/* rgb */ color: rgb(211, 184, 71);
/* oklch */ color: oklch(78.5% 0.134 95.6);
Tailwind
colors: {
  custom: {
    50: '#e4cd80',
    500: '#d3b847',
    950: '#000000',
  },
}
SCSS
$custom: #d3b847;
$custom-light: #e4cd80;
$custom-dark: #000000;
JSON
{
  "hex": "#d3b847",
  "rgb": {
    "r": 211,
    "g": 184,
    "b": 71
  },
  "hsl": {
    "h": 48.429,
    "s": 61.404,
    "l": 55.294
  },
  "oklch": {
    "l": 0.78519,
    "c": 0.13359,
    "h": 95.6
  },
  "luminance": 0.48585
}

Semantic roles & 50–950 ramp

primary
#D3B847
secondary
#9EA9D8
accent
#62E543
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130A
muted
#84827C

Preview Lab

Preview with #D3B847

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

Preview Lab → · Contrast checker → · Palette generator →

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