#1FB240#1FB240

#1FB240 is a light, vivid green. Relative luminance 0.325; OKLCH L 66.8% C 0.194 H 145.9°. Best body text is #000000 at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#1FB240
RGBrgb(31, 178, 64)
HSLhsl(133, 70%, 41%)
HSVhsv(133, 83%, 70%)
CMYKcmyk(82.6%, 0%, 64%, 30.2%)
CIE-LABlab(63.75, -59.81, 46.66)
CIE-LCHlch(63.75, 75.86, 142.04°)
OKLaboklab(66.78% -0.161 0.1088)
OKLCHoklch(66.78% 0.194 145.9)
XYZxyz(17.4096, 32.5001, 10.2051)
Luminance0.3250 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1FB240 #B21F91
analogous
#48B21F #1FB240 #1FB289
triadic
#1FB240 #401FB2 #B2401F
tetradic
#1FB240 #1F48B2 #B21F91 #B2891F
square
#1FB240 #1F48B2 #B21F91 #B2891F
split-complementary
#1FB240 #891FB2 #B21F48
monochromatic
#0D4A1B #167E2D #1FB240 #33DB59 #67E583

Accessibility & contrast

On white

2.80
#1FB240 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.50
#1FB240 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #1FB240
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1FB240#FFFFFF#000000##000000
##1FB2401.002.807.507.50
#FFFFFF2.801.0021.0021.00
#0000007.5021.001.001.00
##0000007.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A132
Deuteranopia (green-blind)
#A5964A
Tritanopia (blue-blind)
#00AE9A
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #1fb240;
/* rgb */ color: rgb(31, 178, 64);
/* oklch */ color: oklch(66.8% 0.194 145.9);
Tailwind
colors: {
  custom: {
    50: '#77ca79',
    500: '#1fb240',
    950: '#000000',
  },
}
SCSS
$custom: #1fb240;
$custom-light: #77ca79;
$custom-dark: #000000;
JSON
{
  "hex": "#1fb240",
  "rgb": {
    "r": 31,
    "g": 178,
    "b": 64
  },
  "hsl": {
    "h": 133.469,
    "s": 70.335,
    "l": 40.98
  },
  "oklch": {
    "l": 0.6678,
    "c": 0.19432,
    "h": 145.9
  },
  "luminance": 0.32502
}

Semantic roles & 50–950 ramp

primary
#1FB240
secondary
#CA63B3
accent
#3BC5ED
background
#F8FCF7
surface
#EFF9EE
border
#CAD2C9
text
#0A1309
muted
#7C827B

Preview Lab

Preview with #1FB240

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

Preview Lab → · Contrast checker → · Palette generator →

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