#D3F178#D3F178

#D3F178 is a very light, vivid yellow-green. Relative luminance 0.781; OKLCH L 91.1% C 0.151 H 121.0°. Best body text is #000000 at 16.62:1 contrast (WCAG AA passes).

Color values

HEX#D3F178
RGBrgb(211, 241, 120)
HSLhsl(75, 81%, 71%)
HSVhsv(75, 50%, 95%)
CMYKcmyk(12.4%, 0%, 50.2%, 5.5%)
CIE-LABlab(90.83, -27.53, 54.64)
CIE-LCHlch(90.83, 61.19, 116.74°)
OKLaboklab(91.14% -0.0778 0.1296)
OKLCHoklch(91.14% 0.151 121)
XYZxyz(61.7098, 78.1156, 29.5925)
Luminance0.7812 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3F178 #9678F1
analogous
#F1D278 #D3F178 #96F178
triadic
#D3F178 #78D3F1 #F178D3
tetradic
#D3F178 #78F1D2 #9678F1 #F17896
square
#D3F178 #78F1D2 #9678F1 #F17896
split-complementary
#D3F178 #7896F1 #D278F1
monochromatic
#A8D816 #C1EB41 #D3F178 #E5F7AF #F6FCE3

Accessibility & contrast

On white

1.26
#D3F178 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.62
#D3F178 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3F178
16.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3F178#FFFFFF#000000##000000
##D3F1781.001.2616.6216.62
#FFFFFF1.261.0021.0021.00
#00000016.6221.001.001.00
##00000016.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE56D
Deuteranopia (green-blind)
#FAE57F
Tritanopia (blue-blind)
#DCE7D5
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #d3f178;
/* rgb */ color: rgb(211, 241, 120);
/* oklch */ color: oklch(91.1% 0.151 121.0);
Tailwind
colors: {
  custom: {
    50: '#e2f5a2',
    500: '#d3f178',
    950: '#000000',
  },
}
SCSS
$custom: #d3f178;
$custom-light: #e2f5a2;
$custom-dark: #000000;
JSON
{
  "hex": "#d3f178",
  "rgb": {
    "r": 211,
    "g": 241,
    "b": 120
  },
  "hsl": {
    "h": 74.876,
    "s": 81.208,
    "l": 70.784
  },
  "oklch": {
    "l": 0.91142,
    "c": 0.15114,
    "h": 121
  },
  "luminance": 0.78116
}

Semantic roles & 50–950 ramp

primary
#D3F178
secondary
#6442CB
accent
#08DE3D
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#16170F
muted
#848580

Preview Lab

Preview with #D3F178

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

Preview Lab → · Contrast checker → · Palette generator →

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