#D2FA78#D2FA78

#D2FA78 is a very light, vivid yellow-green. Relative luminance 0.834; OKLCH L 93.0% C 0.163 H 123.7°. Best body text is #000000 at 17.69:1 contrast (WCAG AA passes).

Color values

HEX#D2FA78
RGBrgb(210, 250, 120)
HSLhsl(78, 93%, 73%)
HSVhsv(78, 52%, 98%)
CMYKcmyk(16%, 0%, 52%, 2%)
CIE-LABlab(93.20, -32.10, 57.43)
CIE-LCHlch(93.20, 65.80, 119.20°)
OKLaboklab(93.03% -0.0906 0.1357)
OKLCHoklch(93.03% 0.163 123.7)
XYZxyz(64.1543, 83.4286, 30.4892)
Luminance0.8343 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2FA78 #A078FA
analogous
#FAE178 #D2FA78 #91FA78
triadic
#D2FA78 #78D2FA #FA78D2
tetradic
#D2FA78 #78FAE1 #A078FA #FA7891
square
#D2FA78 #78FAE1 #A078FA #FA7891
split-complementary
#D2FA78 #7891FA #E178FA
monochromatic
#A8EF09 #BEF83D #D2FA78 #E6FCB3 #F5FEE1

Accessibility & contrast

On white

1.19
#D2FA78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.69
#D2FA78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2FA78
17.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2FA78#FFFFFF#000000##000000
##D2FA781.001.1917.6917.69
#FFFFFF1.191.0021.0021.00
#00000017.6921.001.001.00
##00000017.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED6C
Deuteranopia (green-blind)
#FFEB80
Tritanopia (blue-blind)
#DAEFDD
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #d2fa78;
/* rgb */ color: rgb(210, 250, 120);
/* oklch */ color: oklch(93.0% 0.163 123.7);
Tailwind
colors: {
  custom: {
    50: '#e2fca2',
    500: '#d2fa78',
    950: '#000000',
  },
}
SCSS
$custom: #d2fa78;
$custom-light: #e2fca2;
$custom-dark: #000000;
JSON
{
  "hex": "#d2fa78",
  "rgb": {
    "r": 210,
    "g": 250,
    "b": 120
  },
  "hsl": {
    "h": 78.462,
    "s": 92.857,
    "l": 72.549
  },
  "oklch": {
    "l": 0.9303,
    "c": 0.16312,
    "h": 123.7
  },
  "luminance": 0.83429
}

Semantic roles & 50–950 ramp

primary
#D2FA78
secondary
#6E40D6
accent
#00E647
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#16170F
muted
#848580

Preview Lab

Preview with #D2FA78

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

Preview Lab → · Contrast checker → · Palette generator →

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