#1FA057#1FA057

#1FA057 is a light, vivid green. Relative luminance 0.261; OKLCH L 62.2% C 0.152 H 152.4°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#1FA057
RGBrgb(31, 160, 87)
HSLhsl(146, 68%, 37%)
HSVhsv(146, 81%, 63%)
CMYKcmyk(80.6%, 0%, 45.6%, 37.3%)
CIE-LABlab(58.15, -50.29, 28.68)
CIE-LCHlch(58.15, 57.89, 150.30°)
OKLaboklab(62.22% -0.1351 0.0706)
OKLCHoklch(62.22% 0.152 152.4)
XYZxyz(14.8548, 26.1192, 13.2736)
Luminance0.2612 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1FA057 #A01F68
analogous
#27A01F #1FA057 #1FA098
triadic
#1FA057 #571FA0 #A0571F
tetradic
#1FA057 #1F27A0 #A01F68 #A0981F
square
#1FA057 #1F27A0 #A01F68 #A0981F
split-complementary
#1FA057 #981FA0 #A01F27
monochromatic
#0B391F #156D3B #1FA057 #29D373 #5ADF94

Accessibility & contrast

On white

3.37
#1FA057 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.22
#1FA057 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1FA057
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1FA057#FFFFFF#000000##000000
##1FA0571.003.376.226.22
#FFFFFF3.371.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A09251
Deuteranopia (green-blind)
#92885C
Tritanopia (blue-blind)
#009E8E
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #1fa057;
/* rgb */ color: rgb(31, 160, 87);
/* oklch */ color: oklch(62.2% 0.152 152.4);
Tailwind
colors: {
  custom: {
    50: '#72bd87',
    500: '#1fa057',
    950: '#000000',
  },
}
SCSS
$custom: #1fa057;
$custom-light: #72bd87;
$custom-dark: #000000;
JSON
{
  "hex": "#1fa057",
  "rgb": {
    "r": 31,
    "g": 160,
    "b": 87
  },
  "hsl": {
    "h": 146.047,
    "s": 67.539,
    "l": 37.451
  },
  "oklch": {
    "l": 0.62224,
    "c": 0.15241,
    "h": 152.4
  },
  "luminance": 0.26121
}

Semantic roles & 50–950 ramp

primary
#1FA057
secondary
#C35894
accent
#3D9FEA
background
#F7FBF8
surface
#EDF7EF
border
#C8D0CA
text
#09120B
muted
#7B817C

Preview Lab

Preview with #1FA057

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

Preview Lab → · Contrast checker → · Palette generator →

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