#D8F25F#D8F25F

#D8F25F is a very light, vivid yellow-green. Relative luminance 0.789; OKLCH L 91.4% C 0.172 H 118.4°. Best body text is #000000 at 16.79:1 contrast (WCAG AA passes).

Color values

HEX#D8F25F
RGBrgb(216, 242, 95)
HSLhsl(71, 85%, 66%)
HSVhsv(71, 61%, 95%)
CMYKcmyk(10.7%, 0%, 60.7%, 5.1%)
CIE-LABlab(91.20, -28.13, 66.09)
CIE-LCHlch(91.20, 71.83, 113.05°)
OKLaboklab(91.45% -0.0821 0.1515)
OKLCHoklch(91.45% 0.172 118.4)
XYZxyz(62.1376, 78.9299, 22.7858)
Luminance0.7893 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8F25F #795FF2
analogous
#F2C25F #D8F25F #8EF25F
triadic
#D8F25F #5FD8F2 #F25FD8
tetradic
#D8F25F #5FF2C2 #795FF2 #F25F8E
square
#D8F25F #5FF2C2 #795FF2 #F25F8E
split-complementary
#D8F25F #5F8EF2 #C25FF2
monochromatic
#A6C610 #CAED26 #D8F25F #E6F798 #F4FBD0

Accessibility & contrast

On white

1.25
#D8F25F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.79
#D8F25F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8F25F
16.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8F25F#FFFFFF#000000##000000
##D8F25F1.001.2516.7916.79
#FFFFFF1.251.0021.0021.00
#00000016.7921.001.001.00
##00000016.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE64D
Deuteranopia (green-blind)
#FEE669
Tritanopia (blue-blind)
#E4E6D3
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #d8f25f;
/* rgb */ color: rgb(216, 242, 95);
/* oklch */ color: oklch(91.4% 0.172 118.4);
Tailwind
colors: {
  custom: {
    50: '#e7f692',
    500: '#d8f25f',
    950: '#000000',
  },
}
SCSS
$custom: #d8f25f;
$custom-light: #e7f692;
$custom-dark: #000000;
JSON
{
  "hex": "#d8f25f",
  "rgb": {
    "r": 216,
    "g": 242,
    "b": 95
  },
  "hsl": {
    "h": 70.612,
    "s": 84.971,
    "l": 66.078
  },
  "oklch": {
    "l": 0.91448,
    "c": 0.17232,
    "h": 118.4
  },
  "luminance": 0.78929
}

Semantic roles & 50–950 ramp

primary
#D8F25F
secondary
#4B32C4
accent
#04E12B
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#16170D
muted
#85857F

Preview Lab

Preview with #D8F25F

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

Preview Lab → · Contrast checker → · Palette generator →

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