#D1D048#D1D048

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

Color values

HEX#D1D048
RGBrgb(209, 208, 72)
HSLhsl(60, 60%, 55%)
HSVhsv(60, 66%, 82%)
CMYKcmyk(0%, 0.5%, 65.6%, 18%)
CIE-LABlab(81.37, -16.00, 64.79)
CIE-LCHlch(81.37, 66.73, 103.87°)
OKLaboklab(83.39% -0.0499 0.1457)
OKLCHoklch(83.39% 0.154 108.9)
XYZxyz(50.0218, 59.1364, 14.9091)
Luminance0.5914 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1D048 #4849D1
analogous
#D18B48 #D1D048 #8DD148
triadic
#D1D048 #48D1D0 #D048D1
tetradic
#D1D048 #48D18B #4849D1 #D1488D
square
#D1D048 #48D18B #4849D1 #D1488D
split-complementary
#D1D048 #488DD1 #8B48D1
monochromatic
#7F7E20 #B0AF2C #D1D048 #DDDD79 #EAE9AA

Accessibility & contrast

On white

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

On black

12.83
#D1D048 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1D048
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1D048#FFFFFF#000000##000000
##D1D0481.001.6412.8312.83
#FFFFFF1.641.0021.0021.00
#00000012.8321.001.001.00
##00000012.8321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d1d048;
/* rgb */ color: rgb(209, 208, 72);
/* oklch */ color: oklch(83.4% 0.154 108.9);
Tailwind
colors: {
  custom: {
    50: '#e2de82',
    500: '#d1d048',
    950: '#000000',
  },
}
SCSS
$custom: #d1d048;
$custom-light: #e2de82;
$custom-dark: #000000;
JSON
{
  "hex": "#d1d048",
  "rgb": {
    "r": 209,
    "g": 208,
    "b": 72
  },
  "hsl": {
    "h": 59.562,
    "s": 59.825,
    "l": 55.098
  },
  "oklch": {
    "l": 0.83386,
    "c": 0.15401,
    "h": 108.9
  },
  "luminance": 0.59135
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D1D048

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

Preview Lab → · Contrast checker → · Palette generator →

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