#D7FA78#D7FA78

#D7FA78 is a very light, vivid yellow-green. Relative luminance 0.842; OKLCH L 93.4% C 0.161 H 122.1°. Best body text is #000000 at 17.83:1 contrast (WCAG AA passes).

Color values

HEX#D7FA78
RGBrgb(215, 250, 120)
HSLhsl(76, 93%, 73%)
HSVhsv(76, 52%, 98%)
CMYKcmyk(14%, 0%, 52%, 2%)
CIE-LABlab(93.53, -30.23, 57.90)
CIE-LCHlch(93.53, 65.31, 117.57°)
OKLaboklab(93.37% -0.0856 0.1366)
OKLCHoklch(93.37% 0.161 122.1)
XYZxyz(65.6005, 84.1743, 30.5569)
Luminance0.8417 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7FA78 #9B78FA
analogous
#FADC78 #D7FA78 #96FA78
triadic
#D7FA78 #78D7FA #FA78D7
tetradic
#D7FA78 #78FADC #9B78FA #FA7896
square
#D7FA78 #78FADC #9B78FA #FA7896
split-complementary
#D7FA78 #7896FA #DC78FA
monochromatic
#B1EF09 #C6F83D #D7FA78 #E8FCB3 #F6FEE1

Accessibility & contrast

On white

1.18
#D7FA78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.83
#D7FA78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7FA78
17.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7FA78#FFFFFF#000000##000000
##D7FA781.001.1817.8317.83
#FFFFFF1.181.0021.0021.00
#00000017.8321.001.001.00
##00000017.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED6C
Deuteranopia (green-blind)
#FFEC80
Tritanopia (blue-blind)
#E0EFDD
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #d7fa78;
/* rgb */ color: rgb(215, 250, 120);
/* oklch */ color: oklch(93.4% 0.161 122.1);
Tailwind
colors: {
  custom: {
    50: '#e5fca2',
    500: '#d7fa78',
    950: '#000000',
  },
}
SCSS
$custom: #d7fa78;
$custom-light: #e5fca2;
$custom-dark: #000000;
JSON
{
  "hex": "#d7fa78",
  "rgb": {
    "r": 215,
    "g": 250,
    "b": 120
  },
  "hsl": {
    "h": 76.154,
    "s": 92.857,
    "l": 72.549
  },
  "oklch": {
    "l": 0.93373,
    "c": 0.1612,
    "h": 122.1
  },
  "luminance": 0.84174
}

Semantic roles & 50–950 ramp

primary
#D7FA78
secondary
#6840D6
accent
#00E63E
background
#FEFFFC
surface
#FDFFF6
border
#D5D7D0
text
#16170F
muted
#848580

Preview Lab

Preview with #D7FA78

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

Preview Lab → · Contrast checker → · Palette generator →

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