#D1DB5A#D1DB5A

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

Color values

HEX#D1DB5A
RGBrgb(209, 219, 90)
HSLhsl(65, 64%, 61%)
HSVhsv(65, 59%, 86%)
CMYKcmyk(4.6%, 0%, 58.9%, 14.1%)
CIE-LABlab(84.46, -20.26, 60.68)
CIE-LCHlch(84.46, 63.98, 108.46°)
OKLaboklab(85.91% -0.0601 0.1396)
OKLCHoklch(85.91% 0.152 113.3)
XYZxyz(53.4727, 64.9575, 19.3921)
Luminance0.6496 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1DB5A #645ADB
analogous
#DBA45A #D1DB5A #90DB5A
triadic
#D1DB5A #5AD1DB #DB5AD1
tetradic
#D1DB5A #5ADBA4 #645ADB #DB5A90
square
#D1DB5A #5ADBA4 #645ADB #DB5A90
split-complementary
#D1DB5A #5A90DB #A45ADB
monochromatic
#909921 #BFCB2C #D1DB5A #DFE68C #EDF1BE

Accessibility & contrast

On white

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

On black

13.99
#D1DB5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1DB5A
13.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1DB5A#FFFFFF#000000##000000
##D1DB5A1.001.5013.9913.99
#FFFFFF1.501.0021.0021.00
#00000013.9921.001.001.00
##00000013.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD14B
Deuteranopia (green-blind)
#EAD462
Tritanopia (blue-blind)
#DECFBF
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #d1db5a;
/* rgb */ color: rgb(209, 219, 90);
/* oklch */ color: oklch(85.9% 0.152 113.3);
Tailwind
colors: {
  custom: {
    50: '#e2e68e',
    500: '#d1db5a',
    950: '#000000',
  },
}
SCSS
$custom: #d1db5a;
$custom-light: #e2e68e;
$custom-dark: #000000;
JSON
{
  "hex": "#d1db5a",
  "rgb": {
    "r": 209,
    "g": 219,
    "b": 90
  },
  "hsl": {
    "h": 64.651,
    "s": 64.179,
    "l": 60.588
  },
  "oklch": {
    "l": 0.85905,
    "c": 0.15194,
    "h": 113.3
  },
  "luminance": 0.64957
}

Semantic roles & 50–950 ramp

primary
#D1DB5A
secondary
#433C9D
accent
#1ACC27
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D1DB5A

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

Preview Lab → · Contrast checker → · Palette generator →

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