#D8DB72#D8DB72

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

Color values

HEX#D8DB72
RGBrgb(216, 219, 114)
HSLhsl(62, 59%, 65%)
HSVhsv(62, 48%, 86%)
CMYKcmyk(1.4%, 0%, 47.9%, 14.1%)
CIE-LABlab(85.24, -15.50, 50.85)
CIE-LCHlch(85.24, 53.16, 106.95°)
OKLaboklab(86.74% -0.0446 0.1207)
OKLCHoklch(86.74% 0.129 110.3)
XYZxyz(56.6888, 66.4781, 25.7616)
Luminance0.6648 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8DB72 #7572DB
analogous
#DBA972 #D8DB72 #A4DB72
triadic
#D8DB72 #72D8DB #DB72D8
tetradic
#D8DB72 #72DBA9 #7572DB #DB72A4
square
#D8DB72 #72DBA9 #7572DB #DB72A4
split-complementary
#D8DB72 #72A4DB #A972DB
monochromatic
#A4A82B #CBCF41 #D8DB72 #E5E7A3 #F3F4D4

Accessibility & contrast

On white

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

On black

14.30
#D8DB72 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8DB72
14.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8DB72#FFFFFF#000000##000000
##D8DB721.001.4714.3014.30
#FFFFFF1.471.0021.0021.00
#00000014.3021.001.001.00
##00000014.3021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d8db72;
/* rgb */ color: rgb(216, 219, 114);
/* oklch */ color: oklch(86.7% 0.129 110.3);
Tailwind
colors: {
  custom: {
    50: '#e6e69d',
    500: '#d8db72',
    950: '#000000',
  },
}
SCSS
$custom: #d8db72;
$custom-light: #e6e69d;
$custom-dark: #000000;
JSON
{
  "hex": "#d8db72",
  "rgb": {
    "r": 216,
    "g": 219,
    "b": 114
  },
  "hsl": {
    "h": 61.714,
    "s": 59.322,
    "l": 65.294
  },
  "oklch": {
    "l": 0.86736,
    "c": 0.12868,
    "h": 110.3
  },
  "luminance": 0.66477
}

Semantic roles & 50–950 ramp

primary
#D8DB72
secondary
#4947AB
accent
#1FC723
background
#FEFEFC
surface
#FDFCF5
border
#D5D5CF
text
#16150E
muted
#84847F

Preview Lab

Preview with #D8DB72

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

Preview Lab → · Contrast checker → · Palette generator →

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