#D7F862#D7F862

#D7F862 is a very light, vivid yellow-green. Relative luminance 0.825; OKLCH L 92.7% C 0.177 H 120.5°. Best body text is #000000 at 17.49:1 contrast (WCAG AA passes).

Color values

HEX#D7F862
RGBrgb(215, 248, 98)
HSLhsl(73, 91%, 68%)
HSVhsv(73, 60%, 97%)
CMYKcmyk(13.3%, 0%, 60.5%, 2.7%)
CIE-LABlab(92.78, -31.09, 66.55)
CIE-LCHlch(92.78, 73.46, 115.04°)
OKLaboklab(92.71% -0.09 0.1529)
OKLCHoklch(92.71% 0.177 120.5)
XYZxyz(63.7972, 82.4639, 24.1091)
Luminance0.8246 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7F862 #8362F8
analogous
#F8CE62 #D7F862 #8CF862
triadic
#D7F862 #62D7F8 #F862D7
tetradic
#D7F862 #62F8CE #8362F8 #F8628C
square
#D7F862 #62F8CE #8362F8 #F8628C
split-complementary
#D7F862 #628CF8 #CE62F8
monochromatic
#A9D60A #C8F527 #D7F862 #E6FB9D #F5FDD7

Accessibility & contrast

On white

1.20
#D7F862 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.49
#D7F862 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7F862
17.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7F862#FFFFFF#000000##000000
##D7F8621.001.2017.4917.49
#FFFFFF1.201.0021.0021.00
#00000017.4921.001.001.00
##00000017.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB50
Deuteranopia (green-blind)
#FFEB6C
Tritanopia (blue-blind)
#E2ECD8
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #d7f862;
/* rgb */ color: rgb(215, 248, 98);
/* oklch */ color: oklch(92.7% 0.177 120.5);
Tailwind
colors: {
  custom: {
    50: '#e6fa94',
    500: '#d7f862',
    950: '#000000',
  },
}
SCSS
$custom: #d7f862;
$custom-light: #e6fa94;
$custom-dark: #000000;
JSON
{
  "hex": "#d7f862",
  "rgb": {
    "r": 215,
    "g": 248,
    "b": 98
  },
  "hsl": {
    "h": 73.2,
    "s": 91.463,
    "l": 67.843
  },
  "oklch": {
    "l": 0.92706,
    "c": 0.17742,
    "h": 120.5
  },
  "luminance": 0.82464
}

Semantic roles & 50–950 ramp

primary
#D7F862
secondary
#522ED0
accent
#00E632
background
#FFFFFC
surface
#FEFFF5
border
#D6D7CF
text
#16170E
muted
#85857F

Preview Lab

Preview with #D7F862

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

Preview Lab → · Contrast checker → · Palette generator →

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