#1FA628#1FA628

#1FA628 is a light, vivid green. Relative luminance 0.277; OKLCH L 63.3% C 0.197 H 143.5°. Best body text is #000000 at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#1FA628
RGBrgb(31, 166, 40)
HSLhsl(124, 69%, 39%)
HSVhsv(124, 81%, 65%)
CMYKcmyk(81.3%, 0%, 75.9%, 34.9%)
CIE-LABlab(59.63, -58.32, 51.88)
CIE-LCHlch(59.63, 78.06, 138.34°)
OKLaboklab(63.29% -0.1579 0.117)
OKLCHoklch(63.29% 0.197 143.5)
XYZxyz(14.5833, 27.7152, 6.5880)
Luminance0.2772 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1FA628 #A61F9D
analogous
#59A61F #1FA628 #1FA66B
triadic
#1FA628 #281FA6 #A6281F
tetradic
#1FA628 #1F59A6 #A61F9D #A66B1F
square
#1FA628 #1F59A6 #A61F9D #A66B1F
split-complementary
#1FA628 #6B1FA6 #A61F59
monochromatic
#0C3F0F #15721C #1FA628 #2BD736 #5EE167

Accessibility & contrast

On white

3.21
#1FA628 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.54
#1FA628 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1FA628
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1FA628#FFFFFF#000000##000000
##1FA6281.003.216.546.54
#FFFFFF3.211.0021.0021.00
#0000006.5421.001.001.00
##0000006.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9960D
Deuteranopia (green-blind)
#9B8C36
Tritanopia (blue-blind)
#00A18E
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #1fa628;
/* rgb */ color: rgb(31, 166, 40);
/* oklch */ color: oklch(63.3% 0.197 143.5);
Tailwind
colors: {
  custom: {
    50: '#75c26b',
    500: '#1fa628',
    950: '#000000',
  },
}
SCSS
$custom: #1fa628;
$custom-light: #75c26b;
$custom-dark: #000000;
JSON
{
  "hex": "#1fa628",
  "rgb": {
    "r": 31,
    "g": 166,
    "b": 40
  },
  "hsl": {
    "h": 124,
    "s": 68.528,
    "l": 38.627
  },
  "oklch": {
    "l": 0.63292,
    "c": 0.19651,
    "h": 143.5
  },
  "luminance": 0.27717
}

Semantic roles & 50–950 ramp

primary
#1FA628
secondary
#C55BBE
accent
#3CE0EB
background
#F7FCF6
surface
#EEF8EC
border
#C9D1C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #1FA628

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

Preview Lab → · Contrast checker → · Palette generator →

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