#1FC240#1FC240

#1FC240 is a light, highly saturated green. Relative luminance 0.392; OKLCH L 71.1% C 0.212 H 145.3°. Best body text is #000000 at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#1FC240
RGBrgb(31, 194, 64)
HSLhsl(132, 72%, 44%)
HSVhsv(132, 84%, 76%)
CMYKcmyk(84%, 0%, 67%, 23.9%)
CIE-LABlab(68.93, -64.85, 52.36)
CIE-LCHlch(68.93, 83.35, 141.08°)
OKLaboklab(71.08% -0.1747 0.1209)
OKLCHoklch(71.08% 0.212 145.3)
XYZxyz(20.7807, 39.2424, 11.3288)
Luminance0.3925 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1FC240 #C21FA1
analogous
#50C21F #1FC240 #1FC292
triadic
#1FC240 #401FC2 #C2401F
tetradic
#1FC240 #1F50C2 #C21FA1 #C2921F
square
#1FC240 #1F50C2 #C21FA1 #C2921F
split-complementary
#1FC240 #921FC2 #C21F50
monochromatic
#0E581D #178D2F #1FC240 #3EE05F #73E98B

Accessibility & contrast

On white

2.37
#1FC240 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.85
#1FC240 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #1FC240
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1FC240#FFFFFF#000000##000000
##1FC2401.002.378.858.85
#FFFFFF2.371.0021.0021.00
#0000008.8521.001.001.00
##0000008.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AF2F
Deuteranopia (green-blind)
#B4A44C
Tritanopia (blue-blind)
#00BDA7
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #1fc240;
/* rgb */ color: rgb(31, 194, 64);
/* oklch */ color: oklch(71.1% 0.212 145.3);
Tailwind
colors: {
  custom: {
    50: '#7bd67b',
    500: '#1fc240',
    950: '#000000',
  },
}
SCSS
$custom: #1fc240;
$custom-light: #7bd67b;
$custom-dark: #000000;
JSON
{
  "hex": "#1fc240",
  "rgb": {
    "r": 31,
    "g": 194,
    "b": 64
  },
  "hsl": {
    "h": 132.147,
    "s": 72.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.71081,
    "c": 0.21245,
    "h": 145.3
  },
  "luminance": 0.39245
}

Semantic roles & 50–950 ramp

primary
#1FC240
secondary
#CF6DBC
accent
#39CAEF
background
#F8FDF7
surface
#EFFAEE
border
#CAD3C9
text
#0B140A
muted
#7C837C

Preview Lab

Preview with #1FC240

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

Preview Lab → · Contrast checker → · Palette generator →

#1FC240 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva