#1FA045#1FA045

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

Color values

HEX#1FA045
RGBrgb(31, 160, 69)
HSLhsl(138, 68%, 37%)
HSVhsv(138, 81%, 63%)
CMYKcmyk(80.6%, 0%, 56.9%, 37.3%)
CIE-LABlab(57.90, -53.19, 37.57)
CIE-LCHlch(57.90, 65.12, 144.76°)
OKLaboklab(61.94% -0.1429 0.0896)
OKLCHoklch(61.94% 0.169 147.9)
XYZxyz(14.2089, 25.8609, 9.8719)
Luminance0.2586 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1FA045 #A01F7A
analogous
#3AA01F #1FA045 #1FA085
triadic
#1FA045 #451FA0 #A0451F
tetradic
#1FA045 #1F3AA0 #A01F7A #A0851F
square
#1FA045 #1F3AA0 #A01F7A #A0851F
split-complementary
#1FA045 #851FA0 #A01F3A
monochromatic
#0B3919 #156D2F #1FA045 #29D35B #5ADF81

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1FA045#FFFFFF#000000##000000
##1FA0451.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)
#A2913C
Deuteranopia (green-blind)
#94874C
Tritanopia (blue-blind)
#009D8C
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #1fa045;
/* rgb */ color: rgb(31, 160, 69);
/* oklch */ color: oklch(61.9% 0.169 147.9);
Tailwind
colors: {
  custom: {
    50: '#72bd7b',
    500: '#1fa045',
    950: '#000000',
  },
}
SCSS
$custom: #1fa045;
$custom-light: #72bd7b;
$custom-dark: #000000;
JSON
{
  "hex": "#1fa045",
  "rgb": {
    "r": 31,
    "g": 160,
    "b": 69
  },
  "hsl": {
    "h": 137.674,
    "s": 67.539,
    "l": 37.451
  },
  "oklch": {
    "l": 0.61941,
    "c": 0.16869,
    "h": 147.9
  },
  "luminance": 0.25863
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1FA045

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

Preview Lab → · Contrast checker → · Palette generator →

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