#1FA048#1FA048

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

Color values

HEX#1FA048
RGBrgb(31, 160, 72)
HSLhsl(139, 68%, 37%)
HSVhsv(139, 81%, 63%)
CMYKcmyk(80.6%, 0%, 55%, 37.3%)
CIE-LABlab(57.94, -52.75, 36.14)
CIE-LCHlch(57.94, 63.94, 145.59°)
OKLaboklab(61.98% -0.1417 0.0867)
OKLCHoklch(61.98% 0.166 148.5)
XYZxyz(14.3044, 25.8991, 10.3748)
Luminance0.2590 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1FA048 #A01F77
analogous
#36A01F #1FA048 #1FA089
triadic
#1FA048 #481FA0 #A0481F
tetradic
#1FA048 #1F36A0 #A01F77 #A0891F
square
#1FA048 #1F36A0 #A01F77 #A0891F
split-complementary
#1FA048 #891FA0 #A01F36
monochromatic
#0B391A #156D31 #1FA048 #29D35F #5ADF85

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1FA048#FFFFFF#000000##000000
##1FA0481.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)
#A19140
Deuteranopia (green-blind)
#93874F
Tritanopia (blue-blind)
#009D8C
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #1fa048;
/* rgb */ color: rgb(31, 160, 72);
/* oklch */ color: oklch(62.0% 0.166 148.5);
Tailwind
colors: {
  custom: {
    50: '#72bd7d',
    500: '#1fa048',
    950: '#000000',
  },
}
SCSS
$custom: #1fa048;
$custom-light: #72bd7d;
$custom-dark: #000000;
JSON
{
  "hex": "#1fa048",
  "rgb": {
    "r": 31,
    "g": 160,
    "b": 72
  },
  "hsl": {
    "h": 139.07,
    "s": 67.539,
    "l": 37.451
  },
  "oklch": {
    "l": 0.61983,
    "c": 0.16609,
    "h": 148.5
  },
  "luminance": 0.25901
}

Semantic roles & 50–950 ramp

primary
#1FA048
secondary
#C358A1
accent
#3DB3EA
background
#F7FBF7
surface
#EEF7EE
border
#C9D0C9
text
#09120A
muted
#7B817C

Preview Lab

Preview with #1FA048

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

Preview Lab → · Contrast checker → · Palette generator →

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