#D3BC3A#D3BC3A

#D3BC3A is a light, vivid yellow. Relative luminance 0.501; OKLCH L 79.2% C 0.145 H 98.9°. Best body text is #000000 at 11.02:1 contrast (WCAG AA passes).

Color values

HEX#D3BC3A
RGBrgb(211, 188, 58)
HSLhsl(51, 63%, 53%)
HSVhsv(51, 73%, 83%)
CMYKcmyk(0%, 10.9%, 72.5%, 17.3%)
CIE-LABlab(76.14, -5.72, 64.95)
CIE-LCHlch(76.14, 65.21, 95.03°)
OKLaboklab(79.24% -0.0224 0.1436)
OKLCHoklch(79.24% 0.145 98.9)
XYZxyz(45.6131, 50.1231, 11.2743)
Luminance0.5012 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3BC3A #3A51D3
analogous
#D36F3A #D3BC3A #9ED33A
triadic
#D3BC3A #3AD3BC #BC3AD3
tetradic
#D3BC3A #3AD36F #3A51D3 #D33A9E
square
#D3BC3A #3AD36F #3A51D3 #D33A9E
split-complementary
#D3BC3A #3A9ED3 #6F3AD3
monochromatic
#786A1B #AA9626 #D3BC3A #DECD6C #E9DE9E

Accessibility & contrast

On white

1.90
#D3BC3A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.02
#D3BC3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3BC3A
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3BC3A#FFFFFF#000000##000000
##D3BC3A1.001.9011.0211.02
#FFFFFF1.901.0021.0021.00
#00000011.0221.001.001.00
##00000011.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB724
Deuteranopia (green-blind)
#D5BF42
Tritanopia (blue-blind)
#E3AEA2
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #d3bc3a;
/* rgb */ color: rgb(211, 188, 58);
/* oklch */ color: oklch(79.2% 0.145 98.9);
Tailwind
colors: {
  custom: {
    50: '#e4cf79',
    500: '#d3bc3a',
    950: '#000000',
  },
}
SCSS
$custom: #d3bc3a;
$custom-light: #e4cf79;
$custom-dark: #000000;
JSON
{
  "hex": "#d3bc3a",
  "rgb": {
    "r": 211,
    "g": 188,
    "b": 58
  },
  "hsl": {
    "h": 50.98,
    "s": 63.485,
    "l": 52.745
  },
  "oklch": {
    "l": 0.79243,
    "c": 0.14533,
    "h": 98.9
  },
  "luminance": 0.50121
}

Semantic roles & 50–950 ramp

primary
#D3BC3A
secondary
#313D80
accent
#5AE741
background
#FFFEFB
surface
#FEFBF1
border
#D6D4CB
text
#16130A
muted
#85837D

Preview Lab

Preview with #D3BC3A

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

Preview Lab → · Contrast checker → · Palette generator →

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