#D3BA3A#D3BA3A

#D3BA3A is a light, vivid yellow. Relative luminance 0.493; OKLCH L 78.8% C 0.144 H 97.8°. Best body text is #000000 at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#D3BA3A
RGBrgb(211, 186, 58)
HSLhsl(50, 63%, 53%)
HSVhsv(50, 73%, 83%)
CMYKcmyk(0%, 11.8%, 72.5%, 17.3%)
CIE-LABlab(75.62, -4.68, 64.45)
CIE-LCHlch(75.62, 64.62, 94.15°)
OKLaboklab(78.83% -0.0195 0.1425)
OKLCHoklch(78.83% 0.144 97.8)
XYZxyz(45.1888, 49.2745, 11.1329)
Luminance0.4927 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3BA3A #3A53D3
analogous
#D36D3A #D3BA3A #9FD33A
triadic
#D3BA3A #3AD3BA #BA3AD3
tetradic
#D3BA3A #3AD36D #3A53D3 #D33A9F
square
#D3BA3A #3AD36D #3A53D3 #D33A9F
split-complementary
#D3BA3A #3A9FD3 #6D3AD3
monochromatic
#78691B #AA9426 #D3BA3A #DECC6C #E9DD9E

Accessibility & contrast

On white

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

On black

10.85
#D3BA3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3BA3A
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3BA3A#FFFFFF#000000##000000
##D3BA3A1.001.9310.8510.85
#FFFFFF1.931.0021.0021.00
#00000010.8521.001.001.00
##00000010.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB525
Deuteranopia (green-blind)
#D3BE42
Tritanopia (blue-blind)
#E4ACA1
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #d3ba3a;
/* rgb */ color: rgb(211, 186, 58);
/* oklch */ color: oklch(78.8% 0.144 97.8);
Tailwind
colors: {
  custom: {
    50: '#e4ce79',
    500: '#d3ba3a',
    950: '#000000',
  },
}
SCSS
$custom: #d3ba3a;
$custom-light: #e4ce79;
$custom-dark: #000000;
JSON
{
  "hex": "#d3ba3a",
  "rgb": {
    "r": 211,
    "g": 186,
    "b": 58
  },
  "hsl": {
    "h": 50.196,
    "s": 63.485,
    "l": 52.745
  },
  "oklch": {
    "l": 0.78828,
    "c": 0.14384,
    "h": 97.8
  },
  "luminance": 0.49272
}

Semantic roles & 50–950 ramp

primary
#D3BA3A
secondary
#939ED6
accent
#5CE741
background
#FEFCF7
surface
#FDF9EE
border
#D5D2C9
text
#161309
muted
#84827B

Preview Lab

Preview with #D3BA3A

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

Preview Lab → · Contrast checker → · Palette generator →

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