#D1F862#D1F862

#D1F862 is a very light, vivid yellow-green. Relative luminance 0.816; OKLCH L 92.3% C 0.180 H 122.3°. Best body text is #000000 at 17.31:1 contrast (WCAG AA passes).

Color values

HEX#D1F862
RGBrgb(209, 248, 98)
HSLhsl(76, 91%, 68%)
HSVhsv(76, 60%, 97%)
CMYKcmyk(15.7%, 0%, 60.5%, 2.7%)
CIE-LABlab(92.39, -33.39, 66.01)
CIE-LCHlch(92.39, 73.98, 116.83°)
OKLaboklab(92.29% -0.0961 0.1518)
OKLCHoklch(92.29% 0.18 122.3)
XYZxyz(62.0671, 81.5718, 24.0280)
Luminance0.8157 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1F862 #8962F8
analogous
#F8D462 #D1F862 #86F862
triadic
#D1F862 #62D1F8 #F862D1
tetradic
#D1F862 #62F8D4 #8962F8 #F86286
square
#D1F862 #62F8D4 #8962F8 #F86286
split-complementary
#D1F862 #6286F8 #D462F8
monochromatic
#A1D60A #C0F527 #D1F862 #E2FB9D #F3FDD7

Accessibility & contrast

On white

1.21
#D1F862 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.31
#D1F862 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1F862
17.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1F862#FFFFFF#000000##000000
##D1F8621.001.2117.3117.31
#FFFFFF1.211.0021.0021.00
#00000017.3121.001.001.00
##00000017.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA50
Deuteranopia (green-blind)
#FFE96C
Tritanopia (blue-blind)
#DBECD8
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #d1f862;
/* rgb */ color: rgb(209, 248, 98);
/* oklch */ color: oklch(92.3% 0.180 122.3);
Tailwind
colors: {
  custom: {
    50: '#e2fa94',
    500: '#d1f862',
    950: '#000000',
  },
}
SCSS
$custom: #d1f862;
$custom-light: #e2fa94;
$custom-dark: #000000;
JSON
{
  "hex": "#d1f862",
  "rgb": {
    "r": 209,
    "g": 248,
    "b": 98
  },
  "hsl": {
    "h": 75.6,
    "s": 91.463,
    "l": 67.843
  },
  "oklch": {
    "l": 0.92289,
    "c": 0.17968,
    "h": 122.3
  },
  "luminance": 0.81572
}

Semantic roles & 50–950 ramp

primary
#D1F862
secondary
#582ED0
accent
#00E63C
background
#FEFFFC
surface
#FCFFF5
border
#D5D7CF
text
#16170E
muted
#84857F

Preview Lab

Preview with #D1F862

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

Preview Lab → · Contrast checker → · Palette generator →

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