#1FA046#1FA046

#1FA046 is a mid, vivid green. Relative luminance 0.259; OKLCH L 62.0% C 0.168 H 148.1°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#1FA046
RGBrgb(31, 160, 70)
HSLhsl(138, 68%, 37%)
HSVhsv(138, 81%, 63%)
CMYKcmyk(80.6%, 0%, 56.3%, 37.3%)
CIE-LABlab(57.92, -53.05, 37.10)
CIE-LCHlch(57.92, 64.73, 145.03°)
OKLaboklab(61.95% -0.1425 0.0887)
OKLCHoklch(61.95% 0.168 148.1)
XYZxyz(14.2402, 25.8734, 10.0367)
Luminance0.2587 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1FA046 #A01F79
analogous
#38A01F #1FA046 #1FA087
triadic
#1FA046 #461FA0 #A0461F
tetradic
#1FA046 #1F38A0 #A01F79 #A0871F
square
#1FA046 #1F38A0 #A01F79 #A0871F
split-complementary
#1FA046 #871FA0 #A01F38
monochromatic
#0B3919 #156D30 #1FA046 #29D35C #5ADF82

Accessibility & contrast

On white

3.40
#1FA046 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#1FA046 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1FA046
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1FA046#FFFFFF#000000##000000
##1FA0461.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A2913E
Deuteranopia (green-blind)
#93874D
Tritanopia (blue-blind)
#009D8C
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #1fa046;
/* rgb */ color: rgb(31, 160, 70);
/* oklch */ color: oklch(62.0% 0.168 148.1);
Tailwind
colors: {
  custom: {
    50: '#72bd7c',
    500: '#1fa046',
    950: '#000000',
  },
}
SCSS
$custom: #1fa046;
$custom-light: #72bd7c;
$custom-dark: #000000;
JSON
{
  "hex": "#1fa046",
  "rgb": {
    "r": 31,
    "g": 160,
    "b": 70
  },
  "hsl": {
    "h": 138.14,
    "s": 67.539,
    "l": 37.451
  },
  "oklch": {
    "l": 0.61954,
    "c": 0.16783,
    "h": 148.1
  },
  "luminance": 0.25875
}

Semantic roles & 50–950 ramp

primary
#1FA046
secondary
#C358A3
accent
#3DB6EA
background
#F7FBF7
surface
#EEF7EE
border
#C9D0C9
text
#091209
muted
#7B817B

Preview Lab

Preview with #1FA046

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

Preview Lab → · Contrast checker → · Palette generator →

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