#D8F552#D8F552

#D8F552 is a very light, vivid yellow-green. Relative luminance 0.805; OKLCH L 92.0% C 0.185 H 118.9°. Best body text is #000000 at 17.10:1 contrast (WCAG AA passes).

Color values

HEX#D8F552
RGBrgb(216, 245, 82)
HSLhsl(71, 89%, 64%)
HSVhsv(71, 67%, 96%)
CMYKcmyk(11.8%, 0%, 66.5%, 3.9%)
CIE-LABlab(91.91, -30.37, 71.94)
CIE-LCHlch(91.91, 78.08, 112.89°)
OKLaboklab(91.99% -0.0895 0.1621)
OKLCHoklch(91.99% 0.185 118.9)
XYZxyz(62.4955, 80.5134, 20.2293)
Luminance0.8051 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8F552 #6F52F5
analogous
#F5C152 #D8F552 #87F552
triadic
#D8F552 #52D8F5 #F552D8
tetradic
#D8F552 #52F5C1 #6F52F5 #F55287
square
#D8F552 #52F5C1 #6F52F5 #F55287
split-complementary
#D8F552 #5287F5 #C152F5
monochromatic
#A1C10B #CBF218 #D8F552 #E5F88C #F2FCC6

Accessibility & contrast

On white

1.23
#D8F552 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.10
#D8F552 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8F552
17.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8F552#FFFFFF#000000##000000
##D8F5521.001.2317.1017.10
#FFFFFF1.231.0021.0021.00
#00000017.1021.001.001.00
##00000017.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE83A
Deuteranopia (green-blind)
#FFE85E
Tritanopia (blue-blind)
#E4E8D4
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #d8f552;
/* rgb */ color: rgb(216, 245, 82);
/* oklch */ color: oklch(92.0% 0.185 118.9);
Tailwind
colors: {
  custom: {
    50: '#e7f88b',
    500: '#d8f552',
    950: '#000000',
  },
}
SCSS
$custom: #d8f552;
$custom-light: #e7f88b;
$custom-dark: #000000;
JSON
{
  "hex": "#d8f552",
  "rgb": {
    "r": 216,
    "g": 245,
    "b": 82
  },
  "hsl": {
    "h": 70.675,
    "s": 89.071,
    "l": 64.118
  },
  "oklch": {
    "l": 0.91989,
    "c": 0.18516,
    "h": 118.9
  },
  "luminance": 0.80513
}

Semantic roles & 50–950 ramp

primary
#D8F552
secondary
#462CBF
accent
#00E629
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#16170D
muted
#85857F

Preview Lab

Preview with #D8F552

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

Preview Lab → · Contrast checker → · Palette generator →

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