#D8EB4A#D8EB4A

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

Color values

HEX#D8EB4A
RGBrgb(216, 235, 74)
HSLhsl(67, 80%, 61%)
HSVhsv(67, 69%, 92%)
CMYKcmyk(8.1%, 0%, 68.5%, 7.8%)
CIE-LABlab(89.16, -26.13, 72.09)
CIE-LCHlch(89.16, 76.68, 109.93°)
OKLaboklab(89.76% -0.0785 0.1612)
OKLCHoklch(89.76% 0.179 116)
XYZxyz(59.2647, 74.5109, 17.7373)
Luminance0.7451 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8EB4A #5D4AEB
analogous
#EBAE4A #D8EB4A #87EB4A
triadic
#D8EB4A #4AD8EB #EB4AD8
tetradic
#D8EB4A #4AEBAE #5D4AEB #EB4A87
square
#D8EB4A #4AEBAE #5D4AEB #EB4A87
split-complementary
#D8EB4A #4A87EB #AE4AEB
monochromatic
#96A813 #C8DF19 #D8EB4A #E4F181 #F0F7B8

Accessibility & contrast

On white

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

On black

15.90
#D8EB4A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8EB4A
15.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8EB4A#FFFFFF#000000##000000
##D8EB4A1.001.3215.9015.90
#FFFFFF1.321.0021.0021.00
#00000015.9021.001.001.00
##00000015.9021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d8eb4a;
/* rgb */ color: rgb(216, 235, 74);
/* oklch */ color: oklch(89.8% 0.179 116.0);
Tailwind
colors: {
  custom: {
    50: '#e8f186',
    500: '#d8eb4a',
    950: '#000000',
  },
}
SCSS
$custom: #d8eb4a;
$custom-light: #e8f186;
$custom-dark: #000000;
JSON
{
  "hex": "#d8eb4a",
  "rgb": {
    "r": 216,
    "g": 235,
    "b": 74
  },
  "hsl": {
    "h": 67.081,
    "s": 80.1,
    "l": 60.588
  },
  "oklch": {
    "l": 0.89761,
    "c": 0.17928,
    "h": 116
  },
  "luminance": 0.7451
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D8EB4A

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

Preview Lab → · Contrast checker → · Palette generator →

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