#D1D342#D1D342

#D1D342 is a very light, vivid yellow. Relative luminance 0.605; OKLCH L 84.0% C 0.161 H 110.2°. Best body text is #000000 at 13.11:1 contrast (WCAG AA passes).

Color values

HEX#D1D342
RGBrgb(209, 211, 66)
HSLhsl(61, 62%, 54%)
HSVhsv(61, 69%, 83%)
CMYKcmyk(0.9%, 0%, 68.7%, 17.3%)
CIE-LABlab(82.13, -17.81, 67.83)
CIE-LCHlch(82.13, 70.13, 104.71°)
OKLaboklab(83.98% -0.0556 0.1511)
OKLCHoklch(83.98% 0.161 110.2)
XYZxyz(50.5738, 60.5386, 14.1742)
Luminance0.6054 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1D342 #4442D3
analogous
#D38D42 #D1D342 #88D342
triadic
#D1D342 #42D1D3 #D342D1
tetradic
#D1D342 #42D38D #4442D3 #D34288
square
#D1D342 #42D38D #4442D3 #D34288
split-complementary
#D1D342 #4288D3 #8D42D3
monochromatic
#7C7D1D #ADAF29 #D1D342 #DDDF74 #E9EAA5

Accessibility & contrast

On white

1.60
#D1D342 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.11
#D1D342 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1D342
13.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1D342#FFFFFF#000000##000000
##D1D3421.001.6013.1113.11
#FFFFFF1.601.0021.0021.00
#00000013.1121.001.001.00
##00000013.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CA2A
Deuteranopia (green-blind)
#E5CE4C
Tritanopia (blue-blind)
#DFC6B6
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #d1d342;
/* rgb */ color: rgb(209, 211, 66);
/* oklch */ color: oklch(84.0% 0.161 110.2);
Tailwind
colors: {
  custom: {
    50: '#e3e07f',
    500: '#d1d342',
    950: '#000000',
  },
}
SCSS
$custom: #d1d342;
$custom-light: #e3e07f;
$custom-dark: #000000;
JSON
{
  "hex": "#d1d342",
  "rgb": {
    "r": 209,
    "g": 211,
    "b": 66
  },
  "hsl": {
    "h": 60.828,
    "s": 62.232,
    "l": 54.314
  },
  "oklch": {
    "l": 0.83983,
    "c": 0.16103,
    "h": 110.2
  },
  "luminance": 0.60537
}

Semantic roles & 50–950 ramp

primary
#D1D342
secondary
#353485
accent
#42E545
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D1D342

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

Preview Lab → · Contrast checker → · Palette generator →

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