#D8DF47#D8DF47

#D8DF47 is a very light, vivid yellow. Relative luminance 0.678; OKLCH L 87.2% C 0.168 H 112.0°. Best body text is #000000 at 14.57:1 contrast (WCAG AA passes).

Color values

HEX#D8DF47
RGBrgb(216, 223, 71)
HSLhsl(63, 70%, 58%)
HSVhsv(63, 68%, 87%)
CMYKcmyk(3.1%, 0%, 68.2%, 12.5%)
CIE-LABlab(85.92, -20.54, 69.94)
CIE-LCHlch(85.92, 72.90, 106.36°)
OKLaboklab(87.16% -0.0631 0.1562)
OKLCHoklch(87.16% 0.168 112)
XYZxyz(55.8456, 67.8305, 16.1108)
Luminance0.6783 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8DF47 #4E47DF
analogous
#DF9A47 #D8DF47 #8CDF47
triadic
#D8DF47 #47D8DF #DF47D8
tetradic
#D8DF47 #47DF9A #4E47DF #DF478C
square
#D8DF47 #47DF9A #4E47DF #DF478C
split-complementary
#D8DF47 #478CDF #9A47DF
monochromatic
#8D9219 #BFC622 #D8DF47 #E3E87B #EEF1AF

Accessibility & contrast

On white

1.44
#D8DF47 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.57
#D8DF47 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8DF47
14.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8DF47#FFFFFF#000000##000000
##D8DF471.001.4414.5714.57
#FFFFFF1.441.0021.0021.00
#00000014.5721.001.001.00
##00000014.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D52F
Deuteranopia (green-blind)
#F0D952
Tritanopia (blue-blind)
#E6D2C1
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #d8df47;
/* rgb */ color: rgb(216, 223, 71);
/* oklch */ color: oklch(87.2% 0.168 112.0);
Tailwind
colors: {
  custom: {
    50: '#e8e883',
    500: '#d8df47',
    950: '#000000',
  },
}
SCSS
$custom: #d8df47;
$custom-light: #e8e883;
$custom-dark: #000000;
JSON
{
  "hex": "#d8df47",
  "rgb": {
    "r": 216,
    "g": 223,
    "b": 71
  },
  "hsl": {
    "h": 62.763,
    "s": 70.37,
    "l": 57.647
  },
  "oklch": {
    "l": 0.87157,
    "c": 0.16849,
    "h": 112
  },
  "luminance": 0.67829
}

Semantic roles & 50–950 ramp

primary
#D8DF47
secondary
#383397
accent
#3BED43
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16160B
muted
#85847E

Preview Lab

Preview with #D8DF47

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

Preview Lab → · Contrast checker → · Palette generator →

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