#D1DB4A#D1DB4A

#D1DB4A is a very light, vivid yellow. Relative luminance 0.647; OKLCH L 85.8% C 0.164 H 113.2°. Best body text is #000000 at 13.94:1 contrast (WCAG AA passes).

Color values

HEX#D1DB4A
RGBrgb(209, 219, 74)
HSLhsl(64, 67%, 57%)
HSVhsv(64, 66%, 86%)
CMYKcmyk(4.6%, 0%, 66.2%, 14.1%)
CIE-LABlab(84.34, -21.29, 67.05)
CIE-LCHlch(84.34, 70.35, 107.62°)
OKLaboklab(85.76% -0.0646 0.1508)
OKLCHoklch(85.76% 0.164 113.2)
XYZxyz(52.8635, 64.7138, 16.1835)
Luminance0.6471 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1DB4A #544ADB
analogous
#DB9D4A #D1DB4A #88DB4A
triadic
#D1DB4A #4AD1DB #DB4AD1
tetradic
#D1DB4A #4ADB9D #544ADB #DB4A88
square
#D1DB4A #4ADB9D #544ADB #DB4A88
split-complementary
#D1DB4A #4A88DB #9D4ADB
monochromatic
#868E1C #B7C126 #D1DB4A #DEE57D #EBEFB0

Accessibility & contrast

On white

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

On black

13.94
#D1DB4A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1DB4A
13.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1DB4A#FFFFFF#000000##000000
##D1DB4A1.001.5113.9413.94
#FFFFFF1.511.0021.0021.00
#00000013.9421.001.001.00
##00000013.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD135
Deuteranopia (green-blind)
#EBD454
Tritanopia (blue-blind)
#DECEBE
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #d1db4a;
/* rgb */ color: rgb(209, 219, 74);
/* oklch */ color: oklch(85.8% 0.164 113.2);
Tailwind
colors: {
  custom: {
    50: '#e2e684',
    500: '#d1db4a',
    950: '#000000',
  },
}
SCSS
$custom: #d1db4a;
$custom-light: #e2e684;
$custom-dark: #000000;
JSON
{
  "hex": "#d1db4a",
  "rgb": {
    "r": 209,
    "g": 219,
    "b": 74
  },
  "hsl": {
    "h": 64.138,
    "s": 66.82,
    "l": 57.451
  },
  "oklch": {
    "l": 0.85764,
    "c": 0.16403,
    "h": 113.2
  },
  "luminance": 0.64713
}

Semantic roles & 50–950 ramp

primary
#D1DB4A
secondary
#3C3694
accent
#3EEA4A
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D1DB4A

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

Preview Lab → · Contrast checker → · Palette generator →

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