#D1DB5F#D1DB5F

#D1DB5F is a very light, vivid yellow. Relative luminance 0.650; OKLCH L 86.0% C 0.148 H 113.3°. Best body text is #000000 at 14.01:1 contrast (WCAG AA passes).

Color values

HEX#D1DB5F
RGBrgb(209, 219, 95)
HSLhsl(65, 63%, 62%)
HSVhsv(65, 57%, 86%)
CMYKcmyk(4.6%, 0%, 56.6%, 14.1%)
CIE-LABlab(84.51, -19.89, 58.56)
CIE-LCHlch(84.51, 61.85, 108.76°)
OKLaboklab(85.96% -0.0585 0.1357)
OKLCHoklch(85.96% 0.148 113.3)
XYZxyz(53.6928, 65.0455, 20.5508)
Luminance0.6504 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1DB5F #695FDB
analogous
#DBA75F #D1DB5F #93DB5F
triadic
#D1DB5F #5FD1DB #DB5FD1
tetradic
#D1DB5F #5FDBA7 #695FDB #DB5F93
square
#D1DB5F #5FDBA7 #695FDB #DB5F93
split-complementary
#D1DB5F #5F93DB #A75FDB
monochromatic
#939C23 #C1CE2E #D1DB5F #DFE691 #EEF1C3

Accessibility & contrast

On white

1.50
#D1DB5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.01
#D1DB5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1DB5F
14.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1DB5F#FFFFFF#000000##000000
##D1DB5F1.001.5014.0114.01
#FFFFFF1.501.0021.0021.00
#00000014.0121.001.001.00
##00000014.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD252
Deuteranopia (green-blind)
#E9D466
Tritanopia (blue-blind)
#DDCFC0
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #d1db5f;
/* rgb */ color: rgb(209, 219, 95);
/* oklch */ color: oklch(86.0% 0.148 113.3);
Tailwind
colors: {
  custom: {
    50: '#e2e691',
    500: '#d1db5f',
    950: '#000000',
  },
}
SCSS
$custom: #d1db5f;
$custom-light: #e2e691;
$custom-dark: #000000;
JSON
{
  "hex": "#d1db5f",
  "rgb": {
    "r": 209,
    "g": 219,
    "b": 95
  },
  "hsl": {
    "h": 64.839,
    "s": 63.265,
    "l": 61.569
  },
  "oklch": {
    "l": 0.85956,
    "c": 0.14774,
    "h": 113.3
  },
  "luminance": 0.65045
}

Semantic roles & 50–950 ramp

primary
#D1DB5F
secondary
#463EA0
accent
#1ACB29
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D1DB5F

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

Preview Lab → · Contrast checker → · Palette generator →

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