#D1BC4F#D1BC4F

#D1BC4F is a light, vivid yellow. Relative luminance 0.501; OKLCH L 79.2% C 0.130 H 98.4°. Best body text is #000000 at 11.02:1 contrast (WCAG AA passes).

Color values

HEX#D1BC4F
RGBrgb(209, 188, 79)
HSLhsl(50, 59%, 56%)
HSVhsv(50, 62%, 82%)
CMYKcmyk(0%, 10%, 62.2%, 18%)
CIE-LABlab(76.12, -5.40, 56.33)
CIE-LCHlch(76.12, 56.59, 95.48°)
OKLaboklab(79.23% -0.0191 0.1289)
OKLCHoklch(79.23% 0.13 98.4)
XYZxyz(45.6909, 50.0883, 14.6569)
Luminance0.5009 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1BC4F #4F64D1
analogous
#D17B4F #D1BC4F #A5D14F
triadic
#D1BC4F #4FD1BC #BC4FD1
tetradic
#D1BC4F #4FD17B #4F64D1 #D14FA5
square
#D1BC4F #4FD17B #4F64D1 #D14FA5
split-complementary
#D1BC4F #4FA5D1 #7B4FD1
monochromatic
#837422 #B49E2F #D1BC4F #DECE80 #EAE1B0

Accessibility & contrast

On white

1.91
#D1BC4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.02
#D1BC4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1BC4F
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1BC4F#FFFFFF#000000##000000
##D1BC4F1.001.9111.0211.02
#FFFFFF1.911.0021.0021.00
#00000011.0221.001.001.00
##00000011.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB743
Deuteranopia (green-blind)
#D3BF55
Tritanopia (blue-blind)
#E0AFA5
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #d1bc4f;
/* rgb */ color: rgb(209, 188, 79);
/* oklch */ color: oklch(79.2% 0.130 98.4);
Tailwind
colors: {
  custom: {
    50: '#e2cf85',
    500: '#d1bc4f',
    950: '#000000',
  },
}
SCSS
$custom: #d1bc4f;
$custom-light: #e2cf85;
$custom-dark: #000000;
JSON
{
  "hex": "#d1bc4f",
  "rgb": {
    "r": 209,
    "g": 188,
    "b": 79
  },
  "hsl": {
    "h": 50.308,
    "s": 58.559,
    "l": 56.471
  },
  "oklch": {
    "l": 0.79234,
    "c": 0.13026,
    "h": 98.4
  },
  "luminance": 0.50086
}

Semantic roles & 50–950 ramp

primary
#D1BC4F
secondary
#3A478A
accent
#5FE246
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16130B
muted
#84837E

Preview Lab

Preview with #D1BC4F

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

Preview Lab → · Contrast checker → · Palette generator →

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