#1FA740#1FA740

#1FA740 is a light, vivid green. Relative luminance 0.283; OKLCH L 63.8% C 0.181 H 146.5°. Best body text is #000000 at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#1FA740
RGBrgb(31, 167, 64)
HSLhsl(135, 69%, 39%)
HSVhsv(135, 81%, 65%)
CMYKcmyk(81.4%, 0%, 61.7%, 34.5%)
CIE-LABlab(60.16, -56.22, 42.58)
CIE-LCHlch(60.16, 70.53, 142.86°)
OKLaboklab(63.79% -0.1512 0.1001)
OKLCHoklch(63.79% 0.181 146.5)
XYZxyz(15.3080, 28.2970, 9.5046)
Luminance0.2830 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1FA740 #A71F86
analogous
#42A71F #1FA740 #1FA784
triadic
#1FA740 #401FA7 #A7401F
tetradic
#1FA740 #1F42A7 #A71F86 #A7841F
square
#1FA740 #1F42A7 #A71F86 #A7841F
split-complementary
#1FA740 #841FA7 #A71F42
monochromatic
#0C4018 #15732C #1FA740 #2BD855 #5FE17F

Accessibility & contrast

On white

3.15
#1FA740 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.66
#1FA740 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1FA740
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1FA740#FFFFFF#000000##000000
##1FA7401.003.156.666.66
#FFFFFF3.151.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99735
Deuteranopia (green-blind)
#9B8D49
Tritanopia (blue-blind)
#00A391
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #1fa740;
/* rgb */ color: rgb(31, 167, 64);
/* oklch */ color: oklch(63.8% 0.181 146.5);
Tailwind
colors: {
  custom: {
    50: '#74c278',
    500: '#1fa740',
    950: '#000000',
  },
}
SCSS
$custom: #1fa740;
$custom-light: #74c278;
$custom-dark: #000000;
JSON
{
  "hex": "#1fa740",
  "rgb": {
    "r": 31,
    "g": 167,
    "b": 64
  },
  "hsl": {
    "h": 134.559,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.63791,
    "c": 0.18137,
    "h": 146.5
  },
  "luminance": 0.28299
}

Semantic roles & 50–950 ramp

primary
#1FA740
secondary
#C65CAC
accent
#3CC1EC
background
#F7FCF7
surface
#EEF8ED
border
#C9D1C8
text
#0A1309
muted
#7C827B

Preview Lab

Preview with #1FA740

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

Preview Lab → · Contrast checker → · Palette generator →

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