#D8DB7D#D8DB7D

#D8DB7D is a very light, moderate yellow. Relative luminance 0.667; OKLCH L 86.9% C 0.117 H 110.2°. Best body text is #000000 at 14.35:1 contrast (WCAG AA passes).

Color values

HEX#D8DB7D
RGBrgb(216, 219, 125)
HSLhsl(62, 57%, 67%)
HSVhsv(62, 43%, 86%)
CMYKcmyk(1.4%, 0%, 42.9%, 14.1%)
CIE-LABlab(85.37, -14.44, 45.72)
CIE-LCHlch(85.37, 47.95, 107.53°)
OKLaboklab(86.89% -0.0405 0.1102)
OKLCHoklch(86.89% 0.117 110.2)
XYZxyz(57.3530, 66.7437, 29.2596)
Luminance0.6674 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8DB7D #807DDB
analogous
#DBAF7D #D8DB7D #A9DB7D
triadic
#D8DB7D #7DD8DB #DB7DD8
tetradic
#D8DB7D #7DDBAF #807DDB #DB7DA9
square
#D8DB7D #7DDBAF #807DDB #DB7DA9
split-complementary
#D8DB7D #7DA9DB #AF7DDB
monochromatic
#AAAE30 #CACE4D #D8DB7D #E6E8AD #F5F6DD

Accessibility & contrast

On white

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

On black

14.35
#D8DB7D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8DB7D
14.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8DB7D#FFFFFF#000000##000000
##D8DB7D1.001.4614.3514.35
#FFFFFF1.461.0021.0021.00
#00000014.3521.001.001.00
##00000014.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D475
Deuteranopia (green-blind)
#E9D781
Tritanopia (blue-blind)
#E3D1C5
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #d8db7d;
/* rgb */ color: rgb(216, 219, 125);
/* oklch */ color: oklch(86.9% 0.117 110.2);
Tailwind
colors: {
  custom: {
    50: '#e5e6a4',
    500: '#d8db7d',
    950: '#000000',
  },
}
SCSS
$custom: #d8db7d;
$custom-light: #e5e6a4;
$custom-dark: #000000;
JSON
{
  "hex": "#d8db7d",
  "rgb": {
    "r": 216,
    "g": 219,
    "b": 125
  },
  "hsl": {
    "h": 61.915,
    "s": 56.627,
    "l": 67.451
  },
  "oklch": {
    "l": 0.86887,
    "c": 0.11739,
    "h": 110.2
  },
  "luminance": 0.66743
}

Semantic roles & 50–950 ramp

primary
#D8DB7D
secondary
#4F4CB0
accent
#21C427
background
#FEFEFC
surface
#FCFCF6
border
#D5D5D0
text
#16150F
muted
#848480

Preview Lab

Preview with #D8DB7D

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

Preview Lab → · Contrast checker → · Palette generator →

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