#D1D843#D1D843

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

Color values

HEX#D1D843
RGBrgb(209, 216, 67)
HSLhsl(63, 66%, 55%)
HSVhsv(63, 69%, 85%)
CMYKcmyk(3.2%, 0%, 69%, 15.3%)
CIE-LABlab(83.48, -20.21, 68.80)
CIE-LCHlch(83.48, 71.71, 106.37°)
OKLaboklab(85.07% -0.0622 0.1533)
OKLCHoklch(85.07% 0.166 112.1)
XYZxyz(51.8651, 63.0735, 14.7514)
Luminance0.6307 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1D843 #4A43D8
analogous
#D89543 #D1D843 #86D843
triadic
#D1D843 #43D1D8 #D843D1
tetradic
#D1D843 #43D895 #4A43D8 #D84386
square
#D1D843 #43D895 #4A43D8 #D84386
split-complementary
#D1D843 #4386D8 #9543D8
monochromatic
#80851C #B1B826 #D1D843 #DDE376 #EAEDA8

Accessibility & contrast

On white

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

On black

13.61
#D1D843 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1D843
13.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1D843#FFFFFF#000000##000000
##D1D8431.001.5413.6113.61
#FFFFFF1.541.0021.0021.00
#00000013.6121.001.001.00
##00000013.6121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d1d843;
/* rgb */ color: rgb(209, 216, 67);
/* oklch */ color: oklch(85.1% 0.166 112.1);
Tailwind
colors: {
  custom: {
    50: '#e3e380',
    500: '#d1d843',
    950: '#000000',
  },
}
SCSS
$custom: #d1d843;
$custom-light: #e3e380;
$custom-dark: #000000;
JSON
{
  "hex": "#d1d843",
  "rgb": {
    "r": 209,
    "g": 216,
    "b": 67
  },
  "hsl": {
    "h": 62.819,
    "s": 65.639,
    "l": 55.49
  },
  "oklch": {
    "l": 0.85065,
    "c": 0.1655,
    "h": 112.1
  },
  "luminance": 0.63072
}

Semantic roles & 50–950 ramp

primary
#D1D843
secondary
#38348C
accent
#3FE947
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D1D843

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

Preview Lab → · Contrast checker → · Palette generator →

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