#D7F266#D7F266

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

Color values

HEX#D7F266
RGBrgb(215, 242, 102)
HSLhsl(72, 84%, 67%)
HSVhsv(72, 58%, 95%)
CMYKcmyk(11.2%, 0%, 57.9%, 5.1%)
CIE-LABlab(91.19, -28.00, 63.13)
CIE-LCHlch(91.19, 69.06, 113.92°)
OKLaboklab(91.44% -0.081 0.1461)
OKLCHoklch(91.44% 0.167 119)
XYZxyz(62.1756, 78.9110, 24.5237)
Luminance0.7891 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7F266 #8166F2
analogous
#F2C766 #D7F266 #91F266
triadic
#D7F266 #66D7F2 #F266D7
tetradic
#D7F266 #66F2C7 #8166F2 #F26691
square
#D7F266 #66F2C7 #8166F2 #F26691
split-complementary
#D7F266 #6691F2 #C766F2
monochromatic
#A8CC11 #C8ED2E #D7F266 #E6F79E #F4FCD7

Accessibility & contrast

On white

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

On black

16.78
#D7F266 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7F266
16.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7F266#FFFFFF#000000##000000
##D7F2661.001.2516.7816.78
#FFFFFF1.251.0021.0021.00
#00000016.7821.001.001.00
##00000016.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE657
Deuteranopia (green-blind)
#FDE66F
Tritanopia (blue-blind)
#E2E6D4
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #d7f266;
/* rgb */ color: rgb(215, 242, 102);
/* oklch */ color: oklch(91.4% 0.167 119.0);
Tailwind
colors: {
  custom: {
    50: '#e6f696',
    500: '#d7f266',
    950: '#000000',
  },
}
SCSS
$custom: #d7f266;
$custom-light: #e6f696;
$custom-dark: #000000;
JSON
{
  "hex": "#d7f266",
  "rgb": {
    "r": 215,
    "g": 242,
    "b": 102
  },
  "hsl": {
    "h": 71.571,
    "s": 84.337,
    "l": 67.451
  },
  "oklch": {
    "l": 0.91443,
    "c": 0.16703,
    "h": 119
  },
  "luminance": 0.78911
}

Semantic roles & 50–950 ramp

primary
#D7F266
secondary
#5034C9
accent
#05E12F
background
#FEFFFC
surface
#FDFEF5
border
#D5D6CF
text
#16170E
muted
#84857F

Preview Lab

Preview with #D7F266

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

Preview Lab → · Contrast checker → · Palette generator →

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