#D1D848#D1D848

#D1D848 is a very light, vivid yellow. Relative luminance 0.631; OKLCH L 85.1% C 0.162 H 112.1°. Best body text is #000000 at 13.63:1 contrast (WCAG AA passes).

Color values

HEX#D1D848
RGBrgb(209, 216, 72)
HSLhsl(63, 65%, 56%)
HSVhsv(63, 67%, 85%)
CMYKcmyk(3.2%, 0%, 66.7%, 15.3%)
CIE-LABlab(83.51, -19.94, 66.98)
CIE-LCHlch(83.51, 69.88, 106.58°)
OKLaboklab(85.1% -0.061 0.1503)
OKLCHoklch(85.1% 0.162 112.1)
XYZxyz(52.0216, 63.1361, 15.5757)
Luminance0.6313 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1D848 #4F48D8
analogous
#D89748 #D1D848 #89D848
triadic
#D1D848 #48D1D8 #D848D1
tetradic
#D1D848 #48D897 #4F48D8 #D84889
square
#D1D848 #48D897 #4F48D8 #D84889
split-complementary
#D1D848 #4889D8 #9748D8
monochromatic
#83891D #B4BB28 #D1D848 #DEE37A #EAEEAD

Accessibility & contrast

On white

1.54
#D1D848 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.63
#D1D848 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1D848
13.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1D848#FFFFFF#000000##000000
##D1D8481.001.5413.6313.63
#FFFFFF1.541.0021.0021.00
#00000013.6321.001.001.00
##00000013.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8CE33
Deuteranopia (green-blind)
#E8D252
Tritanopia (blue-blind)
#DFCBBB
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #d1d848;
/* rgb */ color: rgb(209, 216, 72);
/* oklch */ color: oklch(85.1% 0.162 112.1);
Tailwind
colors: {
  custom: {
    50: '#e2e383',
    500: '#d1d848',
    950: '#000000',
  },
}
SCSS
$custom: #d1d848;
$custom-light: #e2e383;
$custom-dark: #000000;
JSON
{
  "hex": "#d1d848",
  "rgb": {
    "r": 209,
    "g": 216,
    "b": 72
  },
  "hsl": {
    "h": 62.917,
    "s": 64.865,
    "l": 56.471
  },
  "oklch": {
    "l": 0.85102,
    "c": 0.16222,
    "h": 112.1
  },
  "luminance": 0.63135
}

Semantic roles & 50–950 ramp

primary
#D1D848
secondary
#3A368F
accent
#40E848
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D1D848

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

Preview Lab → · Contrast checker → · Palette generator →

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