#D5DB51#D5DB51

#D5DB51 is a very light, vivid yellow. Relative luminance 0.654; OKLCH L 86.1% C 0.158 H 111.7°. Best body text is #000000 at 14.08:1 contrast (WCAG AA passes).

Color values

HEX#D5DB51
RGBrgb(213, 219, 81)
HSLhsl(63, 66%, 59%)
HSVhsv(63, 63%, 86%)
CMYKcmyk(2.7%, 0%, 63%, 14.1%)
CIE-LABlab(84.69, -19.24, 64.76)
CIE-LCHlch(84.69, 67.56, 106.55°)
OKLaboklab(86.14% -0.0583 0.1469)
OKLCHoklch(86.14% 0.158 111.7)
XYZxyz(54.2588, 65.4045, 17.5491)
Luminance0.6540 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5DB51 #5751DB
analogous
#DB9C51 #D5DB51 #90DB51
triadic
#D5DB51 #51D5DB #DB51D5
tetradic
#D5DB51 #51DB9C #5751DB #DB5190
square
#D5DB51 #51DB9C #5751DB #DB5190
split-complementary
#D5DB51 #5190DB #9C51DB
monochromatic
#8E931E #BFC629 #D5DB51 #E1E584 #EDF0B6

Accessibility & contrast

On white

1.49
#D5DB51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.08
#D5DB51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5DB51
14.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5DB51#FFFFFF#000000##000000
##D5DB511.001.4914.0814.08
#FFFFFF1.491.0021.0021.00
#00000014.0821.001.001.00
##00000014.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD23F
Deuteranopia (green-blind)
#ECD55A
Tritanopia (blue-blind)
#E3CEBE
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #d5db51;
/* rgb */ color: rgb(213, 219, 81);
/* oklch */ color: oklch(86.1% 0.158 111.7);
Tailwind
colors: {
  custom: {
    50: '#e5e688',
    500: '#d5db51',
    950: '#000000',
  },
}
SCSS
$custom: #d5db51;
$custom-light: #e5e688;
$custom-dark: #000000;
JSON
{
  "hex": "#d5db51",
  "rgb": {
    "r": 213,
    "g": 219,
    "b": 81
  },
  "hsl": {
    "h": 62.609,
    "s": 65.714,
    "l": 58.824
  },
  "oklch": {
    "l": 0.8614,
    "c": 0.15806,
    "h": 111.7
  },
  "luminance": 0.65403
}

Semantic roles & 50–950 ramp

primary
#D5DB51
secondary
#3C3898
accent
#3FE947
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D5DB51

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

Preview Lab → · Contrast checker → · Palette generator →

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