#D3BF5B#D3BF5B

#D3BF5B is a light, vivid yellow. Relative luminance 0.519; OKLCH L 80.2% C 0.123 H 98.2°. Best body text is #000000 at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#D3BF5B
RGBrgb(211, 191, 91)
HSLhsl(50, 58%, 59%)
HSVhsv(50, 57%, 83%)
CMYKcmyk(0%, 9.5%, 56.9%, 17.3%)
CIE-LABlab(77.20, -5.27, 52.14)
CIE-LCHlch(77.20, 52.40, 95.77°)
OKLaboklab(80.17% -0.0174 0.1214)
OKLCHoklch(80.17% 0.123 98.2)
XYZxyz(47.3849, 51.8678, 17.4110)
Luminance0.5187 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3BF5B #5B6FD3
analogous
#D3835B #D3BF5B #ABD35B
triadic
#D3BF5B #5BD3BF #BF5BD3
tetradic
#D3BF5B #5BD383 #5B6FD3 #D35BAB
square
#D3BF5B #5BD383 #5B6FD3 #D35BAB
split-complementary
#D3BF5B #5BABD3 #835BD3
monochromatic
#8E7C26 #BEA733 #D3BF5B #E0D28B #EDE5BC

Accessibility & contrast

On white

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

On black

11.37
#D3BF5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3BF5B
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3BF5B#FFFFFF#000000##000000
##D3BF5B1.001.8511.3711.37
#FFFFFF1.851.0021.0021.00
#00000011.3721.001.001.00
##00000011.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFBB51
Deuteranopia (green-blind)
#D5C260
Tritanopia (blue-blind)
#E2B3A9
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #d3bf5b;
/* rgb */ color: rgb(211, 191, 91);
/* oklch */ color: oklch(80.2% 0.123 98.2);
Tailwind
colors: {
  custom: {
    50: '#e3d28c',
    500: '#d3bf5b',
    950: '#000000',
  },
}
SCSS
$custom: #d3bf5b;
$custom-light: #e3d28c;
$custom-dark: #000000;
JSON
{
  "hex": "#d3bf5b",
  "rgb": {
    "r": 211,
    "g": 191,
    "b": 91
  },
  "hsl": {
    "h": 50,
    "s": 57.692,
    "l": 59.216
  },
  "oklch": {
    "l": 0.80168,
    "c": 0.12261,
    "h": 98.2
  },
  "luminance": 0.51866
}

Semantic roles & 50–950 ramp

primary
#D3BF5B
secondary
#3F4D94
accent
#61E147
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D3BF5B

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

Preview Lab → · Contrast checker → · Palette generator →

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