#1FA118#1FA118

#1FA118 is a mid, vivid green. Relative luminance 0.258; OKLCH L 61.8% C 0.199 H 142.3°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#1FA118
RGBrgb(31, 161, 24)
HSLhsl(117, 74%, 36%)
HSVhsv(117, 85%, 63%)
CMYKcmyk(80.7%, 0%, 85.1%, 36.9%)
CIE-LABlab(57.89, -57.78, 55.10)
CIE-LCHlch(57.89, 79.84, 136.36°)
OKLaboklab(61.82% -0.1571 0.1215)
OKLCHoklch(61.82% 0.199 142.3)
XYZxyz(13.4740, 25.8454, 5.1425)
Luminance0.2585 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1FA118 #9A18A1
analogous
#64A118 #1FA118 #18A156
triadic
#1FA118 #181FA1 #A1181F
tetradic
#1FA118 #1864A1 #9A18A1 #A15618
square
#1FA118 #1864A1 #9A18A1 #A15618
split-complementary
#1FA118 #5618A1 #A11864
monochromatic
#0A3608 #156C10 #1FA118 #29D620 #56E54F

Accessibility & contrast

On white

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

On black

6.17
#1FA118 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1FA118
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1FA118#FFFFFF#000000##000000
##1FA1181.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59100
Deuteranopia (green-blind)
#97872B
Tritanopia (blue-blind)
#009C89
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #1fa118;
/* rgb */ color: rgb(31, 161, 24);
/* oklch */ color: oklch(61.8% 0.199 142.3);
Tailwind
colors: {
  custom: {
    50: '#74be63',
    500: '#1fa118',
    950: '#000000',
  },
}
SCSS
$custom: #1fa118;
$custom-light: #74be63;
$custom-dark: #000000;
JSON
{
  "hex": "#1fa118",
  "rgb": {
    "r": 31,
    "g": 161,
    "b": 24
  },
  "hsl": {
    "h": 116.934,
    "s": 74.054,
    "l": 36.275
  },
  "oklch": {
    "l": 0.61817,
    "c": 0.19861,
    "h": 142.3
  },
  "luminance": 0.25847
}

Semantic roles & 50–950 ramp

primary
#1FA118
secondary
#C14EC7
accent
#37F1E7
background
#F7FBF6
surface
#EEF7EB
border
#C9D0C6
text
#0A1206
muted
#7C817A

Preview Lab

Preview with #1FA118

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

Preview Lab → · Contrast checker → · Palette generator →

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