#D1D142#D1D142

#D1D142 is a very light, vivid yellow. Relative luminance 0.596; OKLCH L 83.6% C 0.159 H 109.4°. Best body text is #000000 at 12.91:1 contrast (WCAG AA passes).

Color values

HEX#D1D142
RGBrgb(209, 209, 66)
HSLhsl(60, 61%, 54%)
HSVhsv(60, 68%, 82%)
CMYKcmyk(0%, 0%, 68.4%, 18%)
CIE-LABlab(81.59, -16.82, 67.30)
CIE-LCHlch(81.59, 69.37, 104.03°)
OKLaboklab(83.55% -0.0528 0.15)
OKLCHoklch(83.55% 0.159 109.4)
XYZxyz(50.0801, 59.5510, 14.0097)
Luminance0.5955 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1D142 #4242D1
analogous
#D18A42 #D1D142 #8AD142
triadic
#D1D142 #42D1D1 #D142D1
tetradic
#D1D142 #42D18A #4242D1 #D1428A
square
#D1D142 #42D18A #4242D1 #D1428A
split-complementary
#D1D142 #428AD1 #8A42D1
monochromatic
#7B7B1E #ACAC2A #D1D142 #DDDD73 #E9E9A4

Accessibility & contrast

On white

1.63
#D1D142 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.91
#D1D142 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1D142
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1D142#FFFFFF#000000##000000
##D1D1421.001.6312.9112.91
#FFFFFF1.631.0021.0021.00
#00000012.9121.001.001.00
##00000012.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2C82B
Deuteranopia (green-blind)
#E3CD4C
Tritanopia (blue-blind)
#E0C4B5
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d1d142;
/* rgb */ color: rgb(209, 209, 66);
/* oklch */ color: oklch(83.6% 0.159 109.4);
Tailwind
colors: {
  custom: {
    50: '#e3de7f',
    500: '#d1d142',
    950: '#000000',
  },
}
SCSS
$custom: #d1d142;
$custom-light: #e3de7f;
$custom-dark: #000000;
JSON
{
  "hex": "#d1d142",
  "rgb": {
    "r": 209,
    "g": 209,
    "b": 66
  },
  "hsl": {
    "h": 60,
    "s": 60.851,
    "l": 53.922
  },
  "oklch": {
    "l": 0.83554,
    "c": 0.15904,
    "h": 109.4
  },
  "luminance": 0.5955
}

Semantic roles & 50–950 ramp

primary
#D1D142
secondary
#353583
accent
#44E444
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D1D142

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

Preview Lab → · Contrast checker → · Palette generator →

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