#D8D059#D8D059

#D8D059 is a very light, vivid yellow. Relative luminance 0.604; OKLCH L 84.1% C 0.140 H 105.4°. Best body text is #000000 at 13.09:1 contrast (WCAG AA passes).

Color values

HEX#D8D059
RGBrgb(216, 208, 89)
HSLhsl(56, 62%, 60%)
HSVhsv(56, 59%, 85%)
CMYKcmyk(0%, 3.7%, 58.8%, 15.3%)
CIE-LABlab(82.07, -12.02, 58.64)
CIE-LCHlch(82.07, 59.86, 101.58°)
OKLaboklab(84.13% -0.0372 0.1349)
OKLCHoklch(84.13% 0.14 105.4)
XYZxyz(52.6797, 60.4337, 18.3392)
Luminance0.6043 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D059 #5961D8
analogous
#D89059 #D8D059 #A1D859
triadic
#D8D059 #59D8D0 #D059D8
tetradic
#D8D059 #59D890 #5961D8 #D859A1
square
#D8D059 #59D890 #5961D8 #D859A1
split-complementary
#D8D059 #59A1D8 #9059D8
monochromatic
#948D23 #C5BC2E #D8D059 #E4DE8B #EFECBC

Accessibility & contrast

On white

1.60
#D8D059 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.09
#D8D059 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8D059
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8D059#FFFFFF#000000##000000
##D8D0591.001.6013.0913.09
#FFFFFF1.601.0021.0021.00
#00000013.0921.001.001.00
##00000013.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C94C
Deuteranopia (green-blind)
#E4CF60
Tritanopia (blue-blind)
#E7C3B6
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #d8d059;
/* rgb */ color: rgb(216, 208, 89);
/* oklch */ color: oklch(84.1% 0.140 105.4);
Tailwind
colors: {
  custom: {
    50: '#e7de8c',
    500: '#d8d059',
    950: '#000000',
  },
}
SCSS
$custom: #d8d059;
$custom-light: #e7de8c;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d059",
  "rgb": {
    "r": 216,
    "g": 208,
    "b": 89
  },
  "hsl": {
    "h": 56.22,
    "s": 61.951,
    "l": 59.804
  },
  "oklch": {
    "l": 0.84131,
    "c": 0.13999,
    "h": 105.4
  },
  "luminance": 0.60432
}

Semantic roles & 50–950 ramp

primary
#D8D059
secondary
#3C4299
accent
#4DE543
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D8D059

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

Preview Lab → · Contrast checker → · Palette generator →

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