#D1C849#D1C849

#D1C849 is a light, vivid yellow. Relative luminance 0.553; OKLCH L 81.7% C 0.146 H 105.3°. Best body text is #000000 at 12.07:1 contrast (WCAG AA passes).

Color values

HEX#D1C849
RGBrgb(209, 200, 73)
HSLhsl(56, 60%, 55%)
HSVhsv(56, 65%, 82%)
CMYKcmyk(0%, 4.3%, 65.1%, 18%)
CIE-LABlab(79.24, -11.92, 62.20)
CIE-LCHlch(79.24, 63.33, 100.85°)
OKLaboklab(81.69% -0.0383 0.1404)
OKLCHoklch(81.69% 0.146 105.3)
XYZxyz(48.1532, 55.3466, 14.4485)
Luminance0.5534 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1C849 #4952D1
analogous
#D18449 #D1C849 #96D149
triadic
#D1C849 #49D1C8 #C849D1
tetradic
#D1C849 #49D184 #4952D1 #D14996
square
#D1C849 #49D184 #4952D1 #D14996
split-complementary
#D1C849 #4996D1 #8449D1
monochromatic
#7F7920 #B0A82D #D1C849 #DDD77A #EAE6AB

Accessibility & contrast

On white

1.74
#D1C849 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.07
#D1C849 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1C849
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1C849#FFFFFF#000000##000000
##D1C8491.001.7412.0712.07
#FFFFFF1.741.0021.0021.00
#00000012.0721.001.001.00
##00000012.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C138
Deuteranopia (green-blind)
#DCC751
Tritanopia (blue-blind)
#E0BBAE
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #d1c849;
/* rgb */ color: rgb(209, 200, 73);
/* oklch */ color: oklch(81.7% 0.146 105.3);
Tailwind
colors: {
  custom: {
    50: '#e2d882',
    500: '#d1c849',
    950: '#000000',
  },
}
SCSS
$custom: #d1c849;
$custom-light: #e2d882;
$custom-dark: #000000;
JSON
{
  "hex": "#d1c849",
  "rgb": {
    "r": 209,
    "g": 200,
    "b": 73
  },
  "hsl": {
    "h": 56.029,
    "s": 59.649,
    "l": 55.294
  },
  "oklch": {
    "l": 0.81694,
    "c": 0.14552,
    "h": 105.3
  },
  "luminance": 0.55345
}

Semantic roles & 50–950 ramp

primary
#D1C849
secondary
#373D87
accent
#4FE345
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D1C849

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

Preview Lab → · Contrast checker → · Palette generator →

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