#1FA728#1FA728

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

Color values

HEX#1FA728
RGBrgb(31, 167, 40)
HSLhsl(124, 69%, 39%)
HSVhsv(124, 81%, 65%)
CMYKcmyk(81.4%, 0%, 76%, 34.5%)
CIE-LABlab(59.96, -58.63, 52.21)
CIE-LCHlch(59.96, 78.51, 138.32°)
OKLaboklab(63.57% -0.1587 0.1177)
OKLCHoklch(63.57% 0.198 143.5)
XYZxyz(14.7658, 28.0801, 6.6489)
Luminance0.2808 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1FA728 #A71F9E
analogous
#5AA71F #1FA728 #1FA76C
triadic
#1FA728 #281FA7 #A7281F
tetradic
#1FA728 #1F5AA7 #A71F9E #A76C1F
square
#1FA728 #1F5AA7 #A71F9E #A76C1F
split-complementary
#1FA728 #6C1FA7 #A71F5A
monochromatic
#0C400F #15731C #1FA728 #2BD837 #5FE168

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1FA728#FFFFFF#000000##000000
##1FA7281.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)
#AA970C
Deuteranopia (green-blind)
#9C8D36
Tritanopia (blue-blind)
#00A28F
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #1fa728;
/* rgb */ color: rgb(31, 167, 40);
/* oklch */ color: oklch(63.6% 0.198 143.5);
Tailwind
colors: {
  custom: {
    50: '#75c26b',
    500: '#1fa728',
    950: '#000000',
  },
}
SCSS
$custom: #1fa728;
$custom-light: #75c26b;
$custom-dark: #000000;
JSON
{
  "hex": "#1fa728",
  "rgb": {
    "r": 31,
    "g": 167,
    "b": 40
  },
  "hsl": {
    "h": 123.971,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.63567,
    "c": 0.1976,
    "h": 143.5
  },
  "luminance": 0.28082
}

Semantic roles & 50–950 ramp

primary
#1FA728
secondary
#C65CBF
accent
#3CE0EC
background
#F7FCF6
surface
#EEF8EC
border
#C9D1C7
text
#0A1307
muted
#7C827A

Preview Lab

Preview with #1FA728

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

Preview Lab → · Contrast checker → · Palette generator →

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