#1FA72A#1FA72A

#1FA72A is a light, vivid green. Relative luminance 0.281; OKLCH L 63.6% C 0.196 H 143.6°. Best body text is #000000 at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#1FA72A
RGBrgb(31, 167, 42)
HSLhsl(125, 69%, 39%)
HSVhsv(125, 81%, 65%)
CMYKcmyk(81.4%, 0%, 74.9%, 34.5%)
CIE-LABlab(59.97, -58.47, 51.51)
CIE-LCHlch(59.97, 77.93, 138.62°)
OKLaboklab(63.58% -0.1582 0.1165)
OKLCHoklch(63.58% 0.196 143.6)
XYZxyz(14.8007, 28.0941, 6.8327)
Luminance0.2810 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1FA72A #A71F9C
analogous
#58A71F #1FA72A #1FA76E
triadic
#1FA72A #2A1FA7 #A72A1F
tetradic
#1FA72A #1F58A7 #A71F9C #A76E1F
square
#1FA72A #1F58A7 #A71F9C #A76E1F
split-complementary
#1FA72A #6E1FA7 #A71F58
monochromatic
#0C4010 #15731D #1FA72A #2BD839 #5FE16A

Accessibility & contrast

On white

3.17
#1FA72A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.62
#1FA72A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1FA72A
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1FA72A#FFFFFF#000000##000000
##1FA72A1.003.176.626.62
#FFFFFF3.171.0021.0021.00
#0000006.6221.001.001.00
##0000006.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9711
Deuteranopia (green-blind)
#9C8D37
Tritanopia (blue-blind)
#00A28F
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #1fa72a;
/* rgb */ color: rgb(31, 167, 42);
/* oklch */ color: oklch(63.6% 0.196 143.6);
Tailwind
colors: {
  custom: {
    50: '#75c26c',
    500: '#1fa72a',
    950: '#000000',
  },
}
SCSS
$custom: #1fa72a;
$custom-light: #75c26c;
$custom-dark: #000000;
JSON
{
  "hex": "#1fa72a",
  "rgb": {
    "r": 31,
    "g": 167,
    "b": 42
  },
  "hsl": {
    "h": 124.853,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.63581,
    "c": 0.19648,
    "h": 143.6
  },
  "luminance": 0.28096
}

Semantic roles & 50–950 ramp

primary
#1FA72A
secondary
#C65CBD
accent
#3CDDEC
background
#F7FCF6
surface
#EEF8EC
border
#C9D1C7
text
#0A1307
muted
#7C827A

Preview Lab

Preview with #1FA72A

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

Preview Lab → · Contrast checker → · Palette generator →

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