#1FA42F#1FA42F

#1FA42F is a light, vivid green. Relative luminance 0.270; OKLCH L 62.8% C 0.190 H 144.2°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#1FA42F
RGBrgb(31, 164, 47)
HSLhsl(127, 68%, 38%)
HSVhsv(127, 81%, 64%)
CMYKcmyk(81.1%, 0%, 71.3%, 35.7%)
CIE-LABlab(59.02, -57.09, 48.64)
CIE-LCHlch(59.02, 75.00, 139.57°)
OKLaboklab(62.8% -0.1543 0.1111)
OKLCHoklch(62.8% 0.19 144.2)
XYZxyz(14.3526, 27.0457, 7.1527)
Luminance0.2705 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1FA42F #A41F94
analogous
#51A41F #1FA42F #1FA471
triadic
#1FA42F #2F1FA4 #A42F1F
tetradic
#1FA42F #1F51A4 #A41F94 #A4711F
square
#1FA42F #1F51A4 #A41F94 #A4711F
split-complementary
#1FA42F #711FA4 #A41F51
monochromatic
#0C3D11 #157120 #1FA42F #2AD73E #5DE06D

Accessibility & contrast

On white

3.28
#1FA42F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.41
#1FA42F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1FA42F
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1FA42F#FFFFFF#000000##000000
##1FA42F1.003.286.416.41
#FFFFFF3.281.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A7941D
Deuteranopia (green-blind)
#998A3B
Tritanopia (blue-blind)
#009F8D
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #1fa42f;
/* rgb */ color: rgb(31, 164, 47);
/* oklch */ color: oklch(62.8% 0.190 144.2);
Tailwind
colors: {
  custom: {
    50: '#74c06e',
    500: '#1fa42f',
    950: '#000000',
  },
}
SCSS
$custom: #1fa42f;
$custom-light: #74c06e;
$custom-dark: #000000;
JSON
{
  "hex": "#1fa42f",
  "rgb": {
    "r": 31,
    "g": 164,
    "b": 47
  },
  "hsl": {
    "h": 127.218,
    "s": 68.205,
    "l": 38.235
  },
  "oklch": {
    "l": 0.62796,
    "c": 0.19011,
    "h": 144.2
  },
  "luminance": 0.27047
}

Semantic roles & 50–950 ramp

primary
#1FA42F
secondary
#C55AB8
accent
#3DD6EB
background
#F7FCF6
surface
#EEF8EC
border
#C9D1C7
text
#0A1208
muted
#7C817B

Preview Lab

Preview with #1FA42F

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

Preview Lab → · Contrast checker → · Palette generator →

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