#1F773A#1F773A

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

Color values

HEX#1F773A
RGBrgb(31, 119, 58)
HSLhsl(138, 59%, 29%)
HSVhsv(138, 74%, 47%)
CMYKcmyk(73.9%, 0%, 51.3%, 53.3%)
CIE-LABlab(43.93, -39.88, 26.19)
CIE-LCHlch(43.93, 47.71, 146.71°)
OKLaboklab(50.32% -0.1073 0.0637)
OKLCHoklch(50.32% 0.125 149.3)
XYZxyz(7.9250, 13.7896, 6.2462)
Luminance0.1379 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F773A #771F5C
analogous
#30771F #1F773A #1F7766
triadic
#1F773A #3A1F77 #773A1F
tetradic
#1F773A #1F3077 #771F5C #77661F
square
#1F773A #1F3077 #771F5C #77661F
split-complementary
#1F773A #661F77 #771F30
monochromatic
#06180C #124622 #1F773A #2CA852 #43CE6D

Accessibility & contrast

On white

5.59
#1F773A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #1F773A
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F773A#FFFFFF#000000##FFFFFF
##1F773A1.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f773a;
/* rgb */ color: rgb(31, 119, 58);
/* oklch */ color: oklch(50.3% 0.125 149.3);
Tailwind
colors: {
  custom: {
    50: '#689f71',
    500: '#1f773a',
    950: '#000000',
  },
}
SCSS
$custom: #1f773a;
$custom-light: #689f71;
$custom-dark: #000000;
JSON
{
  "hex": "#1f773a",
  "rgb": {
    "r": 31,
    "g": 119,
    "b": 58
  },
  "hsl": {
    "h": 138.409,
    "s": 58.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.50321,
    "c": 0.12481,
    "h": 149.3
  },
  "luminance": 0.1379
}

Semantic roles & 50–950 ramp

primary
#1F773A
secondary
#AB478C
accent
#46B2E2
background
#F6F9F6
surface
#EBF2EC
border
#C6CCC7
text
#070F08
muted
#7A7E7B

Preview Lab

Preview with #1F773A

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

Preview Lab → · Contrast checker → · Palette generator →

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