#D3BF4F#D3BF4F

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

Color values

HEX#D3BF4F
RGBrgb(211, 191, 79)
HSLhsl(51, 60%, 57%)
HSVhsv(51, 63%, 83%)
CMYKcmyk(0%, 9.5%, 62.6%, 17.3%)
CIE-LABlab(77.09, -6.11, 57.43)
CIE-LCHlch(77.09, 57.76, 96.07°)
OKLaboklab(80.04% -0.0212 0.1312)
OKLCHoklch(80.04% 0.133 99.2)
XYZxyz(46.9080, 51.6771, 14.8995)
Luminance0.5168 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3BF4F #4F63D3
analogous
#D37D4F #D3BF4F #A5D34F
triadic
#D3BF4F #4FD3BF #BF4FD3
tetradic
#D3BF4F #4FD37D #4F63D3 #D34FA5
square
#D3BF4F #4FD37D #4F63D3 #D34FA5
split-complementary
#D3BF4F #4FA5D3 #7D4FD3
monochromatic
#867722 #B7A22E #D3BF4F #DFD180 #EBE3B1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D3BF4F#FFFFFF#000000##000000
##D3BF4F1.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)
#D0BA42
Deuteranopia (green-blind)
#D6C255
Tritanopia (blue-blind)
#E2B2A7
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #d3bf4f;
/* rgb */ color: rgb(211, 191, 79);
/* oklch */ color: oklch(80.0% 0.133 99.2);
Tailwind
colors: {
  custom: {
    50: '#e4d285',
    500: '#d3bf4f',
    950: '#000000',
  },
}
SCSS
$custom: #d3bf4f;
$custom-light: #e4d285;
$custom-dark: #000000;
JSON
{
  "hex": "#d3bf4f",
  "rgb": {
    "r": 211,
    "g": 191,
    "b": 79
  },
  "hsl": {
    "h": 50.909,
    "s": 60,
    "l": 56.863
  },
  "oklch": {
    "l": 0.8004,
    "c": 0.13285,
    "h": 99.2
  },
  "luminance": 0.51675
}

Semantic roles & 50–950 ramp

primary
#D3BF4F
secondary
#39468D
accent
#5DE345
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D3BF4F

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

Preview Lab → · Contrast checker → · Palette generator →

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