#1F7747#1F7747

#1F7747 is a mid, moderate green. Relative luminance 0.139; OKLCH L 50.6% C 0.112 H 154.6°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#1F7747
RGBrgb(31, 119, 71)
HSLhsl(147, 59%, 29%)
HSVhsv(147, 74%, 47%)
CMYKcmyk(73.9%, 0%, 40.3%, 53.3%)
CIE-LABlab(44.15, -37.43, 19.19)
CIE-LCHlch(44.15, 42.07, 152.85°)
OKLaboklab(50.57% -0.1011 0.0479)
OKLCHoklch(50.57% 0.112 154.6)
XYZxyz(8.2985, 13.9390, 8.2132)
Luminance0.1394 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7747 #771F4F
analogous
#23771F #1F7747 #1F7773
triadic
#1F7747 #471F77 #77471F
tetradic
#1F7747 #1F2377 #771F4F #77731F
square
#1F7747 #1F2377 #771F4F #77731F
split-complementary
#1F7747 #731F77 #771F23
monochromatic
#06180E #12462A #1F7747 #2CA864 #43CE82

Accessibility & contrast

On white

5.54
#1F7747 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#1F7747 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7747
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7747#FFFFFF#000000##FFFFFF
##1F77471.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776D44
Deuteranopia (green-blind)
#6C654A
Tritanopia (blue-blind)
#00766B
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #1f7747;
/* rgb */ color: rgb(31, 119, 71);
/* oklch */ color: oklch(50.6% 0.112 154.6);
Tailwind
colors: {
  custom: {
    50: '#689f7a',
    500: '#1f7747',
    950: '#000000',
  },
}
SCSS
$custom: #1f7747;
$custom-light: #689f7a;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7747",
  "rgb": {
    "r": 31,
    "g": 119,
    "b": 71
  },
  "hsl": {
    "h": 147.273,
    "s": 58.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.50569,
    "c": 0.11185,
    "h": 154.6
  },
  "luminance": 0.1394
}

Semantic roles & 50–950 ramp

primary
#1F7747
secondary
#AB477D
accent
#469BE2
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#070E09
muted
#7A7E7B

Preview Lab

Preview with #1F7747

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

Preview Lab → · Contrast checker → · Palette generator →

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