#1FA11F#1FA11F

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

Color values

HEX#1FA11F
RGBrgb(31, 161, 31)
HSLhsl(120, 68%, 38%)
HSVhsv(120, 81%, 63%)
CMYKcmyk(80.7%, 0%, 80.7%, 36.9%)
CIE-LABlab(57.92, -57.39, 53.18)
CIE-LCHlch(57.92, 78.24, 137.18°)
OKLaboklab(61.85% -0.1558 0.1184)
OKLCHoklch(61.85% 0.196 142.8)
XYZxyz(13.5564, 25.8783, 5.5766)
Luminance0.2588 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1FA11F #A11FA1
analogous
#60A11F #1FA11F #1FA160
triadic
#1FA11F #1F1FA1 #A11F1F
tetradic
#1FA11F #1F60A1 #A11FA1 #A1601F
square
#1FA11F #1F60A1 #A11FA1 #A1601F
split-complementary
#1FA11F #601FA1 #A11F60
monochromatic
#0B3A0B #156E15 #1FA11F #29D429 #5BDF5B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #1fa11f;
/* rgb */ color: rgb(31, 161, 31);
/* oklch */ color: oklch(61.9% 0.196 142.8);
Tailwind
colors: {
  custom: {
    50: '#74be66',
    500: '#1fa11f',
    950: '#000000',
  },
}
SCSS
$custom: #1fa11f;
$custom-light: #74be66;
$custom-dark: #000000;
JSON
{
  "hex": "#1fa11f",
  "rgb": {
    "r": 31,
    "g": 161,
    "b": 31
  },
  "hsl": {
    "h": 120,
    "s": 67.708,
    "l": 37.647
  },
  "oklch": {
    "l": 0.61853,
    "c": 0.19568,
    "h": 142.8
  },
  "luminance": 0.2588
}

Semantic roles & 50–950 ramp

primary
#1FA11F
secondary
#C458C4
accent
#3DEBEB
background
#F7FBF6
surface
#EEF7EB
border
#C9D0C6
text
#0A1206
muted
#7C817A

Preview Lab

Preview with #1FA11F

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

Preview Lab → · Contrast checker → · Palette generator →

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