#D1C949#D1C949

#D1C949 is a light, vivid yellow. Relative luminance 0.558; OKLCH L 81.9% C 0.146 H 105.7°. Best body text is #000000 at 12.16:1 contrast (WCAG AA passes).

Color values

HEX#D1C949
RGBrgb(209, 201, 73)
HSLhsl(56, 60%, 55%)
HSVhsv(56, 65%, 82%)
CMYKcmyk(0%, 3.8%, 65.1%, 18%)
CIE-LABlab(79.51, -12.43, 62.47)
CIE-LCHlch(79.51, 63.70, 101.25°)
OKLaboklab(81.91% -0.0397 0.141)
OKLCHoklch(81.91% 0.146 105.7)
XYZxyz(48.3855, 55.8113, 14.5260)
Luminance0.5581 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1C949 #4951D1
analogous
#D18549 #D1C949 #95D149
triadic
#D1C949 #49D1C9 #C949D1
tetradic
#D1C949 #49D185 #4951D1 #D14995
square
#D1C949 #49D185 #4951D1 #D14995
split-complementary
#D1C949 #4995D1 #8549D1
monochromatic
#7F7A20 #B0A92D #D1C949 #DDD77A #EAE6AB

Accessibility & contrast

On white

1.73
#D1C949 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.16
#D1C949 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1C949
12.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1C949#FFFFFF#000000##000000
##D1C9491.001.7312.1612.16
#FFFFFF1.731.0021.0021.00
#00000012.1621.001.001.00
##00000012.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC238
Deuteranopia (green-blind)
#DDC851
Tritanopia (blue-blind)
#E0BCAF
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #d1c949;
/* rgb */ color: rgb(209, 201, 73);
/* oklch */ color: oklch(81.9% 0.146 105.7);
Tailwind
colors: {
  custom: {
    50: '#e2d982',
    500: '#d1c949',
    950: '#000000',
  },
}
SCSS
$custom: #d1c949;
$custom-light: #e2d982;
$custom-dark: #000000;
JSON
{
  "hex": "#d1c949",
  "rgb": {
    "r": 209,
    "g": 201,
    "b": 73
  },
  "hsl": {
    "h": 56.471,
    "s": 59.649,
    "l": 55.294
  },
  "oklch": {
    "l": 0.81905,
    "c": 0.14646,
    "h": 105.7
  },
  "luminance": 0.5581
}

Semantic roles & 50–950 ramp

primary
#D1C949
secondary
#373C87
accent
#4EE345
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D1C949

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

Preview Lab → · Contrast checker → · Palette generator →

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