#1F7746#1F7746

#1F7746 is a mid, moderate green. Relative luminance 0.139; OKLCH L 50.5% C 0.113 H 154.2°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#1F7746
RGBrgb(31, 119, 70)
HSLhsl(147, 59%, 29%)
HSVhsv(147, 74%, 47%)
CMYKcmyk(73.9%, 0%, 41.2%, 53.3%)
CIE-LABlab(44.13, -37.64, 19.74)
CIE-LCHlch(44.13, 42.50, 152.32°)
OKLaboklab(50.55% -0.1016 0.0492)
OKLCHoklch(50.55% 0.113 154.2)
XYZxyz(8.2666, 13.9262, 8.0455)
Luminance0.1393 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7746 #771F50
analogous
#24771F #1F7746 #1F7772
triadic
#1F7746 #461F77 #77461F
tetradic
#1F7746 #1F2477 #771F50 #77721F
square
#1F7746 #1F2477 #771F50 #77721F
split-complementary
#1F7746 #721F77 #771F24
monochromatic
#06180E #124629 #1F7746 #2CA863 #43CE80

Accessibility & contrast

On white

5.55
#1F7746 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #1F7746
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7746#FFFFFF#000000##FFFFFF
##1F77461.005.553.795.55
#FFFFFF5.551.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f7746;
/* rgb */ color: rgb(31, 119, 70);
/* oklch */ color: oklch(50.5% 0.113 154.2);
Tailwind
colors: {
  custom: {
    50: '#689f7a',
    500: '#1f7746',
    950: '#000000',
  },
}
SCSS
$custom: #1f7746;
$custom-light: #689f7a;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7746",
  "rgb": {
    "r": 31,
    "g": 119,
    "b": 70
  },
  "hsl": {
    "h": 146.591,
    "s": 58.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.50548,
    "c": 0.11285,
    "h": 154.2
  },
  "luminance": 0.13927
}

Semantic roles & 50–950 ramp

primary
#1F7746
secondary
#AB477F
accent
#469DE2
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#070E09
muted
#7A7E7B

Preview Lab

Preview with #1F7746

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

Preview Lab → · Contrast checker → · Palette generator →

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