#D1BF50#D1BF50

#D1BF50 is a light, vivid yellow. Relative luminance 0.514; OKLCH L 79.9% C 0.132 H 100.1°. Best body text is #000000 at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#D1BF50
RGBrgb(209, 191, 80)
HSLhsl(52, 58%, 57%)
HSVhsv(52, 62%, 82%)
CMYKcmyk(0%, 8.6%, 61.7%, 18%)
CIE-LABlab(76.92, -6.89, 56.76)
CIE-LCHlch(76.92, 57.18, 96.92°)
OKLaboklab(79.87% -0.0232 0.1299)
OKLCHoklch(79.87% 0.132 100.1)
XYZxyz(46.3751, 51.3981, 15.0659)
Luminance0.5140 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1BF50 #5062D1
analogous
#D17F50 #D1BF50 #A3D150
triadic
#D1BF50 #50D1BF #BF50D1
tetradic
#D1BF50 #50D17F #5062D1 #D150A3
square
#D1BF50 #50D17F #5062D1 #D150A3
split-complementary
#D1BF50 #50A3D1 #7F50D1
monochromatic
#847623 #B4A22F #D1BF50 #DED180 #EAE2B1

Accessibility & contrast

On white

1.86
#D1BF50 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.28
#D1BF50 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1BF50
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1BF50#FFFFFF#000000##000000
##D1BF501.001.8611.2811.28
#FFFFFF1.861.0021.0021.00
#00000011.2821.001.001.00
##00000011.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BA43
Deuteranopia (green-blind)
#D5C156
Tritanopia (blue-blind)
#E0B2A7
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #d1bf50;
/* rgb */ color: rgb(209, 191, 80);
/* oklch */ color: oklch(79.9% 0.132 100.1);
Tailwind
colors: {
  custom: {
    50: '#e2d286',
    500: '#d1bf50',
    950: '#000000',
  },
}
SCSS
$custom: #d1bf50;
$custom-light: #e2d286;
$custom-dark: #000000;
JSON
{
  "hex": "#d1bf50",
  "rgb": {
    "r": 209,
    "g": 191,
    "b": 80
  },
  "hsl": {
    "h": 51.628,
    "s": 58.371,
    "l": 56.667
  },
  "oklch": {
    "l": 0.79868,
    "c": 0.13197,
    "h": 100.1
  },
  "luminance": 0.51396
}

Semantic roles & 50–950 ramp

primary
#D1BF50
secondary
#3A468B
accent
#5CE246
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D1BF50

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

Preview Lab → · Contrast checker → · Palette generator →

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