#D8EC73#D8EC73

#D8EC73 is a very light, vivid yellow. Relative luminance 0.758; OKLCH L 90.4% C 0.148 H 117.2°. Best body text is #000000 at 16.17:1 contrast (WCAG AA passes).

Color values

HEX#D8EC73
RGBrgb(216, 236, 115)
HSLhsl(70, 76%, 69%)
HSVhsv(70, 51%, 93%)
CMYKcmyk(8.5%, 0%, 51.3%, 7.5%)
CIE-LABlab(89.78, -23.70, 55.78)
CIE-LCHlch(89.78, 60.60, 113.02°)
OKLaboklab(90.37% -0.0677 0.1316)
OKLCHoklch(90.37% 0.148 117.2)
XYZxyz(61.4097, 75.8282, 27.6176)
Luminance0.7583 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8EC73 #8773EC
analogous
#ECC473 #D8EC73 #9CEC73
triadic
#D8EC73 #73D8EC #EC73D8
tetradic
#D8EC73 #73ECC4 #8773EC #EC739C
square
#D8EC73 #73ECC4 #8773EC #EC739C
split-complementary
#D8EC73 #739CEC #C473EC
monochromatic
#ADC91B #C9E53D #D8EC73 #E7F3A9 #F6FBDF

Accessibility & contrast

On white

1.30
#D8EC73 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.17
#D8EC73 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8EC73
16.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8EC73#FFFFFF#000000##000000
##D8EC731.001.3016.1716.17
#FFFFFF1.301.0021.0021.00
#00000016.1721.001.001.00
##00000016.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE168
Deuteranopia (green-blind)
#F8E37A
Tritanopia (blue-blind)
#E3E1D1
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #d8ec73;
/* rgb */ color: rgb(216, 236, 115);
/* oklch */ color: oklch(90.4% 0.148 117.2);
Tailwind
colors: {
  custom: {
    50: '#e6f29e',
    500: '#d8ec73',
    950: '#000000',
  },
}
SCSS
$custom: #d8ec73;
$custom-light: #e6f29e;
$custom-dark: #000000;
JSON
{
  "hex": "#d8ec73",
  "rgb": {
    "r": 216,
    "g": 236,
    "b": 115
  },
  "hsl": {
    "h": 69.917,
    "s": 76.101,
    "l": 68.824
  },
  "oklch": {
    "l": 0.90367,
    "c": 0.14796,
    "h": 117.2
  },
  "luminance": 0.75828
}

Semantic roles & 50–950 ramp

primary
#D8EC73
secondary
#553FC4
accent
#0DD82F
background
#FEFFFC
surface
#FDFEF5
border
#D5D6CF
text
#16160F
muted
#848580

Preview Lab

Preview with #D8EC73

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

Preview Lab → · Contrast checker → · Palette generator →

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