#D8F152#D8F152

#D8F152 is a very light, vivid yellow. Relative luminance 0.781; OKLCH L 91.1% C 0.181 H 117.8°. Best body text is #000000 at 16.62:1 contrast (WCAG AA passes).

Color values

HEX#D8F152
RGBrgb(216, 241, 82)
HSLhsl(69, 85%, 63%)
HSVhsv(69, 66%, 95%)
CMYKcmyk(10.4%, 0%, 66%, 5.5%)
CIE-LABlab(90.83, -28.50, 70.83)
CIE-LCHlch(90.83, 76.35, 111.92°)
OKLaboklab(91.12% -0.0843 0.1598)
OKLCHoklch(91.12% 0.181 117.8)
XYZxyz(61.2984, 78.1193, 19.8303)
Luminance0.7812 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8F152 #6B52F1
analogous
#F1BA52 #D8F152 #88F152
triadic
#D8F152 #52D8F1 #F152D8
tetradic
#D8F152 #52F1BA #6B52F1 #F15288
square
#D8F152 #52F1BA #6B52F1 #F15288
split-complementary
#D8F152 #5288F1 #BA52F1
monochromatic
#9FBA0F #CBEC19 #D8F152 #E5F68B #F2FAC3

Accessibility & contrast

On white

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

On black

16.62
#D8F152 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8F152
16.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8F152#FFFFFF#000000##000000
##D8F1521.001.2616.6216.62
#FFFFFF1.261.0021.0021.00
#00000016.6221.001.001.00
##00000016.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE43B
Deuteranopia (green-blind)
#FEE65E
Tritanopia (blue-blind)
#E4E4D1
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #d8f152;
/* rgb */ color: rgb(216, 241, 82);
/* oklch */ color: oklch(91.1% 0.181 117.8);
Tailwind
colors: {
  custom: {
    50: '#e7f58b',
    500: '#d8f152',
    950: '#000000',
  },
}
SCSS
$custom: #d8f152;
$custom-light: #e7f58b;
$custom-dark: #000000;
JSON
{
  "hex": "#d8f152",
  "rgb": {
    "r": 216,
    "g": 241,
    "b": 82
  },
  "hsl": {
    "h": 69.434,
    "s": 85.027,
    "l": 63.333
  },
  "oklch": {
    "l": 0.9112,
    "c": 0.18065,
    "h": 117.8
  },
  "luminance": 0.78119
}

Semantic roles & 50–950 ramp

primary
#D8F152
secondary
#442FB8
accent
#04E227
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#16170C
muted
#85857F

Preview Lab

Preview with #D8F152

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

Preview Lab → · Contrast checker → · Palette generator →

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