#1F7740#1F7740

#1F7740 is a mid, moderate green. Relative luminance 0.139; OKLCH L 50.4% C 0.119 H 151.6°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#1F7740
RGBrgb(31, 119, 64)
HSLhsl(143, 59%, 29%)
HSVhsv(143, 74%, 47%)
CMYKcmyk(73.9%, 0%, 46.2%, 53.3%)
CIE-LABlab(44.02, -38.81, 23.00)
CIE-LCHlch(44.02, 45.11, 149.35°)
OKLaboklab(50.43% -0.1045 0.0566)
OKLCHoklch(50.43% 0.119 151.6)
XYZxyz(8.0866, 13.8542, 7.0974)
Luminance0.1386 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7740 #771F56
analogous
#2A771F #1F7740 #1F776C
triadic
#1F7740 #401F77 #77401F
tetradic
#1F7740 #1F2A77 #771F56 #776C1F
square
#1F7740 #1F2A77 #771F56 #776C1F
split-complementary
#1F7740 #6C1F77 #771F2A
monochromatic
#06180D #124626 #1F7740 #2CA85A #43CE77

Accessibility & contrast

On white

5.57
#1F7740 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#1F7740 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7740
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7740#FFFFFF#000000##FFFFFF
##1F77401.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776D3C
Deuteranopia (green-blind)
#6D6544
Tritanopia (blue-blind)
#00756A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #1f7740;
/* rgb */ color: rgb(31, 119, 64);
/* oklch */ color: oklch(50.4% 0.119 151.6);
Tailwind
colors: {
  custom: {
    50: '#689f75',
    500: '#1f7740',
    950: '#000000',
  },
}
SCSS
$custom: #1f7740;
$custom-light: #689f75;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7740",
  "rgb": {
    "r": 31,
    "g": 119,
    "b": 64
  },
  "hsl": {
    "h": 142.5,
    "s": 58.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.50428,
    "c": 0.11886,
    "h": 151.6
  },
  "luminance": 0.13855
}

Semantic roles & 50–950 ramp

primary
#1F7740
secondary
#AB4785
accent
#46A7E2
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#070E08
muted
#7A7E7B

Preview Lab

Preview with #1F7740

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

Preview Lab → · Contrast checker → · Palette generator →

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