#D4F87C#D4F87C

#D4F87C is a very light, vivid yellow-green. Relative luminance 0.826; OKLCH L 92.8% C 0.156 H 122.8°. Best body text is #000000 at 17.52:1 contrast (WCAG AA passes).

Color values

HEX#D4F87C
RGBrgb(212, 248, 124)
HSLhsl(77, 90%, 73%)
HSVhsv(77, 50%, 97%)
CMYKcmyk(14.5%, 0%, 50%, 2.7%)
CIE-LABlab(92.83, -30.05, 55.21)
CIE-LCHlch(92.83, 62.86, 118.56°)
OKLaboklab(92.78% -0.0846 0.1311)
OKLCHoklch(92.78% 0.156 122.8)
XYZxyz(64.3571, 82.5869, 31.6153)
Luminance0.8259 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4F87C #A07CF8
analogous
#F8DE7C #D4F87C #96F87C
triadic
#D4F87C #7CD4F8 #F87CD4
tetradic
#D4F87C #7CF8DE #A07CF8 #F87C96
square
#D4F87C #7CF8DE #A07CF8 #F87C96
split-complementary
#D4F87C #7C96F8 #DE7CF8
monochromatic
#ACED0D #C1F542 #D4F87C #E7FBB6 #F5FDE2

Accessibility & contrast

On white

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

On black

17.52
#D4F87C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4F87C
17.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4F87C#FFFFFF#000000##000000
##D4F87C1.001.2017.5217.52
#FFFFFF1.201.0021.0021.00
#00000017.5221.001.001.00
##00000017.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB71
Deuteranopia (green-blind)
#FFEA83
Tritanopia (blue-blind)
#DCEEDC
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #d4f87c;
/* rgb */ color: rgb(212, 248, 124);
/* oklch */ color: oklch(92.8% 0.156 122.8);
Tailwind
colors: {
  custom: {
    50: '#e3faa5',
    500: '#d4f87c',
    950: '#000000',
  },
}
SCSS
$custom: #d4f87c;
$custom-light: #e3faa5;
$custom-dark: #000000;
JSON
{
  "hex": "#d4f87c",
  "rgb": {
    "r": 212,
    "g": 248,
    "b": 124
  },
  "hsl": {
    "h": 77.419,
    "s": 89.855,
    "l": 72.941
  },
  "oklch": {
    "l": 0.9278,
    "c": 0.15603,
    "h": 122.8
  },
  "luminance": 0.82587
}

Semantic roles & 50–950 ramp

primary
#D4F87C
secondary
#6E44D4
accent
#00E643
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#16170F
muted
#848580

Preview Lab

Preview with #D4F87C

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

Preview Lab → · Contrast checker → · Palette generator →

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