#D4F87B#D4F87B

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

Color values

HEX#D4F87B
RGBrgb(212, 248, 123)
HSLhsl(77, 90%, 73%)
HSVhsv(77, 50%, 97%)
CMYKcmyk(14.5%, 0%, 50.4%, 2.7%)
CIE-LABlab(92.82, -30.15, 55.65)
CIE-LCHlch(92.82, 63.29, 118.44°)
OKLaboklab(92.77% -0.085 0.132)
OKLCHoklch(92.77% 0.157 122.8)
XYZxyz(64.2942, 82.5617, 31.2839)
Luminance0.8256 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4F87B #9F7BF8
analogous
#F8DD7B #D4F87B #95F87B
triadic
#D4F87B #7BD4F8 #F87BD4
tetradic
#D4F87B #7BF8DD #9F7BF8 #F87B95
square
#D4F87B #7BF8DD #9F7BF8 #F87B95
split-complementary
#D4F87B #7B95F8 #DD7BF8
monochromatic
#ACEC0D #C1F541 #D4F87B #E7FBB5 #F6FDE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D4F87B#FFFFFF#000000##000000
##D4F87B1.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)
#FFEB70
Deuteranopia (green-blind)
#FFEA82
Tritanopia (blue-blind)
#DCEEDC
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #d4f87b;
/* rgb */ color: rgb(212, 248, 123);
/* oklch */ color: oklch(92.8% 0.157 122.8);
Tailwind
colors: {
  custom: {
    50: '#e3faa4',
    500: '#d4f87b',
    950: '#000000',
  },
}
SCSS
$custom: #d4f87b;
$custom-light: #e3faa4;
$custom-dark: #000000;
JSON
{
  "hex": "#d4f87b",
  "rgb": {
    "r": 212,
    "g": 248,
    "b": 123
  },
  "hsl": {
    "h": 77.28,
    "s": 89.928,
    "l": 72.745
  },
  "oklch": {
    "l": 0.92768,
    "c": 0.15698,
    "h": 122.8
  },
  "luminance": 0.82562
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D4F87B

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

Preview Lab → · Contrast checker → · Palette generator →

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