#D1C847#D1C847

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

Color values

HEX#D1C847
RGBrgb(209, 200, 71)
HSLhsl(56, 60%, 55%)
HSVhsv(56, 66%, 82%)
CMYKcmyk(0%, 4.3%, 66%, 18%)
CIE-LABlab(79.23, -12.04, 62.99)
CIE-LCHlch(79.23, 64.13, 100.82°)
OKLaboklab(81.68% -0.0388 0.1417)
OKLCHoklch(81.68% 0.147 105.3)
XYZxyz(48.0879, 55.3205, 14.1049)
Luminance0.5532 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1C847 #4750D1
analogous
#D18347 #D1C847 #95D147
triadic
#D1C847 #47D1C8 #C847D1
tetradic
#D1C847 #47D183 #4750D1 #D14795
square
#D1C847 #47D183 #4750D1 #D14795
split-complementary
#D1C847 #4795D1 #8347D1
monochromatic
#7E7820 #AFA62C #D1C847 #DDD778 #E9E5A9

Accessibility & contrast

On white

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

On black

12.06
#D1C847 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1C847
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1C847#FFFFFF#000000##000000
##D1C8471.001.7412.0612.06
#FFFFFF1.741.0021.0021.00
#00000012.0621.001.001.00
##00000012.0621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d1c847;
/* rgb */ color: rgb(209, 200, 71);
/* oklch */ color: oklch(81.7% 0.147 105.3);
Tailwind
colors: {
  custom: {
    50: '#e2d881',
    500: '#d1c847',
    950: '#000000',
  },
}
SCSS
$custom: #d1c847;
$custom-light: #e2d881;
$custom-dark: #000000;
JSON
{
  "hex": "#d1c847",
  "rgb": {
    "r": 209,
    "g": 200,
    "b": 71
  },
  "hsl": {
    "h": 56.087,
    "s": 60,
    "l": 54.902
  },
  "oklch": {
    "l": 0.81677,
    "c": 0.14697,
    "h": 105.3
  },
  "luminance": 0.55319
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D1C847

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

Preview Lab → · Contrast checker → · Palette generator →

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