#D1DB42#D1DB42

#D1DB42 is a very light, vivid yellow. Relative luminance 0.646; OKLCH L 85.7% C 0.169 H 113.2°. Best body text is #000000 at 13.92:1 contrast (WCAG AA passes).

Color values

HEX#D1DB42
RGBrgb(209, 219, 66)
HSLhsl(64, 68%, 56%)
HSVhsv(64, 70%, 86%)
CMYKcmyk(4.6%, 0%, 69.9%, 14.1%)
CIE-LABlab(84.28, -21.72, 69.95)
CIE-LCHlch(84.28, 73.24, 107.25°)
OKLaboklab(85.71% -0.0665 0.1556)
OKLCHoklch(85.71% 0.169 113.2)
XYZxyz(52.6109, 64.6128, 14.8533)
Luminance0.6461 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1DB42 #4C42DB
analogous
#DB9942 #D1DB42 #84DB42
triadic
#D1DB42 #42D1DB #DB42D1
tetradic
#D1DB42 #42DB99 #4C42DB #DB4284
square
#D1DB42 #42DB99 #4C42DB #DB4284
split-complementary
#D1DB42 #4284DB #9942DB
monochromatic
#81891A #B2BC24 #D1DB42 #DEE575 #EAEFA9

Accessibility & contrast

On white

1.51
#D1DB42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.92
#D1DB42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1DB42
13.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1DB42#FFFFFF#000000##000000
##D1DB421.001.5113.9213.92
#FFFFFF1.511.0021.0021.00
#00000013.9221.001.001.00
##00000013.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD128
Deuteranopia (green-blind)
#EBD44E
Tritanopia (blue-blind)
#DFCEBD
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #d1db42;
/* rgb */ color: rgb(209, 219, 66);
/* oklch */ color: oklch(85.7% 0.169 113.2);
Tailwind
colors: {
  custom: {
    50: '#e3e680',
    500: '#d1db42',
    950: '#000000',
  },
}
SCSS
$custom: #d1db42;
$custom-light: #e3e680;
$custom-dark: #000000;
JSON
{
  "hex": "#d1db42",
  "rgb": {
    "r": 209,
    "g": 219,
    "b": 66
  },
  "hsl": {
    "h": 63.922,
    "s": 68,
    "l": 55.882
  },
  "oklch": {
    "l": 0.85706,
    "c": 0.16923,
    "h": 113.2
  },
  "luminance": 0.64612
}

Semantic roles & 50–950 ramp

primary
#D1DB42
secondary
#39338F
accent
#3DEB48
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D1DB42

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

Preview Lab → · Contrast checker → · Palette generator →

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