#D8D247#D8D247

#D8D247 is a very light, vivid yellow. Relative luminance 0.611; OKLCH L 84.4% C 0.156 H 106.9°. Best body text is #000000 at 13.23:1 contrast (WCAG AA passes).

Color values

HEX#D8D247
RGBrgb(216, 210, 71)
HSLhsl(58, 65%, 56%)
HSVhsv(58, 67%, 85%)
CMYKcmyk(0%, 2.8%, 67.1%, 15.3%)
CIE-LABlab(82.46, -14.13, 66.47)
CIE-LCHlch(82.46, 67.95, 102.00°)
OKLaboklab(84.39% -0.0452 0.1489)
OKLCHoklch(84.39% 0.156 106.9)
XYZxyz(52.5048, 61.1488, 14.9972)
Luminance0.6115 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D247 #474DD8
analogous
#D88A47 #D8D247 #96D847
triadic
#D8D247 #47D8D2 #D247D8
tetradic
#D8D247 #47D88A #474DD8 #D84796
square
#D8D247 #47D88A #474DD8 #D84796
split-complementary
#D8D247 #4796D8 #8A47D8
monochromatic
#88831D #BAB427 #D8D247 #E3DE79 #EDEBAC

Accessibility & contrast

On white

1.59
#D8D247 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.23
#D8D247 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8D247
13.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8D247#FFFFFF#000000##000000
##D8D2471.001.5913.2313.23
#FFFFFF1.591.0021.0021.00
#00000013.2321.001.001.00
##00000013.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CA33
Deuteranopia (green-blind)
#E6D050
Tritanopia (blue-blind)
#E7C5B6
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #d8d247;
/* rgb */ color: rgb(216, 210, 71);
/* oklch */ color: oklch(84.4% 0.156 106.9);
Tailwind
colors: {
  custom: {
    50: '#e7df82',
    500: '#d8d247',
    950: '#000000',
  },
}
SCSS
$custom: #d8d247;
$custom-light: #e7df82;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d247",
  "rgb": {
    "r": 216,
    "g": 210,
    "b": 71
  },
  "hsl": {
    "h": 57.517,
    "s": 65.022,
    "l": 56.275
  },
  "oklch": {
    "l": 0.84392,
    "c": 0.15558,
    "h": 106.9
  },
  "luminance": 0.61147
}

Semantic roles & 50–950 ramp

primary
#D8D247
secondary
#35398E
accent
#47E840
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D8D247

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

Preview Lab → · Contrast checker → · Palette generator →

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