#D4F862#D4F862

#D4F862 is a very light, vivid yellow-green. Relative luminance 0.820; OKLCH L 92.5% C 0.179 H 121.4°. Best body text is #000000 at 17.40:1 contrast (WCAG AA passes).

Color values

HEX#D4F862
RGBrgb(212, 248, 98)
HSLhsl(74, 91%, 68%)
HSVhsv(74, 60%, 97%)
CMYKcmyk(14.5%, 0%, 60.5%, 2.7%)
CIE-LABlab(92.58, -32.25, 66.28)
CIE-LCHlch(92.58, 73.71, 115.94°)
OKLaboklab(92.5% -0.093 0.1524)
OKLCHoklch(92.5% 0.179 121.4)
XYZxyz(62.9241, 82.0137, 24.0682)
Luminance0.8201 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4F862 #8662F8
analogous
#F8D162 #D4F862 #89F862
triadic
#D4F862 #62D4F8 #F862D4
tetradic
#D4F862 #62F8D1 #8662F8 #F86289
square
#D4F862 #62F8D1 #8662F8 #F86289
split-complementary
#D4F862 #6289F8 #D162F8
monochromatic
#A5D60A #C4F527 #D4F862 #E4FB9D #F4FDD7

Accessibility & contrast

On white

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

On black

17.40
#D4F862 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4F862
17.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4F862#FFFFFF#000000##000000
##D4F8621.001.2117.4017.40
#FFFFFF1.211.0021.0021.00
#00000017.4021.001.001.00
##00000017.4021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d4f862;
/* rgb */ color: rgb(212, 248, 98);
/* oklch */ color: oklch(92.5% 0.179 121.4);
Tailwind
colors: {
  custom: {
    50: '#e4fa94',
    500: '#d4f862',
    950: '#000000',
  },
}
SCSS
$custom: #d4f862;
$custom-light: #e4fa94;
$custom-dark: #000000;
JSON
{
  "hex": "#d4f862",
  "rgb": {
    "r": 212,
    "g": 248,
    "b": 98
  },
  "hsl": {
    "h": 74.4,
    "s": 91.463,
    "l": 67.843
  },
  "oklch": {
    "l": 0.92496,
    "c": 0.17853,
    "h": 121.4
  },
  "luminance": 0.82014
}

Semantic roles & 50–950 ramp

primary
#D4F862
secondary
#552ED0
accent
#00E637
background
#FEFFFC
surface
#FDFFF5
border
#D5D7CF
text
#16170E
muted
#84857F

Preview Lab

Preview with #D4F862

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

Preview Lab → · Contrast checker → · Palette generator →

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