#D8F261#D8F261

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

Color values

HEX#D8F261
RGBrgb(216, 242, 97)
HSLhsl(71, 85%, 66%)
HSVhsv(71, 60%, 95%)
CMYKcmyk(10.7%, 0%, 59.9%, 5.1%)
CIE-LABlab(91.22, -27.99, 65.28)
CIE-LCHlch(91.22, 71.03, 113.20°)
OKLaboklab(91.47% -0.0815 0.1501)
OKLCHoklch(91.47% 0.171 118.5)
XYZxyz(62.2297, 78.9667, 23.2707)
Luminance0.7897 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8F261 #7B61F2
analogous
#F2C461 #D8F261 #90F261
triadic
#D8F261 #61D8F2 #F261D8
tetradic
#D8F261 #61F2C4 #7B61F2 #F26190
square
#D8F261 #61F2C4 #7B61F2 #F26190
split-complementary
#D8F261 #6190F2 #C461F2
monochromatic
#A7C810 #CAED28 #D8F261 #E6F79A #F4FBD2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D8F261#FFFFFF#000000##000000
##D8F2611.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)
#FFE650
Deuteranopia (green-blind)
#FEE66B
Tritanopia (blue-blind)
#E4E6D3
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #d8f261;
/* rgb */ color: rgb(216, 242, 97);
/* oklch */ color: oklch(91.5% 0.171 118.5);
Tailwind
colors: {
  custom: {
    50: '#e7f693',
    500: '#d8f261',
    950: '#000000',
  },
}
SCSS
$custom: #d8f261;
$custom-light: #e7f693;
$custom-dark: #000000;
JSON
{
  "hex": "#d8f261",
  "rgb": {
    "r": 216,
    "g": 242,
    "b": 97
  },
  "hsl": {
    "h": 70.759,
    "s": 84.795,
    "l": 66.471
  },
  "oklch": {
    "l": 0.91466,
    "c": 0.17075,
    "h": 118.5
  },
  "luminance": 0.78966
}

Semantic roles & 50–950 ramp

primary
#D8F261
secondary
#4D32C5
accent
#04E12C
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#16170D
muted
#85857F

Preview Lab

Preview with #D8F261

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

Preview Lab → · Contrast checker → · Palette generator →

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