#D1C841#D1C841

#D1C841 is a light, vivid yellow. Relative luminance 0.552; OKLCH L 81.6% C 0.151 H 105.5°. Best body text is #000000 at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#D1C841
RGBrgb(209, 200, 65)
HSLhsl(56, 61%, 54%)
HSVhsv(56, 69%, 82%)
CMYKcmyk(0%, 4.3%, 68.9%, 18%)
CIE-LABlab(79.18, -12.36, 65.27)
CIE-LCHlch(79.18, 66.43, 100.73°)
OKLaboklab(81.63% -0.0404 0.1456)
OKLCHoklch(81.63% 0.151 105.5)
XYZxyz(47.9048, 55.2473, 13.1404)
Luminance0.5525 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1C841 #414AD1
analogous
#D18041 #D1C841 #92D141
triadic
#D1C841 #41D1C8 #C841D1
tetradic
#D1C841 #41D180 #414AD1 #D14192
square
#D1C841 #41D180 #414AD1 #D14192
split-complementary
#D1C841 #4192D1 #8041D1
monochromatic
#7A741E #ABA329 #D1C841 #DDD672 #E9E5A4

Accessibility & contrast

On white

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

On black

12.05
#D1C841 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1C841
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1C841#FFFFFF#000000##000000
##D1C8411.001.7412.0512.05
#FFFFFF1.741.0021.0021.00
#00000012.0521.001.001.00
##00000012.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C12C
Deuteranopia (green-blind)
#DCC74A
Tritanopia (blue-blind)
#E0BBAD
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #d1c841;
/* rgb */ color: rgb(209, 200, 65);
/* oklch */ color: oklch(81.6% 0.151 105.5);
Tailwind
colors: {
  custom: {
    50: '#e3d87e',
    500: '#d1c841',
    950: '#000000',
  },
}
SCSS
$custom: #d1c841;
$custom-light: #e3d87e;
$custom-dark: #000000;
JSON
{
  "hex": "#d1c841",
  "rgb": {
    "r": 209,
    "g": 200,
    "b": 65
  },
  "hsl": {
    "h": 56.25,
    "s": 61.017,
    "l": 53.725
  },
  "oklch": {
    "l": 0.8163,
    "c": 0.15108,
    "h": 105.5
  },
  "luminance": 0.55246
}

Semantic roles & 50–950 ramp

primary
#D1C841
secondary
#343982
accent
#4EE444
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #D1C841

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

Preview Lab → · Contrast checker → · Palette generator →

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