#1F773C#1F773C

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

Color values

HEX#1F773C
RGBrgb(31, 119, 60)
HSLhsl(140, 59%, 29%)
HSVhsv(140, 74%, 47%)
CMYKcmyk(73.9%, 0%, 49.6%, 53.3%)
CIE-LABlab(43.96, -39.54, 25.14)
CIE-LCHlch(43.96, 46.85, 147.55°)
OKLaboklab(50.36% -0.1064 0.0614)
OKLCHoklch(50.36% 0.123 150)
XYZxyz(7.9769, 13.8103, 6.5193)
Luminance0.1381 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F773C #771F5A
analogous
#2E771F #1F773C #1F7768
triadic
#1F773C #3C1F77 #773C1F
tetradic
#1F773C #1F2E77 #771F5A #77681F
square
#1F773C #1F2E77 #771F5A #77681F
split-complementary
#1F773C #681F77 #771F2E
monochromatic
#06180C #124624 #1F773C #2CA854 #43CE70

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F773C#FFFFFF#000000##FFFFFF
##1F773C1.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)
#786C37
Deuteranopia (green-blind)
#6D6540
Tritanopia (blue-blind)
#007569
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #1f773c;
/* rgb */ color: rgb(31, 119, 60);
/* oklch */ color: oklch(50.4% 0.123 150.0);
Tailwind
colors: {
  custom: {
    50: '#689f73',
    500: '#1f773c',
    950: '#000000',
  },
}
SCSS
$custom: #1f773c;
$custom-light: #689f73;
$custom-dark: #000000;
JSON
{
  "hex": "#1f773c",
  "rgb": {
    "r": 31,
    "g": 119,
    "b": 60
  },
  "hsl": {
    "h": 139.773,
    "s": 58.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.50355,
    "c": 0.12284,
    "h": 150
  },
  "luminance": 0.13811
}

Semantic roles & 50–950 ramp

primary
#1F773C
secondary
#AB478A
accent
#46AEE2
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#070F08
muted
#7A7E7B

Preview Lab

Preview with #1F773C

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

Preview Lab → · Contrast checker → · Palette generator →

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