#D1DB54#D1DB54

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

Color values

HEX#D1DB54
RGBrgb(209, 219, 84)
HSLhsl(64, 65%, 59%)
HSVhsv(64, 62%, 86%)
CMYKcmyk(4.6%, 0%, 61.6%, 14.1%)
CIE-LABlab(84.41, -20.68, 63.15)
CIE-LCHlch(84.41, 66.45, 108.13°)
OKLaboklab(85.85% -0.0618 0.144)
OKLCHoklch(85.85% 0.157 113.2)
XYZxyz(53.2276, 64.8595, 18.1010)
Luminance0.6486 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1DB54 #5E54DB
analogous
#DBA154 #D1DB54 #8EDB54
triadic
#D1DB54 #54D1DB #DB54D1
tetradic
#D1DB54 #54DBA1 #5E54DB #DB548E
square
#D1DB54 #54DBA1 #5E54DB #DB548E
split-complementary
#D1DB54 #548EDB #A154DB
monochromatic
#8C951F #BCC82A #D1DB54 #DFE687 #ECF0B9

Accessibility & contrast

On white

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

On black

13.97
#D1DB54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1DB54
13.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1DB54#FFFFFF#000000##000000
##D1DB541.001.5013.9713.97
#FFFFFF1.501.0021.0021.00
#00000013.9721.001.001.00
##00000013.9721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d1db54;
/* rgb */ color: rgb(209, 219, 84);
/* oklch */ color: oklch(85.8% 0.157 113.2);
Tailwind
colors: {
  custom: {
    50: '#e2e68a',
    500: '#d1db54',
    950: '#000000',
  },
}
SCSS
$custom: #d1db54;
$custom-light: #e2e68a;
$custom-dark: #000000;
JSON
{
  "hex": "#d1db54",
  "rgb": {
    "r": 209,
    "g": 219,
    "b": 84
  },
  "hsl": {
    "h": 64.444,
    "s": 65.217,
    "l": 59.412
  },
  "oklch": {
    "l": 0.85848,
    "c": 0.15673,
    "h": 113.2
  },
  "luminance": 0.64858
}

Semantic roles & 50–950 ramp

primary
#D1DB54
secondary
#41399A
accent
#40E84C
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D1DB54

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

Preview Lab → · Contrast checker → · Palette generator →

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