#D3BA4F#D3BA4F

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

Color values

HEX#D3BA4F
RGBrgb(211, 186, 79)
HSLhsl(49, 60%, 57%)
HSVhsv(49, 63%, 83%)
CMYKcmyk(0%, 11.8%, 62.6%, 17.3%)
CIE-LABlab(75.78, -3.52, 56.01)
CIE-LCHlch(75.78, 56.12, 93.59°)
OKLaboklab(79.01% -0.0138 0.1281)
OKLCHoklch(79.01% 0.129 96.1)
XYZxyz(45.8362, 49.5334, 14.5422)
Luminance0.4953 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3BA4F #4F68D3
analogous
#D3784F #D3BA4F #AAD34F
triadic
#D3BA4F #4FD3BA #BA4FD3
tetradic
#D3BA4F #4FD378 #4F68D3 #D34FAA
square
#D3BA4F #4FD378 #4F68D3 #D34FAA
split-complementary
#D3BA4F #4FAAD3 #784FD3
monochromatic
#867322 #B79D2E #D3BA4F #DFCD80 #EBE0B1

Accessibility & contrast

On white

1.93
#D3BA4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##D3BA4F#FFFFFF#000000##000000
##D3BA4F1.001.9310.9110.91
#FFFFFF1.931.0021.0021.00
#00000010.9121.001.001.00
##00000010.9121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d3ba4f;
/* rgb */ color: rgb(211, 186, 79);
/* oklch */ color: oklch(79.0% 0.129 96.1);
Tailwind
colors: {
  custom: {
    50: '#e4ce85',
    500: '#d3ba4f',
    950: '#000000',
  },
}
SCSS
$custom: #d3ba4f;
$custom-light: #e4ce85;
$custom-dark: #000000;
JSON
{
  "hex": "#d3ba4f",
  "rgb": {
    "r": 211,
    "g": 186,
    "b": 79
  },
  "hsl": {
    "h": 48.636,
    "s": 60,
    "l": 56.863
  },
  "oklch": {
    "l": 0.79007,
    "c": 0.12887,
    "h": 96.1
  },
  "luminance": 0.49531
}

Semantic roles & 50–950 ramp

primary
#D3BA4F
secondary
#A4AEDA
accent
#63E345
background
#FEFCF8
surface
#FDF9EF
border
#D5D2CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #D3BA4F

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

Preview Lab → · Contrast checker → · Palette generator →

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