#D1BF48#D1BF48

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

Color values

HEX#D1BF48
RGBrgb(209, 191, 72)
HSLhsl(52, 60%, 55%)
HSVhsv(52, 66%, 82%)
CMYKcmyk(0%, 8.6%, 65.6%, 18%)
CIE-LABlab(76.85, -7.39, 60.11)
CIE-LCHlch(76.85, 60.57, 97.01°)
OKLaboklab(79.79% -0.0255 0.1358)
OKLCHoklch(79.79% 0.138 100.6)
XYZxyz(46.0969, 51.2868, 13.6009)
Luminance0.5129 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1BF48 #485AD1
analogous
#D17B48 #D1BF48 #9ED148
triadic
#D1BF48 #48D1BF #BF48D1
tetradic
#D1BF48 #48D17B #485AD1 #D1489E
square
#D1BF48 #48D17B #485AD1 #D1489E
split-complementary
#D1BF48 #489ED1 #7B48D1
monochromatic
#7F7220 #B09E2C #D1BF48 #DDD079 #EAE1AA

Accessibility & contrast

On white

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

On black

11.26
#D1BF48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1BF48
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1BF48#FFFFFF#000000##000000
##D1BF481.001.8711.2611.26
#FFFFFF1.871.0021.0021.00
#00000011.2621.001.001.00
##00000011.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BA39
Deuteranopia (green-blind)
#D5C14F
Tritanopia (blue-blind)
#E0B2A6
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #d1bf48;
/* rgb */ color: rgb(209, 191, 72);
/* oklch */ color: oklch(79.8% 0.138 100.6);
Tailwind
colors: {
  custom: {
    50: '#e2d281',
    500: '#d1bf48',
    950: '#000000',
  },
}
SCSS
$custom: #d1bf48;
$custom-light: #e2d281;
$custom-dark: #000000;
JSON
{
  "hex": "#d1bf48",
  "rgb": {
    "r": 209,
    "g": 191,
    "b": 72
  },
  "hsl": {
    "h": 52.117,
    "s": 59.825,
    "l": 55.098
  },
  "oklch": {
    "l": 0.79793,
    "c": 0.13821,
    "h": 100.6
  },
  "luminance": 0.51285
}

Semantic roles & 50–950 ramp

primary
#D1BF48
secondary
#374186
accent
#5AE345
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D1BF48

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

Preview Lab → · Contrast checker → · Palette generator →

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