#1FA52F#1FA52F

#1FA52F is a light, vivid green. Relative luminance 0.274; OKLCH L 63.1% C 0.191 H 144.2°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#1FA52F
RGBrgb(31, 165, 47)
HSLhsl(127, 68%, 38%)
HSVhsv(127, 81%, 65%)
CMYKcmyk(81.2%, 0%, 71.5%, 35.3%)
CIE-LABlab(59.35, -57.41, 48.99)
CIE-LCHlch(59.35, 75.47, 139.53°)
OKLaboklab(63.07% -0.1551 0.1118)
OKLCHoklch(63.07% 0.191 144.2)
XYZxyz(14.5323, 27.4050, 7.2126)
Luminance0.2741 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1FA52F #A51F95
analogous
#52A51F #1FA52F #1FA572
triadic
#1FA52F #2F1FA5 #A52F1F
tetradic
#1FA52F #1F52A5 #A51F95 #A5721F
square
#1FA52F #1F52A5 #A51F95 #A5721F
split-complementary
#1FA52F #721FA5 #A51F52
monochromatic
#0C3E12 #157120 #1FA52F #2AD73F #5EE16D

Accessibility & contrast

On white

3.24
#1FA52F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#1FA52F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1FA52F
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1FA52F#FFFFFF#000000##000000
##1FA52F1.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A8951C
Deuteranopia (green-blind)
#9A8B3B
Tritanopia (blue-blind)
#00A08E
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #1fa52f;
/* rgb */ color: rgb(31, 165, 47);
/* oklch */ color: oklch(63.1% 0.191 144.2);
Tailwind
colors: {
  custom: {
    50: '#74c16e',
    500: '#1fa52f',
    950: '#000000',
  },
}
SCSS
$custom: #1fa52f;
$custom-light: #74c16e;
$custom-dark: #000000;
JSON
{
  "hex": "#1fa52f",
  "rgb": {
    "r": 31,
    "g": 165,
    "b": 47
  },
  "hsl": {
    "h": 127.164,
    "s": 68.367,
    "l": 38.431
  },
  "oklch": {
    "l": 0.63071,
    "c": 0.19124,
    "h": 144.2
  },
  "luminance": 0.27407
}

Semantic roles & 50–950 ramp

primary
#1FA52F
secondary
#C55BB8
accent
#3DD6EB
background
#F7FCF6
surface
#EEF8EC
border
#C9D1C7
text
#0A1208
muted
#7C817B

Preview Lab

Preview with #1FA52F

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

Preview Lab → · Contrast checker → · Palette generator →

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