#D3B841#D3B841

#D3B841 is a light, vivid yellow. Relative luminance 0.485; OKLCH L 78.5% C 0.138 H 96.1°. Best body text is #000000 at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#D3B841
RGBrgb(211, 184, 65)
HSLhsl(49, 62%, 54%)
HSVhsv(49, 69%, 83%)
CMYKcmyk(0%, 12.8%, 69.2%, 17.3%)
CIE-LABlab(75.15, -3.29, 61.27)
CIE-LCHlch(75.15, 61.36, 93.08°)
OKLaboklab(78.47% -0.0148 0.1371)
OKLCHoklch(78.47% 0.138 96.1)
XYZxyz(44.9608, 48.5138, 11.9959)
Luminance0.4851 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3B841 #415CD3
analogous
#D36F41 #D3B841 #A5D341
triadic
#D3B841 #41D3B8 #B841D3
tetradic
#D3B841 #41D36F #415CD3 #D341A5
square
#D3B841 #41D36F #415CD3 #D341A5
split-complementary
#D3B841 #41A5D3 #6F41D3
monochromatic
#7D6B1D #AE9628 #D3B841 #DFCB73 #EADDA4

Accessibility & contrast

On white

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

On black

10.70
#D3B841 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3B841
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3B841#FFFFFF#000000##000000
##D3B8411.001.9610.7010.70
#FFFFFF1.961.0021.0021.00
#00000010.7021.001.001.00
##00000010.7021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d3b841;
/* rgb */ color: rgb(211, 184, 65);
/* oklch */ color: oklch(78.5% 0.138 96.1);
Tailwind
colors: {
  custom: {
    50: '#e4cd7c',
    500: '#d3b841',
    950: '#000000',
  },
}
SCSS
$custom: #d3b841;
$custom-light: #e4cd7c;
$custom-dark: #000000;
JSON
{
  "hex": "#d3b841",
  "rgb": {
    "r": 211,
    "g": 184,
    "b": 65
  },
  "hsl": {
    "h": 48.904,
    "s": 62.393,
    "l": 54.118
  },
  "oklch": {
    "l": 0.78468,
    "c": 0.13785,
    "h": 96.1
  },
  "luminance": 0.48512
}

Semantic roles & 50–950 ramp

primary
#D3B841
secondary
#99A4D7
accent
#61E542
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D3B841

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

Preview Lab → · Contrast checker → · Palette generator →

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