#D1DB40#D1DB40

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

Color values

HEX#D1DB40
RGBrgb(209, 219, 64)
HSLhsl(64, 68%, 55%)
HSVhsv(64, 71%, 86%)
CMYKcmyk(4.6%, 0%, 70.8%, 14.1%)
CIE-LABlab(84.27, -21.82, 70.64)
CIE-LCHlch(84.27, 73.93, 107.17°)
OKLaboklab(85.69% -0.067 0.1567)
OKLCHoklch(85.69% 0.17 113.1)
XYZxyz(52.5530, 64.5896, 14.5482)
Luminance0.6459 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1DB40 #4A40DB
analogous
#DB9740 #D1DB40 #83DB40
triadic
#D1DB40 #40D1DB #DB40D1
tetradic
#D1DB40 #40DB97 #4A40DB #DB4083
square
#D1DB40 #40DB97 #4A40DB #DB4083
split-complementary
#D1DB40 #4083DB #9740DB
monochromatic
#808719 #B1BB23 #D1DB40 #DDE573 #EAEEA7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D1DB40#FFFFFF#000000##000000
##D1DB401.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)
#EBD124
Deuteranopia (green-blind)
#EBD44C
Tritanopia (blue-blind)
#DFCEBD
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #d1db40;
/* rgb */ color: rgb(209, 219, 64);
/* oklch */ color: oklch(85.7% 0.170 113.1);
Tailwind
colors: {
  custom: {
    50: '#e3e67f',
    500: '#d1db40',
    950: '#000000',
  },
}
SCSS
$custom: #d1db40;
$custom-light: #e3e67f;
$custom-dark: #000000;
JSON
{
  "hex": "#d1db40",
  "rgb": {
    "r": 209,
    "g": 219,
    "b": 64
  },
  "hsl": {
    "h": 63.871,
    "s": 68.282,
    "l": 55.49
  },
  "oklch": {
    "l": 0.85692,
    "c": 0.17044,
    "h": 113.1
  },
  "luminance": 0.64589
}

Semantic roles & 50–950 ramp

primary
#D1DB40
secondary
#38328D
accent
#3DEB48
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D1DB40

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

Preview Lab → · Contrast checker → · Palette generator →

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