#D3BF40#D3BF40

#D3BF40 is a light, vivid yellow. Relative luminance 0.515; OKLCH L 79.9% C 0.144 H 100.1°. Best body text is #000000 at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#D3BF40
RGBrgb(211, 191, 64)
HSLhsl(52, 63%, 54%)
HSVhsv(52, 70%, 83%)
CMYKcmyk(0%, 9.5%, 69.7%, 17.3%)
CIE-LABlab(76.97, -6.97, 63.50)
CIE-LCHlch(76.97, 63.89, 96.27°)
OKLaboklab(79.91% -0.0253 0.1416)
OKLCHoklch(79.91% 0.144 100.1)
XYZxyz(46.4223, 51.4828, 12.3414)
Luminance0.5148 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3BF40 #4054D3
analogous
#D37640 #D3BF40 #9ED340
triadic
#D3BF40 #40D3BF #BF40D3
tetradic
#D3BF40 #40D376 #4054D3 #D3409E
square
#D3BF40 #40D376 #4054D3 #D3409E
split-complementary
#D3BF40 #409ED3 #7640D3
monochromatic
#7C6F1D #AE9C28 #D3BF40 #DED072 #EAE0A3

Accessibility & contrast

On white

1.86
#D3BF40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.30
#D3BF40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3BF40
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3BF40#FFFFFF#000000##000000
##D3BF401.001.8611.3011.30
#FFFFFF1.861.0021.0021.00
#00000011.3021.001.001.00
##00000011.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BA2D
Deuteranopia (green-blind)
#D6C148
Tritanopia (blue-blind)
#E3B1A6
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #d3bf40;
/* rgb */ color: rgb(211, 191, 64);
/* oklch */ color: oklch(79.9% 0.144 100.1);
Tailwind
colors: {
  custom: {
    50: '#e4d17c',
    500: '#d3bf40',
    950: '#000000',
  },
}
SCSS
$custom: #d3bf40;
$custom-light: #e4d17c;
$custom-dark: #000000;
JSON
{
  "hex": "#d3bf40",
  "rgb": {
    "r": 211,
    "g": 191,
    "b": 64
  },
  "hsl": {
    "h": 51.837,
    "s": 62.553,
    "l": 53.922
  },
  "oklch": {
    "l": 0.7991,
    "c": 0.14385,
    "h": 100.1
  },
  "luminance": 0.51481
}

Semantic roles & 50–950 ramp

primary
#D3BF40
secondary
#333E84
accent
#58E642
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140A
muted
#85837D

Preview Lab

Preview with #D3BF40

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

Preview Lab → · Contrast checker → · Palette generator →

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