#D1D047#D1D047

#D1D047 is a very light, vivid yellow. Relative luminance 0.591; OKLCH L 83.4% C 0.155 H 108.9°. Best body text is #000000 at 12.82:1 contrast (WCAG AA passes).

Color values

HEX#D1D047
RGBrgb(209, 208, 71)
HSLhsl(60, 60%, 55%)
HSVhsv(60, 66%, 82%)
CMYKcmyk(0%, 0.5%, 66%, 18%)
CIE-LABlab(81.36, -16.05, 65.17)
CIE-LCHlch(81.36, 67.12, 103.84°)
OKLaboklab(83.38% -0.0502 0.1464)
OKLCHoklch(83.38% 0.155 108.9)
XYZxyz(49.9894, 59.1235, 14.7387)
Luminance0.5912 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1D047 #4748D1
analogous
#D18B47 #D1D047 #8DD147
triadic
#D1D047 #47D1D0 #D047D1
tetradic
#D1D047 #47D18B #4748D1 #D1478D
square
#D1D047 #47D18B #4748D1 #D1478D
split-complementary
#D1D047 #478DD1 #8B47D1
monochromatic
#7E7D20 #AFAE2C #D1D047 #DDDD78 #E9E9A9

Accessibility & contrast

On white

1.64
#D1D047 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.82
#D1D047 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1D047
12.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1D047#FFFFFF#000000##000000
##D1D0471.001.6412.8212.82
#FFFFFF1.641.0021.0021.00
#00000012.8221.001.001.00
##00000012.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C833
Deuteranopia (green-blind)
#E2CC50
Tritanopia (blue-blind)
#DFC3B4
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d1d047;
/* rgb */ color: rgb(209, 208, 71);
/* oklch */ color: oklch(83.4% 0.155 108.9);
Tailwind
colors: {
  custom: {
    50: '#e2de82',
    500: '#d1d047',
    950: '#000000',
  },
}
SCSS
$custom: #d1d047;
$custom-light: #e2de82;
$custom-dark: #000000;
JSON
{
  "hex": "#d1d047",
  "rgb": {
    "r": 209,
    "g": 208,
    "b": 71
  },
  "hsl": {
    "h": 59.565,
    "s": 60,
    "l": 54.902
  },
  "oklch": {
    "l": 0.83378,
    "c": 0.15471,
    "h": 108.9
  },
  "luminance": 0.59122
}

Semantic roles & 50–950 ramp

primary
#D1D047
secondary
#373786
accent
#46E345
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D1D047

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

Preview Lab → · Contrast checker → · Palette generator →

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