#D1B549#D1B549

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

Color values

HEX#D1B549
RGBrgb(209, 181, 73)
HSLhsl(48, 60%, 55%)
HSVhsv(48, 65%, 82%)
CMYKcmyk(0%, 13.4%, 65.1%, 18%)
CIE-LABlab(74.25, -2.13, 56.93)
CIE-LCHlch(74.25, 56.97, 92.14°)
OKLaboklab(77.73% -0.0104 0.1293)
OKLCHoklch(77.73% 0.13 94.6)
XYZxyz(44.0230, 47.0864, 13.0718)
Luminance0.4708 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1B549 #4965D1
analogous
#D17149 #D1B549 #A9D149
triadic
#D1B549 #49D1B5 #B549D1
tetradic
#D1B549 #49D171 #4965D1 #D149A9
square
#D1B549 #49D171 #4965D1 #D149A9
split-complementary
#D1B549 #49A9D1 #7149D1
monochromatic
#7F6C20 #B0952D #D1B549 #DDC97A #EADDAB

Accessibility & contrast

On white

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

On black

10.42
#D1B549 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1B549
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1B549#FFFFFF#000000##000000
##D1B5491.002.0210.4210.42
#FFFFFF2.021.0021.0021.00
#00000010.4221.001.001.00
##00000010.4221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d1b549;
/* rgb */ color: rgb(209, 181, 73);
/* oklch */ color: oklch(77.7% 0.130 94.6);
Tailwind
colors: {
  custom: {
    50: '#e2ca81',
    500: '#d1b549',
    950: '#000000',
  },
}
SCSS
$custom: #d1b549;
$custom-light: #e2ca81;
$custom-dark: #000000;
JSON
{
  "hex": "#d1b549",
  "rgb": {
    "r": 209,
    "g": 181,
    "b": 73
  },
  "hsl": {
    "h": 47.647,
    "s": 59.649,
    "l": 55.294
  },
  "oklch": {
    "l": 0.77731,
    "c": 0.12967,
    "h": 94.6
  },
  "luminance": 0.47084
}

Semantic roles & 50–950 ramp

primary
#D1B549
secondary
#9EAAD7
accent
#65E345
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #D1B549

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

Preview Lab → · Contrast checker → · Palette generator →

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