#D8DB4E#D8DB4E

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

Color values

HEX#D8DB4E
RGBrgb(216, 219, 78)
HSLhsl(61, 66%, 58%)
HSVhsv(61, 64%, 86%)
CMYKcmyk(1.4%, 0%, 64.4%, 14.1%)
CIE-LABlab(84.90, -18.19, 66.25)
CIE-LCHlch(84.90, 68.70, 105.36°)
OKLaboklab(86.36% -0.0559 0.1495)
OKLCHoklch(86.36% 0.16 110.5)
XYZxyz(55.0273, 65.8135, 17.0108)
Luminance0.6581 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8DB4E #514EDB
analogous
#DB984E #D8DB4E #91DB4E
triadic
#D8DB4E #4ED8DB #DB4ED8
tetradic
#D8DB4E #4EDB98 #514EDB #DB4E91
square
#D8DB4E #4EDB98 #514EDB #DB4E91
split-complementary
#D8DB4E #4E91DB #984EDB
monochromatic
#8F911E #C1C428 #D8DB4E #E3E581 #EEF0B4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D8DB4E#FFFFFF#000000##000000
##D8DB4E1.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)
#EBD23B
Deuteranopia (green-blind)
#EDD657
Tritanopia (blue-blind)
#E6CEBE
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #d8db4e;
/* rgb */ color: rgb(216, 219, 78);
/* oklch */ color: oklch(86.4% 0.160 110.5);
Tailwind
colors: {
  custom: {
    50: '#e7e687',
    500: '#d8db4e',
    950: '#000000',
  },
}
SCSS
$custom: #d8db4e;
$custom-light: #e7e687;
$custom-dark: #000000;
JSON
{
  "hex": "#d8db4e",
  "rgb": {
    "r": 216,
    "g": 219,
    "b": 78
  },
  "hsl": {
    "h": 61.277,
    "s": 66.197,
    "l": 58.235
  },
  "oklch": {
    "l": 0.86357,
    "c": 0.15962,
    "h": 110.5
  },
  "luminance": 0.65812
}

Semantic roles & 50–950 ramp

primary
#D8DB4E
secondary
#393796
accent
#3FE942
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D8DB4E

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

Preview Lab → · Contrast checker → · Palette generator →

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