#D8DC47#D8DC47

#D8DC47 is a very light, vivid yellow. Relative luminance 0.662; OKLCH L 86.5% C 0.165 H 110.9°. Best body text is #000000 at 14.25:1 contrast (WCAG AA passes).

Color values

HEX#D8DC47
RGBrgb(216, 220, 71)
HSLhsl(62, 68%, 57%)
HSVhsv(62, 68%, 86%)
CMYKcmyk(1.8%, 0%, 67.7%, 13.7%)
CIE-LABlab(85.12, -19.07, 69.14)
CIE-LCHlch(85.12, 71.73, 105.42°)
OKLaboklab(86.52% -0.059 0.1545)
OKLCHoklch(86.52% 0.165 110.9)
XYZxyz(55.0512, 66.2417, 15.8460)
Luminance0.6624 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8DC47 #4B47DC
analogous
#DC9647 #D8DC47 #8DDC47
triadic
#D8DC47 #47D8DC #DC47D8
tetradic
#D8DC47 #47DC96 #4B47DC #DC478D
square
#D8DC47 #47DC96 #4B47DC #DC478D
split-complementary
#D8DC47 #478DDC #9647DC
monochromatic
#8B8E1B #BDC125 #D8DC47 #E3E67A #EEF0AE

Accessibility & contrast

On white

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

On black

14.25
#D8DC47 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8DC47
14.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8DC47#FFFFFF#000000##000000
##D8DC471.001.4714.2514.25
#FFFFFF1.471.0021.0021.00
#00000014.2521.001.001.00
##00000014.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD230
Deuteranopia (green-blind)
#EED752
Tritanopia (blue-blind)
#E7CFBE
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #d8dc47;
/* rgb */ color: rgb(216, 220, 71);
/* oklch */ color: oklch(86.5% 0.165 110.9);
Tailwind
colors: {
  custom: {
    50: '#e7e683',
    500: '#d8dc47',
    950: '#000000',
  },
}
SCSS
$custom: #d8dc47;
$custom-light: #e7e683;
$custom-dark: #000000;
JSON
{
  "hex": "#d8dc47",
  "rgb": {
    "r": 216,
    "g": 220,
    "b": 71
  },
  "hsl": {
    "h": 61.611,
    "s": 68.037,
    "l": 57.059
  },
  "oklch": {
    "l": 0.86516,
    "c": 0.16542,
    "h": 110.9
  },
  "luminance": 0.6624
}

Semantic roles & 50–950 ramp

primary
#D8DC47
secondary
#373493
accent
#3DEB42
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D8DC47

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

Preview Lab → · Contrast checker → · Palette generator →

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