#D3B84F#D3B84F

#D3B84F is a light, vivid yellow. Relative luminance 0.487; OKLCH L 78.6% C 0.127 H 94.9°. Best body text is #000000 at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#D3B84F
RGBrgb(211, 184, 79)
HSLhsl(48, 60%, 57%)
HSVhsv(48, 63%, 83%)
CMYKcmyk(0%, 12.8%, 62.6%, 17.3%)
CIE-LABlab(75.26, -2.47, 55.44)
CIE-LCHlch(75.26, 55.50, 92.55°)
OKLaboklab(78.6% -0.0108 0.1269)
OKLCHoklch(78.6% 0.127 94.9)
XYZxyz(45.4178, 48.6966, 14.4027)
Luminance0.4869 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3B84F #4F6AD3
analogous
#D3764F #D3B84F #ACD34F
triadic
#D3B84F #4FD3B8 #B84FD3
tetradic
#D3B84F #4FD376 #4F6AD3 #D34FAC
square
#D3B84F #4FD376 #4F6AD3 #D34FAC
split-complementary
#D3B84F #4FACD3 #764FD3
monochromatic
#867222 #B79B2E #D3B84F #DFCC80 #EBE0B1

Accessibility & contrast

On white

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

On black

10.74
#D3B84F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3B84F
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3B84F#FFFFFF#000000##000000
##D3B84F1.001.9610.7410.74
#FFFFFF1.961.0021.0021.00
#00000010.7421.001.001.00
##00000010.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB443
Deuteranopia (green-blind)
#D0BD54
Tritanopia (blue-blind)
#E3ABA1
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #d3b84f;
/* rgb */ color: rgb(211, 184, 79);
/* oklch */ color: oklch(78.6% 0.127 94.9);
Tailwind
colors: {
  custom: {
    50: '#e4cd84',
    500: '#d3b84f',
    950: '#000000',
  },
}
SCSS
$custom: #d3b84f;
$custom-light: #e4cd84;
$custom-dark: #000000;
JSON
{
  "hex": "#d3b84f",
  "rgb": {
    "r": 211,
    "g": 184,
    "b": 79
  },
  "hsl": {
    "h": 47.727,
    "s": 60,
    "l": 56.863
  },
  "oklch": {
    "l": 0.78595,
    "c": 0.12738,
    "h": 94.9
  },
  "luminance": 0.48694
}

Semantic roles & 50–950 ramp

primary
#D3B84F
secondary
#A4AFDA
accent
#65E345
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #D3B84F

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

Preview Lab → · Contrast checker → · Palette generator →

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