#D8F260#D8F260

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

Color values

HEX#D8F260
RGBrgb(216, 242, 96)
HSLhsl(71, 85%, 66%)
HSVhsv(71, 60%, 95%)
CMYKcmyk(10.7%, 0%, 60.3%, 5.1%)
CIE-LABlab(91.21, -28.06, 65.69)
CIE-LCHlch(91.21, 71.43, 113.13°)
OKLaboklab(91.46% -0.0818 0.1508)
OKLCHoklch(91.46% 0.172 118.5)
XYZxyz(62.1834, 78.9482, 23.0267)
Luminance0.7895 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8F260 #7A60F2
analogous
#F2C360 #D8F260 #8FF260
triadic
#D8F260 #60D8F2 #F260D8
tetradic
#D8F260 #60F2C3 #7A60F2 #F2608F
square
#D8F260 #60F2C3 #7A60F2 #F2608F
split-complementary
#D8F260 #608FF2 #C360F2
monochromatic
#A7C710 #CAED27 #D8F260 #E6F799 #F4FBD1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D8F260#FFFFFF#000000##000000
##D8F2601.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)
#FFE64F
Deuteranopia (green-blind)
#FEE66A
Tritanopia (blue-blind)
#E4E6D3
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #d8f260;
/* rgb */ color: rgb(216, 242, 96);
/* oklch */ color: oklch(91.5% 0.172 118.5);
Tailwind
colors: {
  custom: {
    50: '#e7f693',
    500: '#d8f260',
    950: '#000000',
  },
}
SCSS
$custom: #d8f260;
$custom-light: #e7f693;
$custom-dark: #000000;
JSON
{
  "hex": "#d8f260",
  "rgb": {
    "r": 216,
    "g": 242,
    "b": 96
  },
  "hsl": {
    "h": 70.685,
    "s": 84.884,
    "l": 66.275
  },
  "oklch": {
    "l": 0.91457,
    "c": 0.17154,
    "h": 118.5
  },
  "luminance": 0.78948
}

Semantic roles & 50–950 ramp

primary
#D8F260
secondary
#4C32C4
accent
#04E12C
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#16170D
muted
#85857F

Preview Lab

Preview with #D8F260

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

Preview Lab → · Contrast checker → · Palette generator →

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