#1FA845#1FA845

#1FA845 is a light, vivid green. Relative luminance 0.287; OKLCH L 64.1% C 0.179 H 147.3°. Best body text is #000000 at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#1FA845
RGBrgb(31, 168, 69)
HSLhsl(137, 69%, 39%)
HSVhsv(137, 82%, 66%)
CMYKcmyk(81.5%, 0%, 58.9%, 34.1%)
CIE-LABlab(60.54, -55.91, 40.69)
CIE-LCHlch(60.54, 69.15, 143.95°)
OKLaboklab(64.13% -0.1502 0.0964)
OKLCHoklch(64.13% 0.179 147.3)
XYZxyz(15.6407, 28.7243, 10.3491)
Luminance0.2873 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1FA845 #A81F82
analogous
#3EA81F #1FA845 #1FA88A
triadic
#1FA845 #451FA8 #A8451F
tetradic
#1FA845 #1F3EA8 #A81F82 #A88A1F
square
#1FA845 #1F3EA8 #A81F82 #A88A1F
split-complementary
#1FA845 #8A1FA8 #A81F3E
monochromatic
#0C411B #157430 #1FA845 #2CD85C #60E284

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1FA845#FFFFFF#000000##000000
##1FA8451.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)
#AA983B
Deuteranopia (green-blind)
#9B8E4D
Tritanopia (blue-blind)
#00A492
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #1fa845;
/* rgb */ color: rgb(31, 168, 69);
/* oklch */ color: oklch(64.1% 0.179 147.3);
Tailwind
colors: {
  custom: {
    50: '#74c37c',
    500: '#1fa845',
    950: '#000000',
  },
}
SCSS
$custom: #1fa845;
$custom-light: #74c37c;
$custom-dark: #000000;
JSON
{
  "hex": "#1fa845",
  "rgb": {
    "r": 31,
    "g": 168,
    "b": 69
  },
  "hsl": {
    "h": 136.642,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.64125,
    "c": 0.17853,
    "h": 147.3
  },
  "luminance": 0.28726
}

Semantic roles & 50–950 ramp

primary
#1FA845
secondary
#C65DA9
accent
#3CBBEC
background
#F7FCF7
surface
#EEF8EE
border
#C9D1C9
text
#0A130A
muted
#7C827C

Preview Lab

Preview with #1FA845

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

Preview Lab → · Contrast checker → · Palette generator →

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