#D1D846#D1D846

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

Color values

HEX#D1D846
RGBrgb(209, 216, 70)
HSLhsl(63, 65%, 56%)
HSVhsv(63, 68%, 85%)
CMYKcmyk(3.2%, 0%, 67.6%, 15.3%)
CIE-LABlab(83.50, -20.05, 67.72)
CIE-LCHlch(83.50, 70.62, 106.50°)
OKLaboklab(85.09% -0.0615 0.1516)
OKLCHoklch(85.09% 0.164 112.1)
XYZxyz(51.9574, 63.1105, 15.2377)
Luminance0.6311 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1D846 #4D46D8
analogous
#D89646 #D1D846 #88D846
triadic
#D1D846 #46D1D8 #D846D1
tetradic
#D1D846 #46D896 #4D46D8 #D84688
square
#D1D846 #46D896 #4D46D8 #D84688
split-complementary
#D1D846 #4688D8 #9646D8
monochromatic
#82871C #B3BA27 #D1D846 #DEE379 #EAEDAB

Accessibility & contrast

On white

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

On black

13.62
#D1D846 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1D846
13.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1D846#FFFFFF#000000##000000
##D1D8461.001.5413.6213.62
#FFFFFF1.541.0021.0021.00
#00000013.6221.001.001.00
##00000013.6221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d1d846;
/* rgb */ color: rgb(209, 216, 70);
/* oklch */ color: oklch(85.1% 0.164 112.1);
Tailwind
colors: {
  custom: {
    50: '#e2e382',
    500: '#d1d846',
    950: '#000000',
  },
}
SCSS
$custom: #d1d846;
$custom-light: #e2e382;
$custom-dark: #000000;
JSON
{
  "hex": "#d1d846",
  "rgb": {
    "r": 209,
    "g": 216,
    "b": 70
  },
  "hsl": {
    "h": 62.877,
    "s": 65.179,
    "l": 56.078
  },
  "oklch": {
    "l": 0.85087,
    "c": 0.16355,
    "h": 112.1
  },
  "luminance": 0.63109
}

Semantic roles & 50–950 ramp

primary
#D1D846
secondary
#39358D
accent
#40E848
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D1D846

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

Preview Lab → · Contrast checker → · Palette generator →

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