#D7F261#D7F261

#D7F261 is a very light, vivid yellow-green. Relative luminance 0.788; OKLCH L 91.4% C 0.171 H 118.8°. Best body text is #000000 at 16.76:1 contrast (WCAG AA passes).

Color values

HEX#D7F261
RGBrgb(215, 242, 97)
HSLhsl(71, 85%, 66%)
HSVhsv(71, 60%, 95%)
CMYKcmyk(11.2%, 0%, 59.9%, 5.1%)
CIE-LABlab(91.15, -28.37, 65.19)
CIE-LCHlch(91.15, 71.10, 113.52°)
OKLaboklab(91.39% -0.0825 0.1499)
OKLCHoklch(91.39% 0.171 118.8)
XYZxyz(61.9351, 78.8148, 23.2569)
Luminance0.7881 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7F261 #7C61F2
analogous
#F2C461 #D7F261 #8FF261
triadic
#D7F261 #61D7F2 #F261D7
tetradic
#D7F261 #61F2C4 #7C61F2 #F2618F
square
#D7F261 #61F2C4 #7C61F2 #F2618F
split-complementary
#D7F261 #618FF2 #C461F2
monochromatic
#A6C810 #C9ED28 #D7F261 #E5F79A #F4FBD2

Accessibility & contrast

On white

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

On black

16.76
#D7F261 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7F261
16.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7F261#FFFFFF#000000##000000
##D7F2611.001.2516.7616.76
#FFFFFF1.251.0021.0021.00
#00000016.7621.001.001.00
##00000016.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE650
Deuteranopia (green-blind)
#FDE66B
Tritanopia (blue-blind)
#E2E6D3
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #d7f261;
/* rgb */ color: rgb(215, 242, 97);
/* oklch */ color: oklch(91.4% 0.171 118.8);
Tailwind
colors: {
  custom: {
    50: '#e6f693',
    500: '#d7f261',
    950: '#000000',
  },
}
SCSS
$custom: #d7f261;
$custom-light: #e6f693;
$custom-dark: #000000;
JSON
{
  "hex": "#d7f261",
  "rgb": {
    "r": 215,
    "g": 242,
    "b": 97
  },
  "hsl": {
    "h": 71.172,
    "s": 84.795,
    "l": 66.471
  },
  "oklch": {
    "l": 0.91394,
    "c": 0.17108,
    "h": 118.8
  },
  "luminance": 0.78814
}

Semantic roles & 50–950 ramp

primary
#D7F261
secondary
#4E32C5
accent
#04E12D
background
#FEFFFC
surface
#FDFEF5
border
#D5D6CF
text
#16170D
muted
#84857F

Preview Lab

Preview with #D7F261

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

Preview Lab → · Contrast checker → · Palette generator →

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