#D8DB71#D8DB71

#D8DB71 is a very light, vivid yellow. Relative luminance 0.665; OKLCH L 86.7% C 0.130 H 110.3°. Best body text is #000000 at 14.29:1 contrast (WCAG AA passes).

Color values

HEX#D8DB71
RGBrgb(216, 219, 113)
HSLhsl(62, 60%, 65%)
HSVhsv(62, 48%, 86%)
CMYKcmyk(1.4%, 0%, 48.4%, 14.1%)
CIE-LABlab(85.23, -15.59, 51.31)
CIE-LCHlch(85.23, 53.63, 106.90°)
OKLaboklab(86.72% -0.0449 0.1216)
OKLCHoklch(86.72% 0.13 110.3)
XYZxyz(56.6322, 66.4554, 25.4635)
Luminance0.6645 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8DB71 #7471DB
analogous
#DBA971 #D8DB71 #A3DB71
triadic
#D8DB71 #71D8DB #DB71D8
tetradic
#D8DB71 #71DBA9 #7471DB #DB71A3
square
#D8DB71 #71DBA9 #7471DB #DB71A3
split-complementary
#D8DB71 #71A3DB #A971DB
monochromatic
#A4A72A #CBCF40 #D8DB71 #E5E7A2 #F3F4D3

Accessibility & contrast

On white

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

On black

14.29
#D8DB71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8DB71
14.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8DB71#FFFFFF#000000##000000
##D8DB711.001.4714.2914.29
#FFFFFF1.471.0021.0021.00
#00000014.2921.001.001.00
##00000014.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D367
Deuteranopia (green-blind)
#EAD776
Tritanopia (blue-blind)
#E4D0C3
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #d8db71;
/* rgb */ color: rgb(216, 219, 113);
/* oklch */ color: oklch(86.7% 0.130 110.3);
Tailwind
colors: {
  custom: {
    50: '#e6e69c',
    500: '#d8db71',
    950: '#000000',
  },
}
SCSS
$custom: #d8db71;
$custom-light: #e6e69c;
$custom-dark: #000000;
JSON
{
  "hex": "#d8db71",
  "rgb": {
    "r": 216,
    "g": 219,
    "b": 113
  },
  "hsl": {
    "h": 61.698,
    "s": 59.551,
    "l": 65.098
  },
  "oklch": {
    "l": 0.86723,
    "c": 0.12967,
    "h": 110.3
  },
  "luminance": 0.66454
}

Semantic roles & 50–950 ramp

primary
#D8DB71
secondary
#4946AA
accent
#1EC723
background
#FEFEFC
surface
#FDFCF5
border
#D5D5CF
text
#16150E
muted
#84847F

Preview Lab

Preview with #D8DB71

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

Preview Lab → · Contrast checker → · Palette generator →

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