#D1B048#D1B048

#D1B048 is a light, vivid yellow. Relative luminance 0.451; OKLCH L 76.7% C 0.127 H 91.4°. Best body text is #000000 at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#D1B048
RGBrgb(209, 176, 72)
HSLhsl(46, 60%, 55%)
HSVhsv(46, 66%, 82%)
CMYKcmyk(0%, 15.8%, 65.6%, 18%)
CIE-LABlab(72.94, 0.44, 55.98)
CIE-LCHlch(72.94, 55.98, 89.55°)
OKLaboklab(76.7% -0.0031 0.1271)
OKLCHoklch(76.7% 0.127 91.4)
XYZxyz(42.9917, 45.0763, 12.5658)
Luminance0.4507 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1B048 #4869D1
analogous
#D16B48 #D1B048 #AED148
triadic
#D1B048 #48D1B0 #B048D1
tetradic
#D1B048 #48D16B #4869D1 #D148AE
square
#D1B048 #48D16B #4869D1 #D148AE
split-complementary
#D1B048 #48AED1 #6B48D1
monochromatic
#7F6820 #B0902C #D1B048 #DDC579 #EADAAA

Accessibility & contrast

On white

2.10
#D1B048 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.01
#D1B048 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1B048
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1B048#FFFFFF#000000##000000
##D1B0481.002.1010.0110.01
#FFFFFF2.101.0021.0021.00
#00000010.0121.001.001.00
##00000010.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AE3C
Deuteranopia (green-blind)
#CAB74D
Tritanopia (blue-blind)
#E1A29A
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #d1b048;
/* rgb */ color: rgb(209, 176, 72);
/* oklch */ color: oklch(76.7% 0.127 91.4);
Tailwind
colors: {
  custom: {
    50: '#e3c780',
    500: '#d1b048',
    950: '#000000',
  },
}
SCSS
$custom: #d1b048;
$custom-light: #e3c780;
$custom-dark: #000000;
JSON
{
  "hex": "#d1b048",
  "rgb": {
    "r": 209,
    "g": 176,
    "b": 72
  },
  "hsl": {
    "h": 45.547,
    "s": 59.825,
    "l": 55.098
  },
  "oklch": {
    "l": 0.76699,
    "c": 0.12711,
    "h": 91.4
  },
  "luminance": 0.45074
}

Semantic roles & 50–950 ramp

primary
#D1B048
secondary
#9EACD7
accent
#6BE345
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130A
muted
#84827C

Preview Lab

Preview with #D1B048

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

Preview Lab → · Contrast checker → · Palette generator →

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