#1FA847#1FA847

#1FA847 is a light, vivid green. Relative luminance 0.288; OKLCH L 64.2% C 0.177 H 147.7°. Best body text is #000000 at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#1FA847
RGBrgb(31, 168, 71)
HSLhsl(138, 69%, 39%)
HSVhsv(138, 82%, 66%)
CMYKcmyk(81.5%, 0%, 57.7%, 34.1%)
CIE-LABlab(60.56, -55.64, 39.76)
CIE-LCHlch(60.56, 68.38, 144.45°)
OKLaboklab(64.15% -0.1495 0.0946)
OKLCHoklch(64.15% 0.177 147.7)
XYZxyz(15.7038, 28.7496, 10.6816)
Luminance0.2875 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1FA847 #A81F80
analogous
#3CA81F #1FA847 #1FA88C
triadic
#1FA847 #471FA8 #A8471F
tetradic
#1FA847 #1F3CA8 #A81F80 #A88C1F
square
#1FA847 #1F3CA8 #A81F80 #A88C1F
split-complementary
#1FA847 #8C1FA8 #A81F3C
monochromatic
#0C411B #157431 #1FA847 #2CD85E #60E286

Accessibility & contrast

On white

3.11
#1FA847 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.75
#1FA847 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1FA847
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1FA847#FFFFFF#000000##000000
##1FA8471.003.116.756.75
#FFFFFF3.111.0021.0021.00
#0000006.7521.001.001.00
##0000006.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA983D
Deuteranopia (green-blind)
#9B8E4F
Tritanopia (blue-blind)
#00A493
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #1fa847;
/* rgb */ color: rgb(31, 168, 71);
/* oklch */ color: oklch(64.2% 0.177 147.7);
Tailwind
colors: {
  custom: {
    50: '#74c37d',
    500: '#1fa847',
    950: '#000000',
  },
}
SCSS
$custom: #1fa847;
$custom-light: #74c37d;
$custom-dark: #000000;
JSON
{
  "hex": "#1fa847",
  "rgb": {
    "r": 31,
    "g": 168,
    "b": 71
  },
  "hsl": {
    "h": 137.518,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.64151,
    "c": 0.17687,
    "h": 147.7
  },
  "luminance": 0.28752
}

Semantic roles & 50–950 ramp

primary
#1FA847
secondary
#C65DA7
accent
#3CB8EC
background
#F7FCF7
surface
#EEF8EE
border
#C9D1C9
text
#0A130A
muted
#7C827C

Preview Lab

Preview with #1FA847

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

Preview Lab → · Contrast checker → · Palette generator →

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