#D1BF47#D1BF47

#D1BF47 is a light, vivid yellow. Relative luminance 0.513; OKLCH L 79.8% C 0.139 H 100.7°. Best body text is #000000 at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#D1BF47
RGBrgb(209, 191, 71)
HSLhsl(52, 60%, 55%)
HSVhsv(52, 66%, 82%)
CMYKcmyk(0%, 8.6%, 66%, 18%)
CIE-LABlab(76.84, -7.45, 60.52)
CIE-LCHlch(76.84, 60.98, 97.01°)
OKLaboklab(79.79% -0.0258 0.1365)
OKLCHoklch(79.79% 0.139 100.7)
XYZxyz(46.0646, 51.2738, 13.4304)
Luminance0.5127 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1BF47 #4759D1
analogous
#D17A47 #D1BF47 #9ED147
triadic
#D1BF47 #47D1BF #BF47D1
tetradic
#D1BF47 #47D17A #4759D1 #D1479E
square
#D1BF47 #47D17A #4759D1 #D1479E
split-complementary
#D1BF47 #479ED1 #7A47D1
monochromatic
#7E7220 #AF9E2C #D1BF47 #DDD078 #E9E1A9

Accessibility & contrast

On white

1.87
#D1BF47 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.25
#D1BF47 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1BF47
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1BF47#FFFFFF#000000##000000
##D1BF471.001.8711.2511.25
#FFFFFF1.871.0021.0021.00
#00000011.2521.001.001.00
##00000011.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BA37
Deuteranopia (green-blind)
#D5C14E
Tritanopia (blue-blind)
#E1B2A6
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #d1bf47;
/* rgb */ color: rgb(209, 191, 71);
/* oklch */ color: oklch(79.8% 0.139 100.7);
Tailwind
colors: {
  custom: {
    50: '#e2d280',
    500: '#d1bf47',
    950: '#000000',
  },
}
SCSS
$custom: #d1bf47;
$custom-light: #e2d280;
$custom-dark: #000000;
JSON
{
  "hex": "#d1bf47",
  "rgb": {
    "r": 209,
    "g": 191,
    "b": 71
  },
  "hsl": {
    "h": 52.174,
    "s": 60,
    "l": 54.902
  },
  "oklch": {
    "l": 0.79785,
    "c": 0.13895,
    "h": 100.7
  },
  "luminance": 0.51272
}

Semantic roles & 50–950 ramp

primary
#D1BF47
secondary
#374186
accent
#59E345
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D1BF47

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

Preview Lab → · Contrast checker → · Palette generator →

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