#D1B949#D1B949

#D1B949 is a light, vivid yellow. Relative luminance 0.487; OKLCH L 78.6% C 0.133 H 97.1°. Best body text is #000000 at 10.75:1 contrast (WCAG AA passes).

Color values

HEX#D1B949
RGBrgb(209, 185, 73)
HSLhsl(49, 60%, 55%)
HSVhsv(49, 65%, 82%)
CMYKcmyk(0%, 11.5%, 65.1%, 18%)
CIE-LABlab(75.29, -4.22, 58.04)
CIE-LCHlch(75.29, 58.19, 94.16°)
OKLaboklab(78.55% -0.0164 0.1316)
OKLCHoklch(78.55% 0.133 97.1)
XYZxyz(44.8481, 48.7364, 13.3468)
Luminance0.4873 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1B949 #4961D1
analogous
#D17549 #D1B949 #A5D149
triadic
#D1B949 #49D1B9 #B949D1
tetradic
#D1B949 #49D175 #4961D1 #D149A5
square
#D1B949 #49D175 #4961D1 #D149A5
split-complementary
#D1B949 #49A5D1 #7549D1
monochromatic
#7F6F20 #B0992D #D1B949 #DDCC7A #EADFAB

Accessibility & contrast

On white

1.95
#D1B949 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.75
#D1B949 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1B949
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1B949#FFFFFF#000000##000000
##D1B9491.001.9510.7510.75
#FFFFFF1.951.0021.0021.00
#00000010.7521.001.001.00
##00000010.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB53B
Deuteranopia (green-blind)
#D1BD4F
Tritanopia (blue-blind)
#E1ACA1
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #d1b949;
/* rgb */ color: rgb(209, 185, 73);
/* oklch */ color: oklch(78.6% 0.133 97.1);
Tailwind
colors: {
  custom: {
    50: '#e2cd81',
    500: '#d1b949',
    950: '#000000',
  },
}
SCSS
$custom: #d1b949;
$custom-light: #e2cd81;
$custom-dark: #000000;
JSON
{
  "hex": "#d1b949",
  "rgb": {
    "r": 209,
    "g": 185,
    "b": 73
  },
  "hsl": {
    "h": 49.412,
    "s": 59.649,
    "l": 55.294
  },
  "oklch": {
    "l": 0.78555,
    "c": 0.13262,
    "h": 97.1
  },
  "luminance": 0.48734
}

Semantic roles & 50–950 ramp

primary
#D1B949
secondary
#9EA9D7
accent
#61E345
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #D1B949

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

Preview Lab → · Contrast checker → · Palette generator →

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