#1FA126#1FA126

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

Color values

HEX#1FA126
RGBrgb(31, 161, 38)
HSLhsl(123, 68%, 38%)
HSVhsv(123, 81%, 63%)
CMYKcmyk(80.7%, 0%, 76.4%, 36.9%)
CIE-LABlab(57.96, -56.90, 50.92)
CIE-LCHlch(57.96, 76.36, 138.17°)
OKLaboklab(61.9% -0.1541 0.1147)
OKLCHoklch(61.9% 0.192 143.3)
XYZxyz(13.6589, 25.9193, 6.1164)
Luminance0.2592 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1FA126 #A11F9A
analogous
#59A11F #1FA126 #1FA167
triadic
#1FA126 #261FA1 #A1261F
tetradic
#1FA126 #1F59A1 #A11F9A #A1671F
square
#1FA126 #1F59A1 #A11F9A #A1671F
split-complementary
#1FA126 #671FA1 #A11F59
monochromatic
#0B3A0E #156E1A #1FA126 #29D432 #5BDF62

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1FA126#FFFFFF#000000##000000
##1FA1261.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)
#A4910B
Deuteranopia (green-blind)
#978834
Tritanopia (blue-blind)
#009C8A
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #1fa126;
/* rgb */ color: rgb(31, 161, 38);
/* oklch */ color: oklch(61.9% 0.192 143.3);
Tailwind
colors: {
  custom: {
    50: '#74be69',
    500: '#1fa126',
    950: '#000000',
  },
}
SCSS
$custom: #1fa126;
$custom-light: #74be69;
$custom-dark: #000000;
JSON
{
  "hex": "#1fa126",
  "rgb": {
    "r": 31,
    "g": 161,
    "b": 38
  },
  "hsl": {
    "h": 123.231,
    "s": 67.708,
    "l": 37.647
  },
  "oklch": {
    "l": 0.61898,
    "c": 0.19213,
    "h": 143.3
  },
  "luminance": 0.25921
}

Semantic roles & 50–950 ramp

primary
#1FA126
secondary
#C458BE
accent
#3DE1EB
background
#F7FBF6
surface
#EEF7EB
border
#C9D0C6
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #1FA126

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

Preview Lab → · Contrast checker → · Palette generator →

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