#1F7F41#1F7F41

#1F7F41 is a mid, vivid green. Relative luminance 0.159; OKLCH L 52.7% C 0.129 H 150.5°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#1F7F41
RGBrgb(31, 127, 65)
HSLhsl(141, 61%, 31%)
HSVhsv(141, 76%, 50%)
CMYKcmyk(75.6%, 0%, 48.8%, 50.2%)
CIE-LABlab(46.78, -41.79, 25.96)
CIE-LCHlch(46.78, 49.20, 148.15°)
OKLaboklab(52.71% -0.1124 0.0635)
OKLCHoklch(52.71% 0.129 150.5)
XYZxyz(9.1078, 15.8507, 7.5795)
Luminance0.1585 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7F41 #7F1F5D
analogous
#2D7F1F #1F7F41 #1F7F71
triadic
#1F7F41 #411F7F #7F411F
tetradic
#1F7F41 #1F2D7F #7F1F5D #7F711F
square
#1F7F41 #1F2D7F #7F1F5D #7F711F
split-complementary
#1F7F41 #711F7F #7F1F2D
monochromatic
#071D0F #134E28 #1F7F41 #2BB05A #46D278

Accessibility & contrast

On white

5.04
#1F7F41 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#1F7F41 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7F41
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7F41#FFFFFF#000000##FFFFFF
##1F7F411.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80743C
Deuteranopia (green-blind)
#746C45
Tritanopia (blue-blind)
#007D70
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #1f7f41;
/* rgb */ color: rgb(31, 127, 65);
/* oklch */ color: oklch(52.7% 0.129 150.5);
Tailwind
colors: {
  custom: {
    50: '#6aa576',
    500: '#1f7f41',
    950: '#000000',
  },
}
SCSS
$custom: #1f7f41;
$custom-light: #6aa576;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7f41",
  "rgb": {
    "r": 31,
    "g": 127,
    "b": 65
  },
  "hsl": {
    "h": 141.25,
    "s": 60.759,
    "l": 30.98
  },
  "oklch": {
    "l": 0.52709,
    "c": 0.1291,
    "h": 150.5
  },
  "luminance": 0.15852
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1F7F41

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

Preview Lab → · Contrast checker → · Palette generator →

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