#1FA122#1FA122

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

Color values

HEX#1FA122
RGBrgb(31, 161, 34)
HSLhsl(121, 68%, 38%)
HSVhsv(121, 81%, 63%)
CMYKcmyk(80.7%, 0%, 78.9%, 36.9%)
CIE-LABlab(57.94, -57.19, 52.25)
CIE-LCHlch(57.94, 77.46, 137.58°)
OKLaboklab(61.87% -0.1551 0.1169)
OKLCHoklch(61.87% 0.194 143)
XYZxyz(13.5978, 25.8949, 5.7946)
Luminance0.2590 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1FA122 #A11F9E
analogous
#5DA11F #1FA122 #1FA163
triadic
#1FA122 #221FA1 #A1221F
tetradic
#1FA122 #1F5DA1 #A11F9E #A1631F
square
#1FA122 #1F5DA1 #A11F9E #A1631F
split-complementary
#1FA122 #631FA1 #A11F5D
monochromatic
#0B3A0C #156E17 #1FA122 #29D42D #5BDF5E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1FA122#FFFFFF#000000##000000
##1FA1221.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)
#978831
Tritanopia (blue-blind)
#009C89
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #1fa122;
/* rgb */ color: rgb(31, 161, 34);
/* oklch */ color: oklch(61.9% 0.194 143.0);
Tailwind
colors: {
  custom: {
    50: '#74be67',
    500: '#1fa122',
    950: '#000000',
  },
}
SCSS
$custom: #1fa122;
$custom-light: #74be67;
$custom-dark: #000000;
JSON
{
  "hex": "#1fa122",
  "rgb": {
    "r": 31,
    "g": 161,
    "b": 34
  },
  "hsl": {
    "h": 121.385,
    "s": 67.708,
    "l": 37.647
  },
  "oklch": {
    "l": 0.61871,
    "c": 0.19423,
    "h": 143
  },
  "luminance": 0.25897
}

Semantic roles & 50–950 ramp

primary
#1FA122
secondary
#C458C1
accent
#3DE7EB
background
#F7FBF6
surface
#EEF7EB
border
#C9D0C6
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #1FA122

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

Preview Lab → · Contrast checker → · Palette generator →

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