#1F773B#1F773B

#1F773B is a mid, vivid green. Relative luminance 0.138; OKLCH L 50.3% C 0.124 H 149.7°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#1F773B
RGBrgb(31, 119, 59)
HSLhsl(139, 59%, 29%)
HSVhsv(139, 74%, 47%)
CMYKcmyk(73.9%, 0%, 50.4%, 53.3%)
CIE-LABlab(43.94, -39.71, 25.67)
CIE-LCHlch(43.94, 47.28, 147.12°)
OKLaboklab(50.34% -0.1069 0.0625)
OKLCHoklch(50.34% 0.124 149.7)
XYZxyz(7.9507, 13.7998, 6.3814)
Luminance0.1380 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F773B #771F5B
analogous
#2F771F #1F773B #1F7767
triadic
#1F773B #3B1F77 #773B1F
tetradic
#1F773B #1F2F77 #771F5B #77671F
square
#1F773B #1F2F77 #771F5B #77671F
split-complementary
#1F773B #671F77 #771F2F
monochromatic
#06180C #124623 #1F773B #2CA853 #43CE6F

Accessibility & contrast

On white

5.58
#1F773B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#1F773B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F773B
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F773B#FFFFFF#000000##FFFFFF
##1F773B1.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786C36
Deuteranopia (green-blind)
#6D653F
Tritanopia (blue-blind)
#007569
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #1f773b;
/* rgb */ color: rgb(31, 119, 59);
/* oklch */ color: oklch(50.3% 0.124 149.7);
Tailwind
colors: {
  custom: {
    50: '#689f72',
    500: '#1f773b',
    950: '#000000',
  },
}
SCSS
$custom: #1f773b;
$custom-light: #689f72;
$custom-dark: #000000;
JSON
{
  "hex": "#1f773b",
  "rgb": {
    "r": 31,
    "g": 119,
    "b": 59
  },
  "hsl": {
    "h": 139.091,
    "s": 58.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.50338,
    "c": 0.12382,
    "h": 149.7
  },
  "luminance": 0.13801
}

Semantic roles & 50–950 ramp

primary
#1F773B
secondary
#AB478B
accent
#46B0E2
background
#F6F9F6
surface
#EBF2EC
border
#C6CCC7
text
#070F08
muted
#7A7E7B

Preview Lab

Preview with #1F773B

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

Preview Lab → · Contrast checker → · Palette generator →

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