#D8DB6A#D8DB6A

#D8DB6A is a very light, vivid yellow. Relative luminance 0.663; OKLCH L 86.6% C 0.136 H 110.3°. Best body text is #000000 at 14.26:1 contrast (WCAG AA passes).

Color values

HEX#D8DB6A
RGBrgb(216, 219, 106)
HSLhsl(62, 61%, 64%)
HSVhsv(62, 52%, 86%)
CMYKcmyk(1.4%, 0%, 51.6%, 14.1%)
CIE-LABlab(85.15, -16.20, 54.49)
CIE-LCHlch(85.15, 56.84, 106.56°)
OKLaboklab(86.64% -0.0474 0.1279)
OKLCHoklch(86.64% 0.136 110.3)
XYZxyz(56.2532, 66.3038, 23.4675)
Luminance0.6630 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8DB6A #6D6ADB
analogous
#DBA56A #D8DB6A #9FDB6A
triadic
#D8DB6A #6AD8DB #DB6AD8
tetradic
#D8DB6A #6ADBA5 #6D6ADB #DB6A9F
square
#D8DB6A #6ADBA5 #6D6ADB #DB6A9F
split-complementary
#D8DB6A #6A9FDB #A56ADB
monochromatic
#A0A327 #CBCF39 #D8DB6A #E5E79B #F2F3CD

Accessibility & contrast

On white

1.47
#D8DB6A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.26
#D8DB6A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8DB6A
14.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8DB6A#FFFFFF#000000##000000
##D8DB6A1.001.4714.2614.26
#FFFFFF1.471.0021.0021.00
#00000014.2621.001.001.00
##00000014.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD35F
Deuteranopia (green-blind)
#EBD670
Tritanopia (blue-blind)
#E5CFC2
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #d8db6a;
/* rgb */ color: rgb(216, 219, 106);
/* oklch */ color: oklch(86.6% 0.136 110.3);
Tailwind
colors: {
  custom: {
    50: '#e6e698',
    500: '#d8db6a',
    950: '#000000',
  },
}
SCSS
$custom: #d8db6a;
$custom-light: #e6e698;
$custom-dark: #000000;
JSON
{
  "hex": "#d8db6a",
  "rgb": {
    "r": 216,
    "g": 219,
    "b": 106
  },
  "hsl": {
    "h": 61.593,
    "s": 61.081,
    "l": 63.725
  },
  "oklch": {
    "l": 0.86637,
    "c": 0.1364,
    "h": 110.3
  },
  "luminance": 0.66303
}

Semantic roles & 50–950 ramp

primary
#D8DB6A
secondary
#4543A6
accent
#1DC921
background
#FEFEFC
surface
#FDFCF5
border
#D5D5CF
text
#16150E
muted
#84847F

Preview Lab

Preview with #D8DB6A

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

Preview Lab → · Contrast checker → · Palette generator →

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