#D8DB4D#D8DB4D

#D8DB4D is a very light, vivid yellow. Relative luminance 0.658; OKLCH L 86.3% C 0.160 H 110.5°. Best body text is #000000 at 14.16:1 contrast (WCAG AA passes).

Color values

HEX#D8DB4D
RGBrgb(216, 219, 77)
HSLhsl(61, 66%, 58%)
HSVhsv(61, 65%, 86%)
CMYKcmyk(1.4%, 0%, 64.8%, 14.1%)
CIE-LABlab(84.89, -18.25, 66.63)
CIE-LCHlch(84.89, 69.09, 105.32°)
OKLaboklab(86.35% -0.0561 0.1502)
OKLCHoklch(86.35% 0.16 110.5)
XYZxyz(54.9917, 65.7992, 16.8234)
Luminance0.6580 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8DB4D #504DDB
analogous
#DB974D #D8DB4D #91DB4D
triadic
#D8DB4D #4DD8DB #DB4DD8
tetradic
#D8DB4D #4DDB97 #504DDB #DB4D91
square
#D8DB4D #4DDB97 #504DDB #DB4D91
split-complementary
#D8DB4D #4D91DB #974DDB
monochromatic
#8E901D #C0C327 #D8DB4D #E3E580 #EEF0B3

Accessibility & contrast

On white

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

On black

14.16
#D8DB4D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8DB4D
14.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8DB4D#FFFFFF#000000##000000
##D8DB4D1.001.4814.1614.16
#FFFFFF1.481.0021.0021.00
#00000014.1621.001.001.00
##00000014.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD239
Deuteranopia (green-blind)
#EDD657
Tritanopia (blue-blind)
#E6CEBE
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #d8db4d;
/* rgb */ color: rgb(216, 219, 77);
/* oklch */ color: oklch(86.3% 0.160 110.5);
Tailwind
colors: {
  custom: {
    50: '#e7e586',
    500: '#d8db4d',
    950: '#000000',
  },
}
SCSS
$custom: #d8db4d;
$custom-light: #e7e586;
$custom-dark: #000000;
JSON
{
  "hex": "#d8db4d",
  "rgb": {
    "r": 216,
    "g": 219,
    "b": 77
  },
  "hsl": {
    "h": 61.268,
    "s": 66.355,
    "l": 58.039
  },
  "oklch": {
    "l": 0.86349,
    "c": 0.16033,
    "h": 110.5
  },
  "luminance": 0.65798
}

Semantic roles & 50–950 ramp

primary
#D8DB4D
secondary
#393796
accent
#3FE942
background
#FFFEFC
surface
#FEFCF3
border
#D6D5CD
text
#16150C
muted
#85847F

Preview Lab

Preview with #D8DB4D

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

Preview Lab → · Contrast checker → · Palette generator →

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