#D8DB8A#D8DB8A

#D8DB8A is a very light, moderate yellow. Relative luminance 0.671; OKLCH L 87.1% C 0.103 H 110.2°. Best body text is #000000 at 14.42:1 contrast (WCAG AA passes).

Color values

HEX#D8DB8A
RGBrgb(216, 219, 138)
HSLhsl(62, 53%, 70%)
HSVhsv(62, 37%, 86%)
CMYKcmyk(1.4%, 0%, 37%, 14.1%)
CIE-LABlab(85.55, -13.05, 39.51)
CIE-LCHlch(85.55, 41.61, 108.28°)
OKLaboklab(87.09% -0.0356 0.0968)
OKLCHoklch(87.09% 0.103 110.2)
XYZxyz(58.2385, 67.0979, 33.9231)
Luminance0.6710 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8DB8A #8D8ADB
analogous
#DBB58A #D8DB8A #B0DB8A
triadic
#D8DB8A #8AD8DB #DB8AD8
tetradic
#D8DB8A #8ADBB5 #8D8ADB #DB8AB0
square
#D8DB8A #8ADBB5 #8D8ADB #DB8AB0
split-complementary
#D8DB8A #8AB0DB #B58ADB
monochromatic
#AFB337 #C8CD5B #D8DB8A #E8E9B9 #F7F8E8

Accessibility & contrast

On white

1.46
#D8DB8A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.42
#D8DB8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8DB8A
14.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8DB8A#FFFFFF#000000##000000
##D8DB8A1.001.4614.4214.42
#FFFFFF1.461.0021.0021.00
#00000014.4221.001.001.00
##00000014.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D484
Deuteranopia (green-blind)
#E8D78E
Tritanopia (blue-blind)
#E2D2C7
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #d8db8a;
/* rgb */ color: rgb(216, 219, 138);
/* oklch */ color: oklch(87.1% 0.103 110.2);
Tailwind
colors: {
  custom: {
    50: '#e5e6ad',
    500: '#d8db8a',
    950: '#000000',
  },
}
SCSS
$custom: #d8db8a;
$custom-light: #e5e6ad;
$custom-dark: #000000;
JSON
{
  "hex": "#d8db8a",
  "rgb": {
    "r": 216,
    "g": 219,
    "b": 138
  },
  "hsl": {
    "h": 62.222,
    "s": 52.941,
    "l": 70
  },
  "oklch": {
    "l": 0.87088,
    "c": 0.10311,
    "h": 110.2
  },
  "luminance": 0.67097
}

Semantic roles & 50–950 ramp

primary
#D8DB8A
secondary
#5B57B2
accent
#25C02B
background
#FEFEFD
surface
#FCFCF7
border
#D5D5D0
text
#161510
muted
#848481

Preview Lab

Preview with #D8DB8A

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

Preview Lab → · Contrast checker → · Palette generator →

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