#1FA831#1FA831

#1FA831 is a light, vivid green. Relative luminance 0.285; OKLCH L 63.9% C 0.193 H 144.4°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#1FA831
RGBrgb(31, 168, 49)
HSLhsl(128, 69%, 39%)
HSVhsv(128, 82%, 66%)
CMYKcmyk(81.5%, 0%, 70.8%, 34.1%)
CIE-LABlab(60.35, -58.18, 49.25)
CIE-LCHlch(60.35, 76.23, 139.75°)
OKLaboklab(63.91% -0.1571 0.1126)
OKLCHoklch(63.91% 0.193 144.4)
XYZxyz(15.1210, 28.5165, 7.6124)
Luminance0.2852 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1FA831 #A81F96
analogous
#52A81F #1FA831 #1FA876
triadic
#1FA831 #311FA8 #A8311F
tetradic
#1FA831 #1F52A8 #A81F96 #A8761F
square
#1FA831 #1F52A8 #A81F96 #A8761F
split-complementary
#1FA831 #761FA8 #A81F52
monochromatic
#0C4113 #157422 #1FA831 #2CD843 #60E271

Accessibility & contrast

On white

3.13
#1FA831 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.70
#1FA831 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1FA831
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1FA831#FFFFFF#000000##000000
##1FA8311.003.136.706.70
#FFFFFF3.131.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB981F
Deuteranopia (green-blind)
#9D8E3D
Tritanopia (blue-blind)
#00A390
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #1fa831;
/* rgb */ color: rgb(31, 168, 49);
/* oklch */ color: oklch(63.9% 0.193 144.4);
Tailwind
colors: {
  custom: {
    50: '#75c370',
    500: '#1fa831',
    950: '#000000',
  },
}
SCSS
$custom: #1fa831;
$custom-light: #75c370;
$custom-dark: #000000;
JSON
{
  "hex": "#1fa831",
  "rgb": {
    "r": 31,
    "g": 168,
    "b": 49
  },
  "hsl": {
    "h": 127.883,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.63912,
    "c": 0.19334,
    "h": 144.4
  },
  "luminance": 0.28518
}

Semantic roles & 50–950 ramp

primary
#1FA831
secondary
#C65DB8
accent
#3CD5EC
background
#F7FCF7
surface
#EEF8ED
border
#C9D1C8
text
#0A1308
muted
#7C827B

Preview Lab

Preview with #1FA831

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

Preview Lab → · Contrast checker → · Palette generator →

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