#D1D648#D1D648

#D1D648 is a very light, vivid yellow. Relative luminance 0.621; OKLCH L 84.7% C 0.160 H 111.3°. Best body text is #000000 at 13.42:1 contrast (WCAG AA passes).

Color values

HEX#D1D648
RGBrgb(209, 214, 72)
HSLhsl(62, 63%, 56%)
HSVhsv(62, 66%, 84%)
CMYKcmyk(2.3%, 0%, 66.4%, 16.1%)
CIE-LABlab(82.98, -18.96, 66.43)
CIE-LCHlch(82.98, 69.08, 105.93°)
OKLaboklab(84.67% -0.0582 0.1492)
OKLCHoklch(84.67% 0.16 111.3)
XYZxyz(51.5123, 62.1176, 15.4060)
Luminance0.6212 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1D648 #4D48D6
analogous
#D69448 #D1D648 #8AD648
triadic
#D1D648 #48D1D6 #D648D1
tetradic
#D1D648 #48D694 #4D48D6 #D6488A
square
#D1D648 #48D694 #4D48D6 #D6488A
split-complementary
#D1D648 #488AD6 #9448D6
monochromatic
#82861E #B3B829 #D1D648 #DEE17A #EAECAC

Accessibility & contrast

On white

1.56
#D1D648 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.42
#D1D648 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1D648
13.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1D648#FFFFFF#000000##000000
##D1D6481.001.5613.4213.42
#FFFFFF1.561.0021.0021.00
#00000013.4221.001.001.00
##00000013.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CD33
Deuteranopia (green-blind)
#E7D052
Tritanopia (blue-blind)
#DFC9B9
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #d1d648;
/* rgb */ color: rgb(209, 214, 72);
/* oklch */ color: oklch(84.7% 0.160 111.3);
Tailwind
colors: {
  custom: {
    50: '#e2e283',
    500: '#d1d648',
    950: '#000000',
  },
}
SCSS
$custom: #d1d648;
$custom-light: #e2e283;
$custom-dark: #000000;
JSON
{
  "hex": "#d1d648",
  "rgb": {
    "r": 209,
    "g": 214,
    "b": 72
  },
  "hsl": {
    "h": 62.113,
    "s": 63.393,
    "l": 56.078
  },
  "oklch": {
    "l": 0.84671,
    "c": 0.16013,
    "h": 111.3
  },
  "luminance": 0.62116
}

Semantic roles & 50–950 ramp

primary
#D1D648
secondary
#39368C
accent
#41E647
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D1D648

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

Preview Lab → · Contrast checker → · Palette generator →

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