#D3BD51#D3BD51

#D3BD51 is a light, vivid yellow. Relative luminance 0.508; OKLCH L 79.6% C 0.130 H 97.8°. Best body text is #000000 at 11.17:1 contrast (WCAG AA passes).

Color values

HEX#D3BD51
RGBrgb(211, 189, 81)
HSLhsl(50, 60%, 57%)
HSVhsv(50, 62%, 83%)
CMYKcmyk(0%, 10.4%, 61.6%, 17.3%)
CIE-LABlab(76.58, -4.94, 56.00)
CIE-LCHlch(76.58, 56.22, 95.04°)
OKLaboklab(79.65% -0.0176 0.1284)
OKLCHoklch(79.65% 0.13 97.8)
XYZxyz(46.5487, 50.8403, 15.1442)
Luminance0.5084 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3BD51 #5167D3
analogous
#D37C51 #D3BD51 #A8D351
triadic
#D3BD51 #51D3BD #BD51D3
tetradic
#D3BD51 #51D37C #5167D3 #D351A8
square
#D3BD51 #51D37C #5167D3 #D351A8
split-complementary
#D3BD51 #51A8D3 #7C51D3
monochromatic
#877622 #B8A12F #D3BD51 #DFD082 #ECE2B3

Accessibility & contrast

On white

1.88
#D3BD51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.17
#D3BD51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3BD51
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3BD51#FFFFFF#000000##000000
##D3BD511.001.8811.1711.17
#FFFFFF1.881.0021.0021.00
#00000011.1721.001.001.00
##00000011.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB945
Deuteranopia (green-blind)
#D4C056
Tritanopia (blue-blind)
#E2B0A6
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #d3bd51;
/* rgb */ color: rgb(211, 189, 81);
/* oklch */ color: oklch(79.6% 0.130 97.8);
Tailwind
colors: {
  custom: {
    50: '#e4d086',
    500: '#d3bd51',
    950: '#000000',
  },
}
SCSS
$custom: #d3bd51;
$custom-light: #e4d086;
$custom-dark: #000000;
JSON
{
  "hex": "#d3bd51",
  "rgb": {
    "r": 211,
    "g": 189,
    "b": 81
  },
  "hsl": {
    "h": 49.846,
    "s": 59.633,
    "l": 57.255
  },
  "oklch": {
    "l": 0.79646,
    "c": 0.12958,
    "h": 97.8
  },
  "luminance": 0.50838
}

Semantic roles & 50–950 ramp

primary
#D3BD51
secondary
#3A488E
accent
#60E345
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16130B
muted
#84837E

Preview Lab

Preview with #D3BD51

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

Preview Lab → · Contrast checker → · Palette generator →

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