#1FA120#1FA120

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

Color values

HEX#1FA120
RGBrgb(31, 161, 32)
HSLhsl(120, 68%, 38%)
HSVhsv(120, 81%, 63%)
CMYKcmyk(80.7%, 0%, 80.1%, 36.9%)
CIE-LABlab(57.93, -57.32, 52.87)
CIE-LCHlch(57.93, 77.98, 137.31°)
OKLaboklab(61.86% -0.1555 0.118)
OKLCHoklch(61.86% 0.195 142.8)
XYZxyz(13.5698, 25.8837, 5.6471)
Luminance0.2589 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1FA120 #A11FA0
analogous
#5FA11F #1FA120 #1FA161
triadic
#1FA120 #201FA1 #A1201F
tetradic
#1FA120 #1F5FA1 #A11FA0 #A1611F
square
#1FA120 #1F5FA1 #A11FA0 #A1611F
split-complementary
#1FA120 #611FA1 #A11F5F
monochromatic
#0B3A0C #156E16 #1FA120 #29D42A #5BDF5C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1FA120#FFFFFF#000000##000000
##1FA1201.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)
#A59100
Deuteranopia (green-blind)
#978730
Tritanopia (blue-blind)
#009C89
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #1fa120;
/* rgb */ color: rgb(31, 161, 32);
/* oklch */ color: oklch(61.9% 0.195 142.8);
Tailwind
colors: {
  custom: {
    50: '#74be66',
    500: '#1fa120',
    950: '#000000',
  },
}
SCSS
$custom: #1fa120;
$custom-light: #74be66;
$custom-dark: #000000;
JSON
{
  "hex": "#1fa120",
  "rgb": {
    "r": 31,
    "g": 161,
    "b": 32
  },
  "hsl": {
    "h": 120.462,
    "s": 67.708,
    "l": 37.647
  },
  "oklch": {
    "l": 0.61859,
    "c": 0.1952,
    "h": 142.8
  },
  "luminance": 0.25885
}

Semantic roles & 50–950 ramp

primary
#1FA120
secondary
#C458C3
accent
#3DE9EB
background
#F7FBF6
surface
#EEF7EB
border
#C9D0C6
text
#0A1206
muted
#7C817A

Preview Lab

Preview with #1FA120

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

Preview Lab → · Contrast checker → · Palette generator →

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