#D1DB51#D1DB51

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

Color values

HEX#D1DB51
RGBrgb(209, 219, 81)
HSLhsl(64, 66%, 59%)
HSVhsv(64, 63%, 86%)
CMYKcmyk(4.6%, 0%, 63%, 14.1%)
CIE-LABlab(84.39, -20.87, 64.35)
CIE-LCHlch(84.39, 67.65, 107.97°)
OKLaboklab(85.82% -0.0627 0.1461)
OKLCHoklch(85.82% 0.159 113.2)
XYZxyz(53.1126, 64.8135, 17.4954)
Luminance0.6481 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1DB51 #5B51DB
analogous
#DBA051 #D1DB51 #8CDB51
triadic
#D1DB51 #51D1DB #DB51D1
tetradic
#D1DB51 #51DBA0 #5B51DB #DB518C
square
#D1DB51 #51DBA0 #5B51DB #DB518C
split-complementary
#D1DB51 #518CDB #A051DB
monochromatic
#8B931E #BAC629 #D1DB51 #DEE584 #ECF0B6

Accessibility & contrast

On white

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

On black

13.96
#D1DB51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1DB51
13.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1DB51#FFFFFF#000000##000000
##D1DB511.001.5013.9613.96
#FFFFFF1.501.0021.0021.00
#00000013.9621.001.001.00
##00000013.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD13F
Deuteranopia (green-blind)
#EAD45A
Tritanopia (blue-blind)
#DECFBE
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #d1db51;
/* rgb */ color: rgb(209, 219, 81);
/* oklch */ color: oklch(85.8% 0.159 113.2);
Tailwind
colors: {
  custom: {
    50: '#e2e688',
    500: '#d1db51',
    950: '#000000',
  },
}
SCSS
$custom: #d1db51;
$custom-light: #e2e688;
$custom-dark: #000000;
JSON
{
  "hex": "#d1db51",
  "rgb": {
    "r": 209,
    "g": 219,
    "b": 81
  },
  "hsl": {
    "h": 64.348,
    "s": 65.714,
    "l": 58.824
  },
  "oklch": {
    "l": 0.85822,
    "c": 0.159,
    "h": 113.2
  },
  "luminance": 0.64812
}

Semantic roles & 50–950 ramp

primary
#D1DB51
secondary
#3F3898
accent
#3FE94B
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D1DB51

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

Preview Lab → · Contrast checker → · Palette generator →

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