#1FA71F#1FA71F

#1FA71F is a light, highly saturated green. Relative luminance 0.280; OKLCH L 63.5% C 0.202 H 142.7°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#1FA71F
RGBrgb(31, 167, 31)
HSLhsl(120, 69%, 39%)
HSVhsv(120, 81%, 65%)
CMYKcmyk(81.4%, 0%, 81.4%, 34.5%)
CIE-LABlab(59.91, -59.24, 55.05)
CIE-LCHlch(59.91, 80.88, 137.10°)
OKLaboklab(63.51% -0.1608 0.1224)
OKLCHoklch(63.51% 0.202 142.7)
XYZxyz(14.6302, 28.0259, 5.9345)
Luminance0.2803 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1FA71F #A71FA7
analogous
#63A71F #1FA71F #1FA763
triadic
#1FA71F #1F1FA7 #A71F1F
tetradic
#1FA71F #1F63A7 #A71FA7 #A7631F
square
#1FA71F #1F63A7 #A71FA7 #A7631F
split-complementary
#1FA71F #631FA7 #A71F63
monochromatic
#0C400C #157315 #1FA71F #2BD82B #5FE15F

Accessibility & contrast

On white

3.18
#1FA71F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.61
#1FA71F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1FA71F
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1FA71F#FFFFFF#000000##000000
##1FA71F1.003.186.616.61
#FFFFFF3.181.0021.0021.00
#0000006.6121.001.001.00
##0000006.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9600
Deuteranopia (green-blind)
#9C8D30
Tritanopia (blue-blind)
#00A28E
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #1fa71f;
/* rgb */ color: rgb(31, 167, 31);
/* oklch */ color: oklch(63.5% 0.202 142.7);
Tailwind
colors: {
  custom: {
    50: '#76c267',
    500: '#1fa71f',
    950: '#000000',
  },
}
SCSS
$custom: #1fa71f;
$custom-light: #76c267;
$custom-dark: #000000;
JSON
{
  "hex": "#1fa71f",
  "rgb": {
    "r": 31,
    "g": 167,
    "b": 31
  },
  "hsl": {
    "h": 120,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.6351,
    "c": 0.20206,
    "h": 142.7
  },
  "luminance": 0.28028
}

Semantic roles & 50–950 ramp

primary
#1FA71F
secondary
#C65CC6
accent
#3CECEC
background
#F7FCF6
surface
#EEF8EB
border
#C9D1C6
text
#0A1307
muted
#7C827A

Preview Lab

Preview with #1FA71F

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

Preview Lab → · Contrast checker → · Palette generator →

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