#D3B147#D3B147

#D3B147 is a light, vivid yellow. Relative luminance 0.457; OKLCH L 77.1% C 0.129 H 91.1°. Best body text is #000000 at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#D3B147
RGBrgb(211, 177, 71)
HSLhsl(45, 61%, 55%)
HSVhsv(45, 66%, 83%)
CMYKcmyk(0%, 16.1%, 66.4%, 17.3%)
CIE-LABlab(73.38, 0.71, 56.94)
CIE-LCHlch(73.38, 56.94, 89.28°)
OKLaboklab(77.09% -0.0026 0.1289)
OKLCHoklch(77.09% 0.129 91.1)
XYZxyz(43.7257, 45.7506, 12.4877)
Luminance0.4575 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3B147 #4769D3
analogous
#D36B47 #D3B147 #AFD347
triadic
#D3B147 #47D3B1 #B147D3
tetradic
#D3B147 #47D36B #4769D3 #D347AF
square
#D3B147 #47D36B #4769D3 #D347AF
split-complementary
#D3B147 #47AFD3 #6B47D3
monochromatic
#81691F #B2912B #D3B147 #DFC678 #EBDBAA

Accessibility & contrast

On white

2.07
#D3B147 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.15
#D3B147 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3B147
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3B147#FFFFFF#000000##000000
##D3B1471.002.0710.1510.15
#FFFFFF2.071.0021.0021.00
#00000010.1521.001.001.00
##00000010.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AF3A
Deuteranopia (green-blind)
#CCB84C
Tritanopia (blue-blind)
#E4A39B
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #d3b147;
/* rgb */ color: rgb(211, 177, 71);
/* oklch */ color: oklch(77.1% 0.129 91.1);
Tailwind
colors: {
  custom: {
    50: '#e4c87f',
    500: '#d3b147',
    950: '#000000',
  },
}
SCSS
$custom: #d3b147;
$custom-light: #e4c87f;
$custom-dark: #000000;
JSON
{
  "hex": "#d3b147",
  "rgb": {
    "r": 211,
    "g": 177,
    "b": 71
  },
  "hsl": {
    "h": 45.429,
    "s": 61.404,
    "l": 55.294
  },
  "oklch": {
    "l": 0.77089,
    "c": 0.12892,
    "h": 91.1
  },
  "luminance": 0.45748
}

Semantic roles & 50–950 ramp

primary
#D3B147
secondary
#9EACD8
accent
#6AE543
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130A
muted
#84827C

Preview Lab

Preview with #D3B147

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

Preview Lab → · Contrast checker → · Palette generator →

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