#D3BC40#D3BC40

#D3BC40 is a light, vivid yellow. Relative luminance 0.502; OKLCH L 79.3% C 0.141 H 98.5°. Best body text is #000000 at 11.04:1 contrast (WCAG AA passes).

Color values

HEX#D3BC40
RGBrgb(211, 188, 64)
HSLhsl(51, 63%, 54%)
HSVhsv(51, 70%, 83%)
CMYKcmyk(0%, 10.9%, 69.7%, 17.3%)
CIE-LABlab(76.18, -5.42, 62.72)
CIE-LCHlch(76.18, 62.95, 94.94°)
OKLaboklab(79.29% -0.0209 0.1399)
OKLCHoklch(79.29% 0.142 98.5)
XYZxyz(45.7748, 50.1877, 12.1256)
Luminance0.5019 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3BC40 #4057D3
analogous
#D37340 #D3BC40 #A1D340
triadic
#D3BC40 #40D3BC #BC40D3
tetradic
#D3BC40 #40D373 #4057D3 #D340A1
square
#D3BC40 #40D373 #4057D3 #D340A1
split-complementary
#D3BC40 #40A1D3 #7340D3
monochromatic
#7C6D1D #AE9928 #D3BC40 #DECD72 #EADFA3

Accessibility & contrast

On white

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

On black

11.04
#D3BC40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3BC40
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3BC40#FFFFFF#000000##000000
##D3BC401.001.9011.0411.04
#FFFFFF1.901.0021.0021.00
#00000011.0421.001.001.00
##00000011.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB72E
Deuteranopia (green-blind)
#D4BF47
Tritanopia (blue-blind)
#E3AEA3
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #d3bc40;
/* rgb */ color: rgb(211, 188, 64);
/* oklch */ color: oklch(79.3% 0.141 98.5);
Tailwind
colors: {
  custom: {
    50: '#e4cf7c',
    500: '#d3bc40',
    950: '#000000',
  },
}
SCSS
$custom: #d3bc40;
$custom-light: #e4cf7c;
$custom-dark: #000000;
JSON
{
  "hex": "#d3bc40",
  "rgb": {
    "r": 211,
    "g": 188,
    "b": 64
  },
  "hsl": {
    "h": 50.612,
    "s": 62.553,
    "l": 53.922
  },
  "oklch": {
    "l": 0.79287,
    "c": 0.1415,
    "h": 98.5
  },
  "luminance": 0.50185
}

Semantic roles & 50–950 ramp

primary
#D3BC40
secondary
#334084
accent
#5CE642
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16130A
muted
#85837D

Preview Lab

Preview with #D3BC40

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

Preview Lab → · Contrast checker → · Palette generator →

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