#D5DB54#D5DB54

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

Color values

HEX#D5DB54
RGBrgb(213, 219, 84)
HSLhsl(63, 65%, 59%)
HSVhsv(63, 62%, 86%)
CMYKcmyk(2.7%, 0%, 61.6%, 14.1%)
CIE-LABlab(84.72, -19.05, 63.57)
CIE-LCHlch(84.72, 66.36, 106.68°)
OKLaboklab(86.17% -0.0575 0.1448)
OKLCHoklch(86.17% 0.156 111.7)
XYZxyz(54.3738, 65.4505, 18.1547)
Luminance0.6545 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5DB54 #5A54DB
analogous
#DB9E54 #D5DB54 #91DB54
triadic
#D5DB54 #54D5DB #DB54D5
tetradic
#D5DB54 #54DB9E #5A54DB #DB5491
square
#D5DB54 #54DB9E #5A54DB #DB5491
split-complementary
#D5DB54 #5491DB #9E54DB
monochromatic
#90951F #C1C82A #D5DB54 #E1E687 #EEF0B9

Accessibility & contrast

On white

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

On black

14.09
#D5DB54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5DB54
14.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5DB54#FFFFFF#000000##000000
##D5DB541.001.4914.0914.09
#FFFFFF1.491.0021.0021.00
#00000014.0921.001.001.00
##00000014.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD243
Deuteranopia (green-blind)
#EBD55D
Tritanopia (blue-blind)
#E3CEBF
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #d5db54;
/* rgb */ color: rgb(213, 219, 84);
/* oklch */ color: oklch(86.2% 0.156 111.7);
Tailwind
colors: {
  custom: {
    50: '#e5e68a',
    500: '#d5db54',
    950: '#000000',
  },
}
SCSS
$custom: #d5db54;
$custom-light: #e5e68a;
$custom-dark: #000000;
JSON
{
  "hex": "#d5db54",
  "rgb": {
    "r": 213,
    "g": 219,
    "b": 84
  },
  "hsl": {
    "h": 62.667,
    "s": 65.217,
    "l": 59.412
  },
  "oklch": {
    "l": 0.86166,
    "c": 0.15579,
    "h": 111.7
  },
  "luminance": 0.65449
}

Semantic roles & 50–950 ramp

primary
#D5DB54
secondary
#3E399A
accent
#40E847
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D5DB54

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

Preview Lab → · Contrast checker → · Palette generator →

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