#1FAB45#1FAB45

#1FAB45 is a light, vivid green. Relative luminance 0.298; OKLCH L 64.9% C 0.182 H 147.1°. Best body text is #000000 at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#1FAB45
RGBrgb(31, 171, 69)
HSLhsl(136, 69%, 40%)
HSVhsv(136, 82%, 67%)
CMYKcmyk(81.9%, 0%, 59.6%, 32.9%)
CIE-LABlab(61.52, -56.91, 41.84)
CIE-LCHlch(61.52, 70.63, 143.68°)
OKLaboklab(64.94% -0.153 0.0989)
OKLCHoklch(64.94% 0.182 147.1)
XYZxyz(16.2009, 29.8448, 10.5358)
Luminance0.2985 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1FAB45 #AB1F85
analogous
#3FAB1F #1FAB45 #1FAB8B
triadic
#1FAB45 #451FAB #AB451F
tetradic
#1FAB45 #1F3FAB #AB1F85 #AB8B1F
square
#1FAB45 #1F3FAB #AB1F85 #AB8B1F
split-complementary
#1FAB45 #8B1FAB #AB1F3F
monochromatic
#0C431B #167730 #1FAB45 #2ED95D #62E385

Accessibility & contrast

On white

3.01
#1FAB45 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.97
#1FAB45 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1FAB45
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1FAB45#FFFFFF#000000##000000
##1FAB451.003.016.976.97
#FFFFFF3.011.0021.0021.00
#0000006.9721.001.001.00
##0000006.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9B3A
Deuteranopia (green-blind)
#9E904D
Tritanopia (blue-blind)
#00A795
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #1fab45;
/* rgb */ color: rgb(31, 171, 69);
/* oklch */ color: oklch(64.9% 0.182 147.1);
Tailwind
colors: {
  custom: {
    50: '#75c57c',
    500: '#1fab45',
    950: '#000000',
  },
}
SCSS
$custom: #1fab45;
$custom-light: #75c57c;
$custom-dark: #000000;
JSON
{
  "hex": "#1fab45",
  "rgb": {
    "r": 31,
    "g": 171,
    "b": 69
  },
  "hsl": {
    "h": 136.286,
    "s": 69.307,
    "l": 39.608
  },
  "oklch": {
    "l": 0.64941,
    "c": 0.18216,
    "h": 147.1
  },
  "luminance": 0.29847
}

Semantic roles & 50–950 ramp

primary
#1FAB45
secondary
#C75EAB
accent
#3CBCEC
background
#F7FCF7
surface
#EEF8EE
border
#C9D1C9
text
#0A130A
muted
#7C827C

Preview Lab

Preview with #1FAB45

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

Preview Lab → · Contrast checker → · Palette generator →

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