#D1B548#D1B548

#D1B548 is a light, vivid yellow. Relative luminance 0.471; OKLCH L 77.7% C 0.130 H 94.7°. Best body text is #000000 at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#D1B548
RGBrgb(209, 181, 72)
HSLhsl(48, 60%, 55%)
HSVhsv(48, 66%, 82%)
CMYKcmyk(0%, 13.4%, 65.6%, 18%)
CIE-LABlab(74.24, -2.19, 57.35)
CIE-LCHlch(74.24, 57.40, 92.19°)
OKLaboklab(77.72% -0.0107 0.13)
OKLCHoklch(77.72% 0.13 94.7)
XYZxyz(43.9902, 47.0732, 12.8986)
Luminance0.4707 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1B548 #4864D1
analogous
#D17048 #D1B548 #A9D148
triadic
#D1B548 #48D1B5 #B548D1
tetradic
#D1B548 #48D170 #4864D1 #D148A9
square
#D1B548 #48D170 #4864D1 #D148A9
split-complementary
#D1B548 #48A9D1 #7048D1
monochromatic
#7F6B20 #B0952C #D1B548 #DDC979 #EADDAA

Accessibility & contrast

On white

2.02
#D1B548 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.41
#D1B548 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1B548
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1B548#FFFFFF#000000##000000
##D1B5481.002.0210.4110.41
#FFFFFF2.021.0021.0021.00
#00000010.4121.001.001.00
##00000010.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B23B
Deuteranopia (green-blind)
#CEBA4D
Tritanopia (blue-blind)
#E1A89E
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #d1b548;
/* rgb */ color: rgb(209, 181, 72);
/* oklch */ color: oklch(77.7% 0.130 94.7);
Tailwind
colors: {
  custom: {
    50: '#e3ca80',
    500: '#d1b548',
    950: '#000000',
  },
}
SCSS
$custom: #d1b548;
$custom-light: #e3ca80;
$custom-dark: #000000;
JSON
{
  "hex": "#d1b548",
  "rgb": {
    "r": 209,
    "g": 181,
    "b": 72
  },
  "hsl": {
    "h": 47.737,
    "s": 59.825,
    "l": 55.098
  },
  "oklch": {
    "l": 0.77721,
    "c": 0.13043,
    "h": 94.7
  },
  "luminance": 0.47071
}

Semantic roles & 50–950 ramp

primary
#D1B548
secondary
#9EA9D7
accent
#65E345
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130A
muted
#84827C

Preview Lab

Preview with #D1B548

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

Preview Lab → · Contrast checker → · Palette generator →

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