#D3BF52#D3BF52

#D3BF52 is a light, vivid yellow. Relative luminance 0.517; OKLCH L 80.1% C 0.130 H 99.0°. Best body text is #000000 at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#D3BF52
RGBrgb(211, 191, 82)
HSLhsl(51, 59%, 57%)
HSVhsv(51, 61%, 83%)
CMYKcmyk(0%, 9.5%, 61.1%, 17.3%)
CIE-LABlab(77.11, -5.91, 56.14)
CIE-LCHlch(77.11, 56.45, 96.01°)
OKLaboklab(80.07% -0.0203 0.1288)
OKLCHoklch(80.07% 0.13 99)
XYZxyz(47.0197, 51.7217, 15.4876)
Luminance0.5172 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3BF52 #5266D3
analogous
#D37F52 #D3BF52 #A6D352
triadic
#D3BF52 #52D3BF #BF52D3
tetradic
#D3BF52 #52D37F #5266D3 #D352A6
square
#D3BF52 #52D37F #5266D3 #D352A6
split-complementary
#D3BF52 #52A6D3 #7F52D3
monochromatic
#887823 #B9A32F #D3BF52 #DFD183 #ECE3B4

Accessibility & contrast

On white

1.85
#D3BF52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.34
#D3BF52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3BF52
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3BF52#FFFFFF#000000##000000
##D3BF521.001.8511.3411.34
#FFFFFF1.851.0021.0021.00
#00000011.3421.001.001.00
##00000011.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BA46
Deuteranopia (green-blind)
#D5C257
Tritanopia (blue-blind)
#E2B2A7
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #d3bf52;
/* rgb */ color: rgb(211, 191, 82);
/* oklch */ color: oklch(80.1% 0.130 99.0);
Tailwind
colors: {
  custom: {
    50: '#e3d287',
    500: '#d3bf52',
    950: '#000000',
  },
}
SCSS
$custom: #d3bf52;
$custom-light: #e3d287;
$custom-dark: #000000;
JSON
{
  "hex": "#d3bf52",
  "rgb": {
    "r": 211,
    "g": 191,
    "b": 82
  },
  "hsl": {
    "h": 50.698,
    "s": 59.447,
    "l": 57.451
  },
  "oklch": {
    "l": 0.8007,
    "c": 0.1304,
    "h": 99
  },
  "luminance": 0.5172
}

Semantic roles & 50–950 ramp

primary
#D3BF52
secondary
#3B488E
accent
#5EE345
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D3BF52

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

Preview Lab → · Contrast checker → · Palette generator →

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