#D3BF51#D3BF51

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

Color values

HEX#D3BF51
RGBrgb(211, 191, 81)
HSLhsl(51, 60%, 57%)
HSVhsv(51, 62%, 83%)
CMYKcmyk(0%, 9.5%, 61.6%, 17.3%)
CIE-LABlab(77.11, -5.98, 56.57)
CIE-LCHlch(77.11, 56.89, 96.03°)
OKLaboklab(80.06% -0.0206 0.1296)
OKLCHoklch(80.06% 0.131 99)
XYZxyz(46.9819, 51.7066, 15.2886)
Luminance0.5171 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3BF51 #5165D3
analogous
#D37E51 #D3BF51 #A6D351
triadic
#D3BF51 #51D3BF #BF51D3
tetradic
#D3BF51 #51D37E #5165D3 #D351A6
square
#D3BF51 #51D37E #5165D3 #D351A6
split-complementary
#D3BF51 #51A6D3 #7E51D3
monochromatic
#877822 #B8A32F #D3BF51 #DFD182 #ECE3B3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D3BF51#FFFFFF#000000##000000
##D3BF511.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)
#D0BA45
Deuteranopia (green-blind)
#D6C257
Tritanopia (blue-blind)
#E2B2A7
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #d3bf51;
/* rgb */ color: rgb(211, 191, 81);
/* oklch */ color: oklch(80.1% 0.131 99.0);
Tailwind
colors: {
  custom: {
    50: '#e3d286',
    500: '#d3bf51',
    950: '#000000',
  },
}
SCSS
$custom: #d3bf51;
$custom-light: #e3d286;
$custom-dark: #000000;
JSON
{
  "hex": "#d3bf51",
  "rgb": {
    "r": 211,
    "g": 191,
    "b": 81
  },
  "hsl": {
    "h": 50.769,
    "s": 59.633,
    "l": 57.255
  },
  "oklch": {
    "l": 0.8006,
    "c": 0.13123,
    "h": 99
  },
  "luminance": 0.51705
}

Semantic roles & 50–950 ramp

primary
#D3BF51
secondary
#3A478E
accent
#5DE345
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D3BF51

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

Preview Lab → · Contrast checker → · Palette generator →

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