#D6F862#D6F862

#D6F862 is a very light, vivid yellow-green. Relative luminance 0.823; OKLCH L 92.6% C 0.178 H 120.8°. Best body text is #000000 at 17.46:1 contrast (WCAG AA passes).

Color values

HEX#D6F862
RGBrgb(214, 248, 98)
HSLhsl(74, 91%, 68%)
HSVhsv(74, 60%, 97%)
CMYKcmyk(13.7%, 0%, 60.5%, 2.7%)
CIE-LABlab(92.71, -31.48, 66.46)
CIE-LCHlch(92.71, 73.54, 115.34°)
OKLaboklab(92.64% -0.091 0.1527)
OKLCHoklch(92.64% 0.178 120.8)
XYZxyz(63.5043, 82.3129, 24.0954)
Luminance0.8231 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6F862 #8462F8
analogous
#F8CF62 #D6F862 #8BF862
triadic
#D6F862 #62D6F8 #F862D6
tetradic
#D6F862 #62F8CF #8462F8 #F8628B
square
#D6F862 #62F8CF #8462F8 #F8628B
split-complementary
#D6F862 #628BF8 #CF62F8
monochromatic
#A8D60A #C7F527 #D6F862 #E5FB9D #F5FDD7

Accessibility & contrast

On white

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

On black

17.46
#D6F862 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6F862
17.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6F862#FFFFFF#000000##000000
##D6F8621.001.2017.4617.46
#FFFFFF1.201.0021.0021.00
#00000017.4621.001.001.00
##00000017.4621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d6f862;
/* rgb */ color: rgb(214, 248, 98);
/* oklch */ color: oklch(92.6% 0.178 120.8);
Tailwind
colors: {
  custom: {
    50: '#e5fa94',
    500: '#d6f862',
    950: '#000000',
  },
}
SCSS
$custom: #d6f862;
$custom-light: #e5fa94;
$custom-dark: #000000;
JSON
{
  "hex": "#d6f862",
  "rgb": {
    "r": 214,
    "g": 248,
    "b": 98
  },
  "hsl": {
    "h": 73.6,
    "s": 91.463,
    "l": 67.843
  },
  "oklch": {
    "l": 0.92636,
    "c": 0.17778,
    "h": 120.8
  },
  "luminance": 0.82313
}

Semantic roles & 50–950 ramp

primary
#D6F862
secondary
#532ED0
accent
#00E634
background
#FEFFFC
surface
#FDFFF5
border
#D5D7CF
text
#16170E
muted
#84857F

Preview Lab

Preview with #D6F862

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

Preview Lab → · Contrast checker → · Palette generator →

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