#D9F862#D9F862

#D9F862 is a very light, vivid yellow-green. Relative luminance 0.828; OKLCH L 92.8% C 0.177 H 119.9°. Best body text is #000000 at 17.55:1 contrast (WCAG AA passes).

Color values

HEX#D9F862
RGBrgb(217, 248, 98)
HSLhsl(72, 91%, 68%)
HSVhsv(72, 60%, 97%)
CMYKcmyk(12.5%, 0%, 60.5%, 2.7%)
CIE-LABlab(92.91, -30.32, 66.74)
CIE-LCHlch(92.91, 73.30, 114.43°)
OKLaboklab(92.85% -0.088 0.1532)
OKLCHoklch(92.85% 0.177 119.9)
XYZxyz(64.3882, 82.7686, 24.1368)
Luminance0.8277 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9F862 #8162F8
analogous
#F8CC62 #D9F862 #8EF862
triadic
#D9F862 #62D9F8 #F862D9
tetradic
#D9F862 #62F8CC #8162F8 #F8628E
square
#D9F862 #62F8CC #8162F8 #F8628E
split-complementary
#D9F862 #628EF8 #CC62F8
monochromatic
#ACD60A #CBF527 #D9F862 #E7FB9D #F5FDD7

Accessibility & contrast

On white

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

On black

17.55
#D9F862 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9F862
17.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9F862#FFFFFF#000000##000000
##D9F8621.001.2017.5517.55
#FFFFFF1.201.0021.0021.00
#00000017.5521.001.001.00
##00000017.5521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d9f862;
/* rgb */ color: rgb(217, 248, 98);
/* oklch */ color: oklch(92.8% 0.177 119.9);
Tailwind
colors: {
  custom: {
    50: '#e8fa94',
    500: '#d9f862',
    950: '#000000',
  },
}
SCSS
$custom: #d9f862;
$custom-light: #e8fa94;
$custom-dark: #000000;
JSON
{
  "hex": "#d9f862",
  "rgb": {
    "r": 217,
    "g": 248,
    "b": 98
  },
  "hsl": {
    "h": 72.4,
    "s": 91.463,
    "l": 67.843
  },
  "oklch": {
    "l": 0.92847,
    "c": 0.1767,
    "h": 119.9
  },
  "luminance": 0.82768
}

Semantic roles & 50–950 ramp

primary
#D9F862
secondary
#4F2ED0
accent
#00E62F
background
#FFFFFC
surface
#FEFFF5
border
#D6D7CF
text
#16170E
muted
#85857F

Preview Lab

Preview with #D9F862

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

Preview Lab → · Contrast checker → · Palette generator →

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