#1FA12F#1FA12F

#1FA12F is a mid, vivid green. Relative luminance 0.260; OKLCH L 62.0% C 0.187 H 144.3°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#1FA12F
RGBrgb(31, 161, 47)
HSLhsl(127, 68%, 38%)
HSVhsv(127, 81%, 63%)
CMYKcmyk(80.7%, 0%, 70.8%, 36.9%)
CIE-LABlab(58.02, -56.13, 47.60)
CIE-LCHlch(58.02, 73.59, 139.70°)
OKLaboklab(61.97% -0.1516 0.1089)
OKLCHoklch(61.97% 0.187 144.3)
XYZxyz(13.8221, 25.9846, 6.9758)
Luminance0.2599 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1FA12F #A11F91
analogous
#50A11F #1FA12F #1FA170
triadic
#1FA12F #2F1FA1 #A12F1F
tetradic
#1FA12F #1F50A1 #A11F91 #A1701F
square
#1FA12F #1F50A1 #A11F91 #A1701F
split-complementary
#1FA12F #701FA1 #A11F50
monochromatic
#0B3A11 #156E20 #1FA12F #29D43E #5BDF6B

Accessibility & contrast

On white

3.39
#1FA12F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.20
#1FA12F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1FA12F
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1FA12F#FFFFFF#000000##000000
##1FA12F1.003.396.206.20
#FFFFFF3.391.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A4911E
Deuteranopia (green-blind)
#96883A
Tritanopia (blue-blind)
#009D8A
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #1fa12f;
/* rgb */ color: rgb(31, 161, 47);
/* oklch */ color: oklch(62.0% 0.187 144.3);
Tailwind
colors: {
  custom: {
    50: '#73be6e',
    500: '#1fa12f',
    950: '#000000',
  },
}
SCSS
$custom: #1fa12f;
$custom-light: #73be6e;
$custom-dark: #000000;
JSON
{
  "hex": "#1fa12f",
  "rgb": {
    "r": 31,
    "g": 161,
    "b": 47
  },
  "hsl": {
    "h": 127.385,
    "s": 67.708,
    "l": 37.647
  },
  "oklch": {
    "l": 0.6197,
    "c": 0.18671,
    "h": 144.3
  },
  "luminance": 0.25986
}

Semantic roles & 50–950 ramp

primary
#1FA12F
secondary
#C458B6
accent
#3DD5EB
background
#F7FBF6
surface
#EEF7EC
border
#C9D0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #1FA12F

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

Preview Lab → · Contrast checker → · Palette generator →

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