#1FA731#1FA731

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

Color values

HEX#1FA731
RGBrgb(31, 167, 49)
HSLhsl(128, 69%, 39%)
HSVhsv(128, 81%, 65%)
CMYKcmyk(81.4%, 0%, 70.7%, 34.5%)
CIE-LABlab(60.02, -57.86, 48.90)
CIE-LCHlch(60.02, 75.76, 139.80°)
OKLaboklab(63.64% -0.1563 0.1119)
OKLCHoklch(63.64% 0.192 144.4)
XYZxyz(14.9371, 28.1487, 7.5511)
Luminance0.2815 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1FA731 #A71F95
analogous
#51A71F #1FA731 #1FA775
triadic
#1FA731 #311FA7 #A7311F
tetradic
#1FA731 #1F51A7 #A71F95 #A7751F
square
#1FA731 #1F51A7 #A71F95 #A7751F
split-complementary
#1FA731 #751FA7 #A71F51
monochromatic
#0C4013 #157322 #1FA731 #2BD842 #5FE170

Accessibility & contrast

On white

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

On black

6.63
#1FA731 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1FA731
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1FA731#FFFFFF#000000##000000
##1FA7311.003.176.636.63
#FFFFFF3.171.0021.0021.00
#0000006.6321.001.001.00
##0000006.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA971F
Deuteranopia (green-blind)
#9C8D3D
Tritanopia (blue-blind)
#00A28F
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #1fa731;
/* rgb */ color: rgb(31, 167, 49);
/* oklch */ color: oklch(63.6% 0.192 144.4);
Tailwind
colors: {
  custom: {
    50: '#75c270',
    500: '#1fa731',
    950: '#000000',
  },
}
SCSS
$custom: #1fa731;
$custom-light: #75c270;
$custom-dark: #000000;
JSON
{
  "hex": "#1fa731",
  "rgb": {
    "r": 31,
    "g": 167,
    "b": 49
  },
  "hsl": {
    "h": 127.941,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.63638,
    "c": 0.19221,
    "h": 144.4
  },
  "luminance": 0.2815
}

Semantic roles & 50–950 ramp

primary
#1FA731
secondary
#C65CB8
accent
#3CD4EC
background
#F7FCF7
surface
#EEF8ED
border
#C9D1C8
text
#0A1308
muted
#7C827B

Preview Lab

Preview with #1FA731

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

Preview Lab → · Contrast checker → · Palette generator →

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