#D8EB4C#D8EB4C

#D8EB4C is a very light, vivid yellow. Relative luminance 0.745; OKLCH L 89.8% C 0.178 H 116.0°. Best body text is #000000 at 15.91:1 contrast (WCAG AA passes).

Color values

HEX#D8EB4C
RGBrgb(216, 235, 76)
HSLhsl(67, 80%, 61%)
HSVhsv(67, 68%, 92%)
CMYKcmyk(8.1%, 0%, 67.7%, 7.8%)
CIE-LABlab(89.18, -26.02, 71.37)
CIE-LCHlch(89.18, 75.97, 110.03°)
OKLaboklab(89.78% -0.078 0.16)
OKLCHoklch(89.78% 0.178 116)
XYZxyz(59.3332, 74.5382, 18.0978)
Luminance0.7454 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8EB4C #5F4CEB
analogous
#EBAE4C #D8EB4C #88EB4C
triadic
#D8EB4C #4CD8EB #EB4CD8
tetradic
#D8EB4C #4CEBAE #5F4CEB #EB4C88
square
#D8EB4C #4CEBAE #5F4CEB #EB4C88
split-complementary
#D8EB4C #4C88EB #AE4CEB
monochromatic
#98AA13 #C9E119 #D8EB4C #E4F183 #F0F7BA

Accessibility & contrast

On white

1.32
#D8EB4C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.91
#D8EB4C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8EB4C
15.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8EB4C#FFFFFF#000000##000000
##D8EB4C1.001.3215.9115.91
#FFFFFF1.321.0021.0021.00
#00000015.9121.001.001.00
##00000015.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBDF33
Deuteranopia (green-blind)
#F9E158
Tritanopia (blue-blind)
#E5DECB
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #d8eb4c;
/* rgb */ color: rgb(216, 235, 76);
/* oklch */ color: oklch(89.8% 0.178 116.0);
Tailwind
colors: {
  custom: {
    50: '#e7f187',
    500: '#d8eb4c',
    950: '#000000',
  },
}
SCSS
$custom: #d8eb4c;
$custom-light: #e7f187;
$custom-dark: #000000;
JSON
{
  "hex": "#d8eb4c",
  "rgb": {
    "r": 216,
    "g": 235,
    "b": 76
  },
  "hsl": {
    "h": 67.17,
    "s": 79.899,
    "l": 60.98
  },
  "oklch": {
    "l": 0.89776,
    "c": 0.178,
    "h": 116
  },
  "luminance": 0.74537
}

Semantic roles & 50–950 ramp

primary
#D8EB4C
secondary
#3F30AB
accent
#09DC22
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#16160C
muted
#85857F

Preview Lab

Preview with #D8EB4C

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

Preview Lab → · Contrast checker → · Palette generator →

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