#D3BA51#D3BA51

#D3BA51 is a light, vivid yellow. Relative luminance 0.496; OKLCH L 79.0% C 0.127 H 95.9°. Best body text is #000000 at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#D3BA51
RGBrgb(211, 186, 81)
HSLhsl(48, 60%, 57%)
HSVhsv(48, 62%, 83%)
CMYKcmyk(0%, 11.8%, 61.6%, 17.3%)
CIE-LABlab(75.80, -3.38, 55.14)
CIE-LCHlch(75.80, 55.24, 93.51°)
OKLaboklab(79.03% -0.0132 0.1266)
OKLCHoklch(79.03% 0.127 95.9)
XYZxyz(45.9101, 49.5630, 14.9314)
Luminance0.4956 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3BA51 #516AD3
analogous
#D37951 #D3BA51 #ABD351
triadic
#D3BA51 #51D3BA #BA51D3
tetradic
#D3BA51 #51D379 #516AD3 #D351AB
square
#D3BA51 #51D379 #516AD3 #D351AB
split-complementary
#D3BA51 #51ABD3 #7951D3
monochromatic
#877422 #B89E2F #D3BA51 #DFCD82 #ECE1B3

Accessibility & contrast

On white

1.92
#D3BA51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.91
#D3BA51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3BA51
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3BA51#FFFFFF#000000##000000
##D3BA511.001.9210.9110.91
#FFFFFF1.921.0021.0021.00
#00000010.9121.001.001.00
##00000010.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB646
Deuteranopia (green-blind)
#D2BE56
Tritanopia (blue-blind)
#E3ADA3
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #d3ba51;
/* rgb */ color: rgb(211, 186, 81);
/* oklch */ color: oklch(79.0% 0.127 95.9);
Tailwind
colors: {
  custom: {
    50: '#e4ce86',
    500: '#d3ba51',
    950: '#000000',
  },
}
SCSS
$custom: #d3ba51;
$custom-light: #e4ce86;
$custom-dark: #000000;
JSON
{
  "hex": "#d3ba51",
  "rgb": {
    "r": 211,
    "g": 186,
    "b": 81
  },
  "hsl": {
    "h": 48.462,
    "s": 59.633,
    "l": 57.255
  },
  "oklch": {
    "l": 0.79027,
    "c": 0.12723,
    "h": 95.9
  },
  "luminance": 0.49561
}

Semantic roles & 50–950 ramp

primary
#D3BA51
secondary
#A6B0DA
accent
#63E345
background
#FEFCF8
surface
#FDF9F0
border
#D5D2CB
text
#16130B
muted
#84827C

Preview Lab

Preview with #D3BA51

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

Preview Lab → · Contrast checker → · Palette generator →

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