#1F7141#1F7141

#1F7141 is a mid, moderate green. Relative luminance 0.125; OKLCH L 48.7% C 0.109 H 153.3°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#1F7141
RGBrgb(31, 113, 65)
HSLhsl(145, 57%, 28%)
HSVhsv(145, 73%, 44%)
CMYKcmyk(72.6%, 0%, 42.5%, 55.7%)
CIE-LABlab(41.97, -36.15, 19.76)
CIE-LCHlch(41.97, 41.20, 151.34°)
OKLaboklab(48.74% -0.0975 0.0491)
OKLCHoklch(48.74% 0.109 153.3)
XYZxyz(7.4237, 12.4824, 7.0181)
Luminance0.1248 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7141 #711F4F
analogous
#26711F #1F7141 #1F716A
triadic
#1F7141 #411F71 #71411F
tetradic
#1F7141 #1F2671 #711F4F #716A1F
square
#1F7141 #1F2671 #711F4F #716A1F
split-complementary
#1F7141 #6A1F71 #711F26
monochromatic
#07180E #124125 #1F7141 #2CA15D #40CB79

Accessibility & contrast

On white

6.01
#1F7141 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#1F7141 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7141
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7141#FFFFFF#000000##FFFFFF
##1F71411.006.013.506.01
#FFFFFF6.011.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#71673E
Deuteranopia (green-blind)
#676044
Tritanopia (blue-blind)
#006F65
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #1f7141;
/* rgb */ color: rgb(31, 113, 65);
/* oklch */ color: oklch(48.7% 0.109 153.3);
Tailwind
colors: {
  custom: {
    50: '#679a76',
    500: '#1f7141',
    950: '#000000',
  },
}
SCSS
$custom: #1f7141;
$custom-light: #679a76;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7141",
  "rgb": {
    "r": 31,
    "g": 113,
    "b": 65
  },
  "hsl": {
    "h": 144.878,
    "s": 56.944,
    "l": 28.235
  },
  "oklch": {
    "l": 0.48743,
    "c": 0.10921,
    "h": 153.3
  },
  "luminance": 0.12483
}

Semantic roles & 50–950 ramp

primary
#1F7141
secondary
#A5477E
accent
#48A1E0
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#070E08
muted
#7A7E7B

Preview Lab

Preview with #1F7141

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

Preview Lab → · Contrast checker → · Palette generator →

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