#1F7944#1F7944

#1F7944 is a mid, moderate green. Relative luminance 0.144; OKLCH L 51.1% C 0.118 H 152.8°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#1F7944
RGBrgb(31, 121, 68)
HSLhsl(145, 59%, 30%)
HSVhsv(145, 74%, 47%)
CMYKcmyk(74.4%, 0%, 43.8%, 52.5%)
CIE-LABlab(44.78, -38.85, 21.73)
CIE-LCHlch(44.78, 44.52, 150.78°)
OKLaboklab(51.07% -0.1047 0.0538)
OKLCHoklch(51.07% 0.118 152.8)
XYZxyz(8.4451, 14.3824, 7.7987)
Luminance0.1438 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7944 #791F54
analogous
#27791F #1F7944 #1F7971
triadic
#1F7944 #441F79 #79441F
tetradic
#1F7944 #1F2779 #791F54 #79711F
square
#1F7944 #1F2779 #791F54 #79711F
split-complementary
#1F7944 #711F79 #791F27
monochromatic
#06180E #134829 #1F7944 #2BAA5F #43CF7D

Accessibility & contrast

On white

5.42
#1F7944 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#1F7944 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7944
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7944#FFFFFF#000000##FFFFFF
##1F79441.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796F40
Deuteranopia (green-blind)
#6E6748
Tritanopia (blue-blind)
#00776C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #1f7944;
/* rgb */ color: rgb(31, 121, 68);
/* oklch */ color: oklch(51.1% 0.118 152.8);
Tailwind
colors: {
  custom: {
    50: '#68a078',
    500: '#1f7944',
    950: '#000000',
  },
}
SCSS
$custom: #1f7944;
$custom-light: #68a078;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7944",
  "rgb": {
    "r": 31,
    "g": 121,
    "b": 68
  },
  "hsl": {
    "h": 144.667,
    "s": 59.211,
    "l": 29.804
  },
  "oklch": {
    "l": 0.51072,
    "c": 0.11771,
    "h": 152.8
  },
  "luminance": 0.14383
}

Semantic roles & 50–950 ramp

primary
#1F7944
secondary
#AC4783
accent
#45A2E2
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#070F09
muted
#7A7E7B

Preview Lab

Preview with #1F7944

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

Preview Lab → · Contrast checker → · Palette generator →

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