#1FA142#1FA142

#1FA142 is a light, vivid green. Relative luminance 0.262; OKLCH L 62.2% C 0.172 H 147.2°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#1FA142
RGBrgb(31, 161, 66)
HSLhsl(136, 68%, 38%)
HSVhsv(136, 81%, 63%)
CMYKcmyk(80.7%, 0%, 59%, 36.9%)
CIE-LABlab(58.20, -53.95, 39.38)
CIE-LCHlch(58.20, 66.79, 143.87°)
OKLaboklab(62.18% -0.145 0.0933)
OKLCHoklch(62.18% 0.172 147.2)
XYZxyz(14.2922, 26.1727, 9.4518)
Luminance0.2617 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1FA142 #A11F7E
analogous
#3DA11F #1FA142 #1FA183
triadic
#1FA142 #421FA1 #A1421F
tetradic
#1FA142 #1F3DA1 #A11F7E #A1831F
square
#1FA142 #1F3DA1 #A11F7E #A1831F
split-complementary
#1FA142 #831FA1 #A11F3D
monochromatic
#0B3A18 #156E2D #1FA142 #29D457 #5BDF7F

Accessibility & contrast

On white

3.37
#1FA142 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.23
#1FA142 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1FA142
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1FA142#FFFFFF#000000##000000
##1FA1421.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39238
Deuteranopia (green-blind)
#95884A
Tritanopia (blue-blind)
#009D8C
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #1fa142;
/* rgb */ color: rgb(31, 161, 66);
/* oklch */ color: oklch(62.2% 0.172 147.2);
Tailwind
colors: {
  custom: {
    50: '#72be79',
    500: '#1fa142',
    950: '#000000',
  },
}
SCSS
$custom: #1fa142;
$custom-light: #72be79;
$custom-dark: #000000;
JSON
{
  "hex": "#1fa142",
  "rgb": {
    "r": 31,
    "g": 161,
    "b": 66
  },
  "hsl": {
    "h": 136.154,
    "s": 67.708,
    "l": 37.647
  },
  "oklch": {
    "l": 0.62175,
    "c": 0.17246,
    "h": 147.2
  },
  "luminance": 0.26174
}

Semantic roles & 50–950 ramp

primary
#1FA142
secondary
#C458A7
accent
#3DBCEB
background
#F7FBF7
surface
#EEF7EE
border
#C9D0C9
text
#091209
muted
#7B817B

Preview Lab

Preview with #1FA142

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

Preview Lab → · Contrast checker → · Palette generator →

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