#D1D748#D1D748

#D1D748 is a very light, vivid yellow. Relative luminance 0.626; OKLCH L 84.9% C 0.161 H 111.7°. Best body text is #000000 at 13.52:1 contrast (WCAG AA passes).

Color values

HEX#D1D748
RGBrgb(209, 215, 72)
HSLhsl(63, 64%, 56%)
HSVhsv(63, 67%, 84%)
CMYKcmyk(2.8%, 0%, 66.5%, 15.7%)
CIE-LABlab(83.24, -19.45, 66.70)
CIE-LCHlch(83.24, 69.48, 106.26°)
OKLaboklab(84.89% -0.0596 0.1497)
OKLCHoklch(84.89% 0.161 111.7)
XYZxyz(51.7662, 62.6253, 15.4906)
Luminance0.6262 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1D748 #4E48D7
analogous
#D79648 #D1D748 #8AD748
triadic
#D1D748 #48D1D7 #D748D1
tetradic
#D1D748 #48D796 #4E48D7 #D7488A
square
#D1D748 #48D796 #4E48D7 #D7488A
split-complementary
#D1D748 #488AD7 #9648D7
monochromatic
#83871E #B3B929 #D1D748 #DEE27A #EAEDAC

Accessibility & contrast

On white

1.55
#D1D748 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.52
#D1D748 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1D748
13.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1D748#FFFFFF#000000##000000
##D1D7481.001.5513.5213.52
#FFFFFF1.551.0021.0021.00
#00000013.5221.001.001.00
##00000013.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CD33
Deuteranopia (green-blind)
#E8D152
Tritanopia (blue-blind)
#DFCABA
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #d1d748;
/* rgb */ color: rgb(209, 215, 72);
/* oklch */ color: oklch(84.9% 0.161 111.7);
Tailwind
colors: {
  custom: {
    50: '#e2e383',
    500: '#d1d748',
    950: '#000000',
  },
}
SCSS
$custom: #d1d748;
$custom-light: #e2e383;
$custom-dark: #000000;
JSON
{
  "hex": "#d1d748",
  "rgb": {
    "r": 209,
    "g": 215,
    "b": 72
  },
  "hsl": {
    "h": 62.517,
    "s": 64.126,
    "l": 56.275
  },
  "oklch": {
    "l": 0.84886,
    "c": 0.16118,
    "h": 111.7
  },
  "luminance": 0.62624
}

Semantic roles & 50–950 ramp

primary
#D1D748
secondary
#39368D
accent
#41E748
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D1D748

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

Preview Lab → · Contrast checker → · Palette generator →

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