#1FA62C#1FA62C

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

Color values

HEX#1FA62C
RGBrgb(31, 166, 44)
HSLhsl(126, 69%, 39%)
HSVhsv(126, 81%, 65%)
CMYKcmyk(81.3%, 0%, 73.5%, 34.9%)
CIE-LABlab(59.66, -57.99, 50.46)
CIE-LCHlch(59.66, 76.87, 138.98°)
OKLaboklab(63.32% -0.1568 0.1145)
OKLCHoklch(63.32% 0.194 143.9)
XYZxyz(14.6549, 27.7438, 6.9651)
Luminance0.2775 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1FA62C #A61F99
analogous
#55A61F #1FA62C #1FA66F
triadic
#1FA62C #2C1FA6 #A62C1F
tetradic
#1FA62C #1F55A6 #A61F99 #A66F1F
square
#1FA62C #1F55A6 #A61F99 #A66F1F
split-complementary
#1FA62C #6F1FA6 #A61F55
monochromatic
#0C3F11 #15721E #1FA62C #2BD73B #5EE16B

Accessibility & contrast

On white

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

On black

6.55
#1FA62C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1FA62C
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1FA62C#FFFFFF#000000##000000
##1FA62C1.003.216.556.55
#FFFFFF3.211.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1fa62c;
/* rgb */ color: rgb(31, 166, 44);
/* oklch */ color: oklch(63.3% 0.194 143.9);
Tailwind
colors: {
  custom: {
    50: '#75c26d',
    500: '#1fa62c',
    950: '#000000',
  },
}
SCSS
$custom: #1fa62c;
$custom-light: #75c26d;
$custom-dark: #000000;
JSON
{
  "hex": "#1fa62c",
  "rgb": {
    "r": 31,
    "g": 166,
    "b": 44
  },
  "hsl": {
    "h": 125.778,
    "s": 68.528,
    "l": 38.627
  },
  "oklch": {
    "l": 0.63322,
    "c": 0.19421,
    "h": 143.9
  },
  "luminance": 0.27746
}

Semantic roles & 50–950 ramp

primary
#1FA62C
secondary
#C55BBB
accent
#3CDBEB
background
#F7FCF6
surface
#EEF8EC
border
#C9D1C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #1FA62C

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

Preview Lab → · Contrast checker → · Palette generator →

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