#D3F271#D3F271

#D3F271 is a very light, vivid yellow-green. Relative luminance 0.785; OKLCH L 91.3% C 0.159 H 120.9°. Best body text is #000000 at 16.71:1 contrast (WCAG AA passes).

Color values

HEX#D3F271
RGBrgb(211, 242, 113)
HSLhsl(74, 83%, 70%)
HSVhsv(74, 53%, 95%)
CMYKcmyk(12.8%, 0%, 53.3%, 5.1%)
CIE-LABlab(91.03, -28.64, 58.06)
CIE-LCHlch(91.03, 64.73, 116.26°)
OKLaboklab(91.28% -0.0815 0.1364)
OKLCHoklch(91.28% 0.159 120.9)
XYZxyz(61.5973, 78.5455, 27.5353)
Luminance0.7854 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3F271 #9071F2
analogous
#F2D171 #D3F271 #92F271
triadic
#D3F271 #71D3F2 #F271D3
tetradic
#D3F271 #71F2D1 #9071F2 #F27192
square
#D3F271 #71F2D1 #9071F2 #F27192
split-complementary
#D3F271 #7192F2 #D171F2
monochromatic
#A7D514 #C2ED39 #D3F271 #E4F7A9 #F6FCE1

Accessibility & contrast

On white

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

On black

16.71
#D3F271 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3F271
16.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3F271#FFFFFF#000000##000000
##D3F2711.001.2616.7116.71
#FFFFFF1.261.0021.0021.00
#00000016.7121.001.001.00
##00000016.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE664
Deuteranopia (green-blind)
#FBE579
Tritanopia (blue-blind)
#DDE7D5
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #d3f271;
/* rgb */ color: rgb(211, 242, 113);
/* oklch */ color: oklch(91.3% 0.159 120.9);
Tailwind
colors: {
  custom: {
    50: '#e3f69d',
    500: '#d3f271',
    950: '#000000',
  },
}
SCSS
$custom: #d3f271;
$custom-light: #e3f69d;
$custom-dark: #000000;
JSON
{
  "hex": "#d3f271",
  "rgb": {
    "r": 211,
    "g": 242,
    "b": 113
  },
  "hsl": {
    "h": 74.419,
    "s": 83.226,
    "l": 69.608
  },
  "oklch": {
    "l": 0.91275,
    "c": 0.1589,
    "h": 120.9
  },
  "luminance": 0.78545
}

Semantic roles & 50–950 ramp

primary
#D3F271
secondary
#5E3CCB
accent
#06E03A
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#16170F
muted
#848580

Preview Lab

Preview with #D3F271

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

Preview Lab → · Contrast checker → · Palette generator →

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