#D4F87A#D4F87A

#D4F87A is a very light, vivid yellow-green. Relative luminance 0.825; OKLCH L 92.8% C 0.158 H 122.7°. Best body text is #000000 at 17.51:1 contrast (WCAG AA passes).

Color values

HEX#D4F87A
RGBrgb(212, 248, 122)
HSLhsl(77, 90%, 73%)
HSVhsv(77, 51%, 97%)
CMYKcmyk(14.5%, 0%, 50.8%, 2.7%)
CIE-LABlab(92.81, -30.24, 56.10)
CIE-LCHlch(92.81, 63.73, 118.33°)
OKLaboklab(92.76% -0.0853 0.1329)
OKLCHoklch(92.76% 0.158 122.7)
XYZxyz(64.2319, 82.5368, 30.9559)
Luminance0.8254 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4F87A #9E7AF8
analogous
#F8DD7A #D4F87A #95F87A
triadic
#D4F87A #7AD4F8 #F87AD4
tetradic
#D4F87A #7AF8DD #9E7AF8 #F87A95
square
#D4F87A #7AF8DD #9E7AF8 #F87A95
split-complementary
#D4F87A #7A95F8 #DD7AF8
monochromatic
#ACEB0C #C1F540 #D4F87A #E7FBB4 #F6FDE2

Accessibility & contrast

On white

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

On black

17.51
#D4F87A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4F87A
17.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4F87A#FFFFFF#000000##000000
##D4F87A1.001.2017.5117.51
#FFFFFF1.201.0021.0021.00
#00000017.5121.001.001.00
##00000017.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB6E
Deuteranopia (green-blind)
#FFEA81
Tritanopia (blue-blind)
#DDEDDB
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #d4f87a;
/* rgb */ color: rgb(212, 248, 122);
/* oklch */ color: oklch(92.8% 0.158 122.7);
Tailwind
colors: {
  custom: {
    50: '#e3faa3',
    500: '#d4f87a',
    950: '#000000',
  },
}
SCSS
$custom: #d4f87a;
$custom-light: #e3faa3;
$custom-dark: #000000;
JSON
{
  "hex": "#d4f87a",
  "rgb": {
    "r": 212,
    "g": 248,
    "b": 122
  },
  "hsl": {
    "h": 77.143,
    "s": 90,
    "l": 72.549
  },
  "oklch": {
    "l": 0.92756,
    "c": 0.15792,
    "h": 122.7
  },
  "luminance": 0.82537
}

Semantic roles & 50–950 ramp

primary
#D4F87A
secondary
#6C42D4
accent
#00E642
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#16170F
muted
#848580

Preview Lab

Preview with #D4F87A

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

Preview Lab → · Contrast checker → · Palette generator →

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