#D8F159#D8F159

#D8F159 is a very light, vivid yellow. Relative luminance 0.782; OKLCH L 91.2% C 0.176 H 118.0°. Best body text is #000000 at 16.65:1 contrast (WCAG AA passes).

Color values

HEX#D8F159
RGBrgb(216, 241, 89)
HSLhsl(70, 84%, 65%)
HSVhsv(70, 63%, 95%)
CMYKcmyk(10.4%, 0%, 63.1%, 5.5%)
CIE-LABlab(90.89, -28.07, 68.17)
CIE-LCHlch(90.89, 73.73, 112.38°)
OKLaboklab(91.18% -0.0825 0.1551)
OKLCHoklch(91.18% 0.176 118)
XYZxyz(61.5785, 78.2313, 21.3054)
Luminance0.7823 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8F159 #7259F1
analogous
#F1BE59 #D8F159 #8CF159
triadic
#D8F159 #59D8F1 #F159D8
tetradic
#D8F159 #59F1BE #7259F1 #F1598C
square
#D8F159 #59F1BE #7259F1 #F1598C
split-complementary
#D8F159 #598CF1 #BE59F1
monochromatic
#A3BF10 #CBEC21 #D8F159 #E5F691 #F3FBCA

Accessibility & contrast

On white

1.26
#D8F159 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.65
#D8F159 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8F159
16.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8F159#FFFFFF#000000##000000
##D8F1591.001.2616.6516.65
#FFFFFF1.261.0021.0021.00
#00000016.6521.001.001.00
##00000016.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE545
Deuteranopia (green-blind)
#FDE664
Tritanopia (blue-blind)
#E4E4D2
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #d8f159;
/* rgb */ color: rgb(216, 241, 89);
/* oklch */ color: oklch(91.2% 0.176 118.0);
Tailwind
colors: {
  custom: {
    50: '#e7f58f',
    500: '#d8f159',
    950: '#000000',
  },
}
SCSS
$custom: #d8f159;
$custom-light: #e7f58f;
$custom-dark: #000000;
JSON
{
  "hex": "#d8f159",
  "rgb": {
    "r": 216,
    "g": 241,
    "b": 89
  },
  "hsl": {
    "h": 69.868,
    "s": 84.444,
    "l": 64.706
  },
  "oklch": {
    "l": 0.91178,
    "c": 0.1757,
    "h": 118
  },
  "luminance": 0.78231
}

Semantic roles & 50–950 ramp

primary
#D8F159
secondary
#4831BE
accent
#05E129
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#16170D
muted
#85857F

Preview Lab

Preview with #D8F159

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

Preview Lab → · Contrast checker → · Palette generator →

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