#D8D447#D8D447

#D8D447 is a very light, vivid yellow. Relative luminance 0.621; OKLCH L 84.8% C 0.157 H 107.7°. Best body text is #000000 at 13.43:1 contrast (WCAG AA passes).

Color values

HEX#D8D447
RGBrgb(216, 212, 71)
HSLhsl(58, 65%, 56%)
HSVhsv(58, 67%, 85%)
CMYKcmyk(0%, 1.9%, 67.1%, 15.3%)
CIE-LABlab(82.99, -15.13, 67.00)
CIE-LCHlch(82.99, 68.69, 102.72°)
OKLaboklab(84.82% -0.048 0.15)
OKLCHoklch(84.82% 0.157 107.7)
XYZxyz(53.0016, 62.1425, 15.1628)
Luminance0.6214 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D447 #474BD8
analogous
#D88C47 #D8D447 #94D847
triadic
#D8D447 #47D8D4 #D447D8
tetradic
#D8D447 #47D88C #474BD8 #D84794
square
#D8D447 #47D88C #474BD8 #D84794
split-complementary
#D8D447 #4794D8 #8C47D8
monochromatic
#88851D #BAB627 #D8D447 #E3E079 #EDECAC

Accessibility & contrast

On white

1.56
#D8D447 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.43
#D8D447 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8D447
13.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8D447#FFFFFF#000000##000000
##D8D4471.001.5613.4313.43
#FFFFFF1.561.0021.0021.00
#00000013.4321.001.001.00
##00000013.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CC32
Deuteranopia (green-blind)
#E8D150
Tritanopia (blue-blind)
#E7C7B8
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #d8d447;
/* rgb */ color: rgb(216, 212, 71);
/* oklch */ color: oklch(84.8% 0.157 107.7);
Tailwind
colors: {
  custom: {
    50: '#e7e082',
    500: '#d8d447',
    950: '#000000',
  },
}
SCSS
$custom: #d8d447;
$custom-light: #e7e082;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d447",
  "rgb": {
    "r": 216,
    "g": 212,
    "b": 71
  },
  "hsl": {
    "h": 58.345,
    "s": 65.022,
    "l": 56.275
  },
  "oklch": {
    "l": 0.84815,
    "c": 0.15749,
    "h": 107.7
  },
  "luminance": 0.62141
}

Semantic roles & 50–950 ramp

primary
#D8D447
secondary
#35388E
accent
#44E840
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D8D447

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

Preview Lab → · Contrast checker → · Palette generator →

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