#D8D459#D8D459

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

Color values

HEX#D8D459
RGBrgb(216, 212, 89)
HSLhsl(58, 62%, 60%)
HSVhsv(58, 59%, 85%)
CMYKcmyk(0%, 1.9%, 58.8%, 15.3%)
CIE-LABlab(83.13, -14.02, 59.81)
CIE-LCHlch(83.13, 61.43, 103.20°)
OKLaboklab(84.97% -0.0429 0.1374)
OKLCHoklch(84.97% 0.144 107.4)
XYZxyz(53.6672, 62.4088, 18.6683)
Luminance0.6241 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D459 #595DD8
analogous
#D89459 #D8D459 #9DD859
triadic
#D8D459 #59D8D4 #D459D8
tetradic
#D8D459 #59D894 #595DD8 #D8599D
square
#D8D459 #59D894 #595DD8 #D8599D
split-complementary
#D8D459 #599DD8 #9459D8
monochromatic
#949023 #C5C12E #D8D459 #E4E18B #EFEEBC

Accessibility & contrast

On white

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

On black

13.48
#D8D459 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8D459
13.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8D459#FFFFFF#000000##000000
##D8D4591.001.5613.4813.48
#FFFFFF1.561.0021.0021.00
#00000013.4821.001.001.00
##00000013.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CC4B
Deuteranopia (green-blind)
#E7D160
Tritanopia (blue-blind)
#E6C7BA
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #d8d459;
/* rgb */ color: rgb(216, 212, 89);
/* oklch */ color: oklch(85.0% 0.144 107.4);
Tailwind
colors: {
  custom: {
    50: '#e7e18d',
    500: '#d8d459',
    950: '#000000',
  },
}
SCSS
$custom: #d8d459;
$custom-light: #e7e18d;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d459",
  "rgb": {
    "r": 216,
    "g": 212,
    "b": 89
  },
  "hsl": {
    "h": 58.11,
    "s": 61.951,
    "l": 59.804
  },
  "oklch": {
    "l": 0.84973,
    "c": 0.14398,
    "h": 107.4
  },
  "luminance": 0.62407
}

Semantic roles & 50–950 ramp

primary
#D8D459
secondary
#3C3F99
accent
#48E543
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D8D459

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

Preview Lab → · Contrast checker → · Palette generator →

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