#1FA047#1FA047

#1FA047 is a mid, vivid green. Relative luminance 0.259; OKLCH L 62.0% C 0.167 H 148.3°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#1FA047
RGBrgb(31, 160, 71)
HSLhsl(139, 68%, 37%)
HSVhsv(139, 81%, 63%)
CMYKcmyk(80.6%, 0%, 55.6%, 37.3%)
CIE-LABlab(57.93, -52.90, 36.62)
CIE-LCHlch(57.93, 64.34, 145.31°)
OKLaboklab(61.97% -0.1421 0.0877)
OKLCHoklch(61.97% 0.167 148.3)
XYZxyz(14.2721, 25.8861, 10.2043)
Luminance0.2589 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1FA047 #A01F78
analogous
#37A01F #1FA047 #1FA088
triadic
#1FA047 #471FA0 #A0471F
tetradic
#1FA047 #1F37A0 #A01F78 #A0881F
square
#1FA047 #1F37A0 #A01F78 #A0881F
split-complementary
#1FA047 #881FA0 #A01F37
monochromatic
#0B391A #156D30 #1FA047 #29D35E #5ADF83

Accessibility & contrast

On white

3.40
#1FA047 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#1FA047 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1FA047
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1FA047#FFFFFF#000000##000000
##1FA0471.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A2913F
Deuteranopia (green-blind)
#93874E
Tritanopia (blue-blind)
#009D8C
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #1fa047;
/* rgb */ color: rgb(31, 160, 71);
/* oklch */ color: oklch(62.0% 0.167 148.3);
Tailwind
colors: {
  custom: {
    50: '#72bd7c',
    500: '#1fa047',
    950: '#000000',
  },
}
SCSS
$custom: #1fa047;
$custom-light: #72bd7c;
$custom-dark: #000000;
JSON
{
  "hex": "#1fa047",
  "rgb": {
    "r": 31,
    "g": 160,
    "b": 71
  },
  "hsl": {
    "h": 138.605,
    "s": 67.539,
    "l": 37.451
  },
  "oklch": {
    "l": 0.61968,
    "c": 0.16696,
    "h": 148.3
  },
  "luminance": 0.25888
}

Semantic roles & 50–950 ramp

primary
#1FA047
secondary
#C358A2
accent
#3DB5EA
background
#F7FBF7
surface
#EEF7EE
border
#C9D0C9
text
#09120A
muted
#7B817C

Preview Lab

Preview with #1FA047

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

Preview Lab → · Contrast checker → · Palette generator →

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