#D8D773#D8D773

#D8D773 is a very light, vivid yellow. Relative luminance 0.644; OKLCH L 85.9% C 0.123 H 108.2°. Best body text is #000000 at 13.89:1 contrast (WCAG AA passes).

Color values

HEX#D8D773
RGBrgb(216, 215, 115)
HSLhsl(59, 56%, 65%)
HSVhsv(59, 47%, 85%)
CMYKcmyk(0%, 0.5%, 46.8%, 15.3%)
CIE-LABlab(84.19, -13.42, 49.12)
CIE-LCHlch(84.19, 50.92, 105.28°)
OKLaboklab(85.91% -0.0385 0.117)
OKLCHoklch(85.91% 0.123 108.2)
XYZxyz(55.7150, 64.4389, 25.7194)
Luminance0.6444 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D773 #7374D8
analogous
#D8A573 #D8D773 #A7D873
triadic
#D8D773 #73D8D7 #D773D8
tetradic
#D8D773 #73D8A5 #7374D8 #D873A7
square
#D8D773 #73D8A5 #7374D8 #D873A7
split-complementary
#D8D773 #73A7D8 #A573D8
monochromatic
#A3A22D #CBC943 #D8D773 #E5E5A3 #F3F2D3

Accessibility & contrast

On white

1.51
#D8D773 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.89
#D8D773 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8D773
13.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8D773#FFFFFF#000000##000000
##D8D7731.001.5113.8913.89
#FFFFFF1.511.0021.0021.00
#00000013.8921.001.001.00
##00000013.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5D06A
Deuteranopia (green-blind)
#E7D478
Tritanopia (blue-blind)
#E4CCC0
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #d8d773;
/* rgb */ color: rgb(216, 215, 115);
/* oklch */ color: oklch(85.9% 0.123 108.2);
Tailwind
colors: {
  custom: {
    50: '#e6e39d',
    500: '#d8d773',
    950: '#000000',
  },
}
SCSS
$custom: #d8d773;
$custom-light: #e6e39d;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d773",
  "rgb": {
    "r": 216,
    "g": 215,
    "b": 115
  },
  "hsl": {
    "h": 59.406,
    "s": 56.425,
    "l": 64.902
  },
  "oklch": {
    "l": 0.85907,
    "c": 0.12317,
    "h": 108.2
  },
  "luminance": 0.64438
}

Semantic roles & 50–950 ramp

primary
#D8D773
secondary
#4849A7
accent
#23C422
background
#FEFEFC
surface
#FDFCF5
border
#D5D5CF
text
#16150E
muted
#84847F

Preview Lab

Preview with #D8D773

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

Preview Lab → · Contrast checker → · Palette generator →

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