#D2F862#D2F862

#D2F862 is a very light, vivid yellow-green. Relative luminance 0.817; OKLCH L 92.4% C 0.179 H 122.0°. Best body text is #000000 at 17.34:1 contrast (WCAG AA passes).

Color values

HEX#D2F862
RGBrgb(210, 248, 98)
HSLhsl(75, 91%, 68%)
HSVhsv(75, 60%, 97%)
CMYKcmyk(15.3%, 0%, 60.5%, 2.7%)
CIE-LABlab(92.45, -33.01, 66.10)
CIE-LCHlch(92.45, 73.89, 116.54°)
OKLaboklab(92.36% -0.0951 0.152)
OKLCHoklch(92.36% 0.179 122)
XYZxyz(62.3510, 81.7182, 24.0413)
Luminance0.8172 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2F862 #8862F8
analogous
#F8D362 #D2F862 #87F862
triadic
#D2F862 #62D2F8 #F862D2
tetradic
#D2F862 #62F8D3 #8862F8 #F86287
square
#D2F862 #62F8D3 #8862F8 #F86287
split-complementary
#D2F862 #6287F8 #D362F8
monochromatic
#A2D60A #C1F527 #D2F862 #E3FB9D #F4FDD7

Accessibility & contrast

On white

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

On black

17.34
#D2F862 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2F862
17.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2F862#FFFFFF#000000##000000
##D2F8621.001.2117.3417.34
#FFFFFF1.211.0021.0021.00
#00000017.3421.001.001.00
##00000017.3421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2f862;
/* rgb */ color: rgb(210, 248, 98);
/* oklch */ color: oklch(92.4% 0.179 122.0);
Tailwind
colors: {
  custom: {
    50: '#e3fa94',
    500: '#d2f862',
    950: '#000000',
  },
}
SCSS
$custom: #d2f862;
$custom-light: #e3fa94;
$custom-dark: #000000;
JSON
{
  "hex": "#d2f862",
  "rgb": {
    "r": 210,
    "g": 248,
    "b": 98
  },
  "hsl": {
    "h": 75.2,
    "s": 91.463,
    "l": 67.843
  },
  "oklch": {
    "l": 0.92358,
    "c": 0.17929,
    "h": 122
  },
  "luminance": 0.81718
}

Semantic roles & 50–950 ramp

primary
#D2F862
secondary
#572ED0
accent
#00E63A
background
#FEFFFC
surface
#FCFFF5
border
#D5D7CF
text
#16170E
muted
#84857F

Preview Lab

Preview with #D2F862

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

Preview Lab → · Contrast checker → · Palette generator →

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