#D8D457#D8D457

#D8D457 is a very light, vivid yellow. Relative luminance 0.624; OKLCH L 85.0% C 0.146 H 107.4°. Best body text is #000000 at 13.47:1 contrast (WCAG AA passes).

Color values

HEX#D8D457
RGBrgb(216, 212, 87)
HSLhsl(58, 62%, 59%)
HSVhsv(58, 60%, 85%)
CMYKcmyk(0%, 1.9%, 59.7%, 15.3%)
CIE-LABlab(83.11, -14.16, 60.65)
CIE-LCHlch(83.11, 62.28, 103.14°)
OKLaboklab(84.95% -0.0435 0.139)
OKLCHoklch(84.95% 0.146 107.4)
XYZxyz(53.5844, 62.3756, 18.2320)
Luminance0.6237 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D457 #575BD8
analogous
#D89457 #D8D457 #9BD857
triadic
#D8D457 #57D8D4 #D457D8
tetradic
#D8D457 #57D894 #575BD8 #D8579B
square
#D8D457 #57D894 #575BD8 #D8579B
split-complementary
#D8D457 #579BD8 #9457D8
monochromatic
#938F22 #C4C02E #D8D457 #E4E189 #EFEDBA

Accessibility & contrast

On white

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

On black

13.47
#D8D457 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8D457
13.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8D457#FFFFFF#000000##000000
##D8D4571.001.5613.4713.47
#FFFFFF1.561.0021.0021.00
#00000013.4721.001.001.00
##00000013.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CC49
Deuteranopia (green-blind)
#E7D15E
Tritanopia (blue-blind)
#E6C7B9
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #d8d457;
/* rgb */ color: rgb(216, 212, 87);
/* oklch */ color: oklch(85.0% 0.146 107.4);
Tailwind
colors: {
  custom: {
    50: '#e7e18b',
    500: '#d8d457',
    950: '#000000',
  },
}
SCSS
$custom: #d8d457;
$custom-light: #e7e18b;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d457",
  "rgb": {
    "r": 216,
    "g": 212,
    "b": 87
  },
  "hsl": {
    "h": 58.14,
    "s": 62.319,
    "l": 59.412
  },
  "oklch": {
    "l": 0.84953,
    "c": 0.14561,
    "h": 107.4
  },
  "luminance": 0.62374
}

Semantic roles & 50–950 ramp

primary
#D8D457
secondary
#3C3E98
accent
#47E542
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D8D457

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

Preview Lab → · Contrast checker → · Palette generator →

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