#1F9745#1F9745

#1F9745 is a mid, vivid green. Relative luminance 0.229; OKLCH L 59.5% C 0.157 H 148.7°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#1F9745
RGBrgb(31, 151, 69)
HSLhsl(139, 66%, 36%)
HSVhsv(139, 79%, 59%)
CMYKcmyk(79.5%, 0%, 54.3%, 40.8%)
CIE-LABlab(54.92, -50.04, 33.98)
CIE-LCHlch(54.92, 60.48, 145.82°)
OKLaboklab(59.47% -0.1344 0.0817)
OKLCHoklch(59.47% 0.157 148.7)
XYZxyz(12.7048, 22.8527, 9.3705)
Luminance0.2285 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9745 #971F71
analogous
#35971F #1F9745 #1F9781
triadic
#1F9745 #451F97 #97451F
tetradic
#1F9745 #1F3597 #971F71 #97811F
square
#1F9745 #1F3597 #971F71 #97811F
split-complementary
#1F9745 #811F97 #971F35
monochromatic
#0A3117 #15642E #1F9745 #29CA5C #54DC7F

Accessibility & contrast

On white

3.77
#1F9745 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#1F9745 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9745
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9745#FFFFFF#000000##000000
##1F97451.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#98893E
Deuteranopia (green-blind)
#8B804B
Tritanopia (blue-blind)
#009484
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #1f9745;
/* rgb */ color: rgb(31, 151, 69);
/* oklch */ color: oklch(59.5% 0.157 148.7);
Tailwind
colors: {
  custom: {
    50: '#70b77b',
    500: '#1f9745',
    950: '#000000',
  },
}
SCSS
$custom: #1f9745;
$custom-light: #70b77b;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9745",
  "rgb": {
    "r": 31,
    "g": 151,
    "b": 69
  },
  "hsl": {
    "h": 139,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.59466,
    "c": 0.15731,
    "h": 148.7
  },
  "luminance": 0.22854
}

Semantic roles & 50–950 ramp

primary
#1F9745
secondary
#BF529D
accent
#3FB3E9
background
#F7FBF7
surface
#EDF6EE
border
#C8D0C9
text
#091109
muted
#7B807B

Preview Lab

Preview with #1F9745

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

Preview Lab → · Contrast checker → · Palette generator →

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