#D8F158#D8F158

#D8F158 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.64:1 contrast (WCAG AA passes).

Color values

HEX#D8F158
RGBrgb(216, 241, 88)
HSLhsl(70, 85%, 65%)
HSVhsv(70, 63%, 95%)
CMYKcmyk(10.4%, 0%, 63.5%, 5.5%)
CIE-LABlab(90.88, -28.13, 68.56)
CIE-LCHlch(90.88, 74.11, 112.31°)
OKLaboklab(91.17% -0.0827 0.1558)
OKLCHoklch(91.17% 0.176 118)
XYZxyz(61.5368, 78.2147, 21.0858)
Luminance0.7821 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8F158 #7158F1
analogous
#F1BE58 #D8F158 #8CF158
triadic
#D8F158 #58D8F1 #F158D8
tetradic
#D8F158 #58F1BE #7158F1 #F1588C
square
#D8F158 #58F1BE #7158F1 #F1588C
split-complementary
#D8F158 #588CF1 #BE58F1
monochromatic
#A2BF10 #CBEC20 #D8F158 #E5F690 #F2FAC9

Accessibility & contrast

On white

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

On black

16.64
#D8F158 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8F158
16.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8F158#FFFFFF#000000##000000
##D8F1581.001.2616.6416.64
#FFFFFF1.261.0021.0021.00
#00000016.6421.001.001.00
##00000016.6421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d8f158;
/* rgb */ color: rgb(216, 241, 88);
/* oklch */ color: oklch(91.2% 0.176 118.0);
Tailwind
colors: {
  custom: {
    50: '#e7f58e',
    500: '#d8f158',
    950: '#000000',
  },
}
SCSS
$custom: #d8f158;
$custom-light: #e7f58e;
$custom-dark: #000000;
JSON
{
  "hex": "#d8f158",
  "rgb": {
    "r": 216,
    "g": 241,
    "b": 88
  },
  "hsl": {
    "h": 69.804,
    "s": 84.53,
    "l": 64.51
  },
  "oklch": {
    "l": 0.91169,
    "c": 0.17642,
    "h": 118
  },
  "luminance": 0.78214
}

Semantic roles & 50–950 ramp

primary
#D8F158
secondary
#4730BD
accent
#05E129
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#16170D
muted
#85857F

Preview Lab

Preview with #D8F158

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

Preview Lab → · Contrast checker → · Palette generator →

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