#1F7E41#1F7E41

#1F7E41 is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.4% C 0.128 H 150.7°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#1F7E41
RGBrgb(31, 126, 65)
HSLhsl(141, 61%, 31%)
HSVhsv(141, 75%, 49%)
CMYKcmyk(75.4%, 0%, 48.4%, 50.6%)
CIE-LABlab(46.44, -41.40, 25.53)
CIE-LCHlch(46.44, 48.64, 148.34°)
OKLaboklab(52.43% -0.1114 0.0625)
OKLCHoklch(52.43% 0.128 150.7)
XYZxyz(8.9793, 15.5936, 7.5366)
Luminance0.1560 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7E41 #7E1F5C
analogous
#2C7E1F #1F7E41 #1F7E70
triadic
#1F7E41 #411F7E #7E411F
tetradic
#1F7E41 #1F2C7E #7E1F5C #7E701F
square
#1F7E41 #1F2C7E #7E1F5C #7E701F
split-complementary
#1F7E41 #701F7E #7E1F2C
monochromatic
#071C0E #134D28 #1F7E41 #2BAF5A #46D178

Accessibility & contrast

On white

5.10
#1F7E41 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#1F7E41 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7E41
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7E41#FFFFFF#000000##FFFFFF
##1F7E411.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F733C
Deuteranopia (green-blind)
#736B45
Tritanopia (blue-blind)
#007C6F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #1f7e41;
/* rgb */ color: rgb(31, 126, 65);
/* oklch */ color: oklch(52.4% 0.128 150.7);
Tailwind
colors: {
  custom: {
    50: '#6aa476',
    500: '#1f7e41',
    950: '#000000',
  },
}
SCSS
$custom: #1f7e41;
$custom-light: #6aa476;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7e41",
  "rgb": {
    "r": 31,
    "g": 126,
    "b": 65
  },
  "hsl": {
    "h": 141.474,
    "s": 60.51,
    "l": 30.784
  },
  "oklch": {
    "l": 0.52427,
    "c": 0.12772,
    "h": 150.7
  },
  "luminance": 0.15595
}

Semantic roles & 50–950 ramp

primary
#1F7E41
secondary
#B1488B
accent
#44ABE4
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #1F7E41

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

Preview Lab → · Contrast checker → · Palette generator →

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