#D8FB2E#D8FB2E

#D8FB2E is a very light, highly saturated yellow-green. Relative luminance 0.838; OKLCH L 93.1% C 0.210 H 119.7°. Best body text is #000000 at 17.76:1 contrast (WCAG AA passes).

Color values

HEX#D8FB2E
RGBrgb(216, 251, 46)
HSLhsl(70, 96%, 58%)
HSVhsv(70, 82%, 98%)
CMYKcmyk(13.9%, 0%, 81.7%, 1.6%)
CIE-LABlab(93.36, -34.71, 84.30)
CIE-LCHlch(93.36, 91.16, 112.38°)
OKLaboklab(93.1% -0.1042 0.1826)
OKLCHoklch(93.1% 0.21 119.7)
XYZxyz(63.3106, 83.7909, 15.4222)
Luminance0.8379 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8FB2E #512EFB
analogous
#FBB72E #D8FB2E #71FB2E
triadic
#D8FB2E #2ED8FB #FB2ED8
tetradic
#D8FB2E #2EFBB7 #512EFB #FB2E71
square
#D8FB2E #2EFBB7 #512EFB #FB2E71
split-complementary
#D8FB2E #2E71FB #B72EFB
monochromatic
#8FAB03 #C1E704 #D8FB2E #E3FC6A #EEFDA6

Accessibility & contrast

On white

1.18
#D8FB2E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.76
#D8FB2E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8FB2E
17.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8FB2E#FFFFFF#000000##000000
##D8FB2E1.001.1817.7617.76
#FFFFFF1.181.0021.0021.00
#00000017.7621.001.001.00
##00000017.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC00
Deuteranopia (green-blind)
#FFEC45
Tritanopia (blue-blind)
#E5EDD7
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #d8fb2e;
/* rgb */ color: rgb(216, 251, 46);
/* oklch */ color: oklch(93.1% 0.210 119.7);
Tailwind
colors: {
  custom: {
    50: '#e9fc7b',
    500: '#d8fb2e',
    950: '#000000',
  },
}
SCSS
$custom: #d8fb2e;
$custom-light: #e9fc7b;
$custom-dark: #000000;
JSON
{
  "hex": "#d8fb2e",
  "rgb": {
    "r": 216,
    "g": 251,
    "b": 46
  },
  "hsl": {
    "h": 70.244,
    "s": 96.244,
    "l": 58.235
  },
  "oklch": {
    "l": 0.93095,
    "c": 0.21023,
    "h": 119.7
  },
  "luminance": 0.83791
}

Semantic roles & 50–950 ramp

primary
#D8FB2E
secondary
#3921AC
accent
#29FF4D
background
#FFFFFB
surface
#FEFFF2
border
#D6D7CC
text
#17170B
muted
#85857E

Preview Lab

Preview with #D8FB2E

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

Preview Lab → · Contrast checker → · Palette generator →

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