#D8DB54#D8DB54

#D8DB54 is a very light, vivid yellow. Relative luminance 0.659; OKLCH L 86.4% C 0.155 H 110.5°. Best body text is #000000 at 14.18:1 contrast (WCAG AA passes).

Color values

HEX#D8DB54
RGBrgb(216, 219, 84)
HSLhsl(61, 65%, 59%)
HSVhsv(61, 62%, 86%)
CMYKcmyk(1.4%, 0%, 61.6%, 14.1%)
CIE-LABlab(84.95, -17.82, 63.88)
CIE-LCHlch(84.95, 66.32, 105.59°)
OKLaboklab(86.41% -0.0542 0.1454)
OKLCHoklch(86.41% 0.155 110.5)
XYZxyz(55.2523, 65.9035, 18.1959)
Luminance0.6590 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8DB54 #5754DB
analogous
#DB9A54 #D8DB54 #95DB54
triadic
#D8DB54 #54D8DB #DB54D8
tetradic
#D8DB54 #54DB9A #5754DB #DB5495
square
#D8DB54 #54DB9A #5754DB #DB5495
split-complementary
#D8DB54 #5495DB #9A54DB
monochromatic
#93951F #C4C82A #D8DB54 #E4E687 #EFF0B9

Accessibility & contrast

On white

1.48
#D8DB54 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.18
#D8DB54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8DB54
14.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8DB54#FFFFFF#000000##000000
##D8DB541.001.4814.1814.18
#FFFFFF1.481.0021.0021.00
#00000014.1821.001.001.00
##00000014.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD243
Deuteranopia (green-blind)
#ECD65C
Tritanopia (blue-blind)
#E6CEBF
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #d8db54;
/* rgb */ color: rgb(216, 219, 84);
/* oklch */ color: oklch(86.4% 0.155 110.5);
Tailwind
colors: {
  custom: {
    50: '#e7e68a',
    500: '#d8db54',
    950: '#000000',
  },
}
SCSS
$custom: #d8db54;
$custom-light: #e7e68a;
$custom-dark: #000000;
JSON
{
  "hex": "#d8db54",
  "rgb": {
    "r": 216,
    "g": 219,
    "b": 84
  },
  "hsl": {
    "h": 61.333,
    "s": 65.217,
    "l": 59.412
  },
  "oklch": {
    "l": 0.86408,
    "c": 0.15517,
    "h": 110.5
  },
  "luminance": 0.65902
}

Semantic roles & 50–950 ramp

primary
#D8DB54
secondary
#3C399A
accent
#40E843
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D8DB54

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

Preview Lab → · Contrast checker → · Palette generator →

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