#D1BD48#D1BD48

#D1BD48 is a light, vivid yellow. Relative luminance 0.504; OKLCH L 79.4% C 0.137 H 99.5°. Best body text is #000000 at 11.08:1 contrast (WCAG AA passes).

Color values

HEX#D1BD48
RGBrgb(209, 189, 72)
HSLhsl(51, 60%, 55%)
HSVhsv(51, 66%, 82%)
CMYKcmyk(0%, 9.6%, 65.6%, 18%)
CIE-LABlab(76.33, -6.35, 59.56)
CIE-LCHlch(76.33, 59.90, 96.09°)
OKLaboklab(79.38% -0.0226 0.1347)
OKLCHoklch(79.38% 0.137 99.5)
XYZxyz(45.6638, 50.4204, 13.4565)
Luminance0.5042 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1BD48 #485CD1
analogous
#D17948 #D1BD48 #A0D148
triadic
#D1BD48 #48D1BD #BD48D1
tetradic
#D1BD48 #48D179 #485CD1 #D148A0
square
#D1BD48 #48D179 #485CD1 #D148A0
split-complementary
#D1BD48 #48A0D1 #7948D1
monochromatic
#7F7120 #B09C2C #D1BD48 #DDCF79 #EAE0AA

Accessibility & contrast

On white

1.89
#D1BD48 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.08
#D1BD48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1BD48
11.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1BD48#FFFFFF#000000##000000
##D1BD481.001.8911.0811.08
#FFFFFF1.891.0021.0021.00
#00000011.0821.001.001.00
##00000011.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB839
Deuteranopia (green-blind)
#D4BF4E
Tritanopia (blue-blind)
#E1B0A5
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #d1bd48;
/* rgb */ color: rgb(209, 189, 72);
/* oklch */ color: oklch(79.4% 0.137 99.5);
Tailwind
colors: {
  custom: {
    50: '#e2d081',
    500: '#d1bd48',
    950: '#000000',
  },
}
SCSS
$custom: #d1bd48;
$custom-light: #e2d081;
$custom-dark: #000000;
JSON
{
  "hex": "#d1bd48",
  "rgb": {
    "r": 209,
    "g": 189,
    "b": 72
  },
  "hsl": {
    "h": 51.241,
    "s": 59.825,
    "l": 55.098
  },
  "oklch": {
    "l": 0.79376,
    "c": 0.13654,
    "h": 99.5
  },
  "luminance": 0.50418
}

Semantic roles & 50–950 ramp

primary
#D1BD48
secondary
#374386
accent
#5CE345
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16130B
muted
#84837E

Preview Lab

Preview with #D1BD48

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

Preview Lab → · Contrast checker → · Palette generator →

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