#D8EB4F#D8EB4F

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

Color values

HEX#D8EB4F
RGBrgb(216, 235, 79)
HSLhsl(67, 80%, 62%)
HSVhsv(67, 66%, 92%)
CMYKcmyk(8.1%, 0%, 66.4%, 7.8%)
CIE-LABlab(89.20, -25.85, 70.28)
CIE-LCHlch(89.20, 74.89, 110.20°)
OKLaboklab(89.8% -0.0772 0.1582)
OKLCHoklch(89.8% 0.176 116)
XYZxyz(59.4399, 74.5809, 18.6599)
Luminance0.7458 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8EB4F #624FEB
analogous
#EBB04F #D8EB4F #8AEB4F
triadic
#D8EB4F #4FD8EB #EB4FD8
tetradic
#D8EB4F #4FEBB0 #624FEB #EB4F8A
square
#D8EB4F #4FEBB0 #624FEB #EB4F8A
split-complementary
#D8EB4F #4F8AEB #B04FEB
monochromatic
#99AC14 #CAE31A #D8EB4F #E4F186 #F0F7BD

Accessibility & contrast

On white

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

On black

15.92
#D8EB4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8EB4F
15.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8EB4F#FFFFFF#000000##000000
##D8EB4F1.001.3215.9215.92
#FFFFFF1.321.0021.0021.00
#00000015.9221.001.001.00
##00000015.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBDF38
Deuteranopia (green-blind)
#F9E15A
Tritanopia (blue-blind)
#E5DECC
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #d8eb4f;
/* rgb */ color: rgb(216, 235, 79);
/* oklch */ color: oklch(89.8% 0.176 116.0);
Tailwind
colors: {
  custom: {
    50: '#e7f188',
    500: '#d8eb4f',
    950: '#000000',
  },
}
SCSS
$custom: #d8eb4f;
$custom-light: #e7f188;
$custom-dark: #000000;
JSON
{
  "hex": "#d8eb4f",
  "rgb": {
    "r": 216,
    "g": 235,
    "b": 79
  },
  "hsl": {
    "h": 67.308,
    "s": 79.592,
    "l": 61.569
  },
  "oklch": {
    "l": 0.89798,
    "c": 0.17601,
    "h": 116
  },
  "luminance": 0.7458
}

Semantic roles & 50–950 ramp

primary
#D8EB4F
secondary
#4031AD
accent
#0ADC23
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#16160C
muted
#85857F

Preview Lab

Preview with #D8EB4F

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

Preview Lab → · Contrast checker → · Palette generator →

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