#D5F862#D5F862

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

Color values

HEX#D5F862
RGBrgb(213, 248, 98)
HSLhsl(74, 91%, 68%)
HSVhsv(74, 60%, 97%)
CMYKcmyk(14.1%, 0%, 60.5%, 2.7%)
CIE-LABlab(92.65, -31.86, 66.37)
CIE-LCHlch(92.65, 73.62, 115.64°)
OKLaboklab(92.57% -0.092 0.1525)
OKLCHoklch(92.57% 0.178 121.1)
XYZxyz(63.2133, 82.1628, 24.0817)
Luminance0.8216 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5F862 #8562F8
analogous
#F8D062 #D5F862 #8AF862
triadic
#D5F862 #62D5F8 #F862D5
tetradic
#D5F862 #62F8D0 #8562F8 #F8628A
square
#D5F862 #62F8D0 #8562F8 #F8628A
split-complementary
#D5F862 #628AF8 #D062F8
monochromatic
#A6D60A #C5F527 #D5F862 #E5FB9D #F4FDD7

Accessibility & contrast

On white

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

On black

17.43
#D5F862 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5F862
17.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5F862#FFFFFF#000000##000000
##D5F8621.001.2017.4317.43
#FFFFFF1.201.0021.0021.00
#00000017.4321.001.001.00
##00000017.4321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d5f862;
/* rgb */ color: rgb(213, 248, 98);
/* oklch */ color: oklch(92.6% 0.178 121.1);
Tailwind
colors: {
  custom: {
    50: '#e5fa94',
    500: '#d5f862',
    950: '#000000',
  },
}
SCSS
$custom: #d5f862;
$custom-light: #e5fa94;
$custom-dark: #000000;
JSON
{
  "hex": "#d5f862",
  "rgb": {
    "r": 213,
    "g": 248,
    "b": 98
  },
  "hsl": {
    "h": 74,
    "s": 91.463,
    "l": 67.843
  },
  "oklch": {
    "l": 0.92566,
    "c": 0.17816,
    "h": 121.1
  },
  "luminance": 0.82163
}

Semantic roles & 50–950 ramp

primary
#D5F862
secondary
#542ED0
accent
#00E636
background
#FEFFFC
surface
#FDFFF5
border
#D5D7CF
text
#16170E
muted
#84857F

Preview Lab

Preview with #D5F862

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

Preview Lab → · Contrast checker → · Palette generator →

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