#1FAB2A#1FAB2A

#1FAB2A is a light, highly saturated green. Relative luminance 0.296; OKLCH L 64.7% C 0.201 H 143.6°. Best body text is #000000 at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#1FAB2A
RGBrgb(31, 171, 42)
HSLhsl(125, 69%, 40%)
HSVhsv(125, 82%, 67%)
CMYKcmyk(81.9%, 0%, 75.4%, 32.9%)
CIE-LABlab(61.29, -59.72, 52.84)
CIE-LCHlch(61.29, 79.74, 138.50°)
OKLaboklab(64.68% -0.1616 0.1192)
OKLCHoklch(64.68% 0.201 143.6)
XYZxyz(15.5449, 29.5824, 7.0807)
Luminance0.2958 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1FAB2A #AB1FA0
analogous
#5AAB1F #1FAB2A #1FAB70
triadic
#1FAB2A #2A1FAB #AB2A1F
tetradic
#1FAB2A #1F5AAB #AB1FA0 #AB701F
square
#1FAB2A #1F5AAB #AB1FA0 #AB701F
split-complementary
#1FAB2A #701FAB #AB1F5A
monochromatic
#0C4311 #16771D #1FAB2A #2ED93C #62E36C

Accessibility & contrast

On white

3.04
#1FAB2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.92
#1FAB2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1FAB2A
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1FAB2A#FFFFFF#000000##000000
##1FAB2A1.003.046.926.92
#FFFFFF3.041.0021.0021.00
#0000006.9221.001.001.00
##0000006.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9A0F
Deuteranopia (green-blind)
#A09038
Tritanopia (blue-blind)
#00A692
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #1fab2a;
/* rgb */ color: rgb(31, 171, 42);
/* oklch */ color: oklch(64.7% 0.201 143.6);
Tailwind
colors: {
  custom: {
    50: '#76c56c',
    500: '#1fab2a',
    950: '#000000',
  },
}
SCSS
$custom: #1fab2a;
$custom-light: #76c56c;
$custom-dark: #000000;
JSON
{
  "hex": "#1fab2a",
  "rgb": {
    "r": 31,
    "g": 171,
    "b": 42
  },
  "hsl": {
    "h": 124.714,
    "s": 69.307,
    "l": 39.608
  },
  "oklch": {
    "l": 0.64678,
    "c": 0.20086,
    "h": 143.6
  },
  "luminance": 0.29584
}

Semantic roles & 50–950 ramp

primary
#1FAB2A
secondary
#C75EBF
accent
#3CDEEC
background
#F7FCF6
surface
#EEF8EC
border
#C9D1C7
text
#0A1307
muted
#7C827A

Preview Lab

Preview with #1FAB2A

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

Preview Lab → · Contrast checker → · Palette generator →

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