#1F773F#1F773F

#1F773F is a mid, moderate green. Relative luminance 0.138; OKLCH L 50.4% C 0.120 H 151.2°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#1F773F
RGBrgb(31, 119, 63)
HSLhsl(142, 59%, 29%)
HSVhsv(142, 74%, 47%)
CMYKcmyk(73.9%, 0%, 47.1%, 53.3%)
CIE-LABlab(44.01, -39.00, 23.54)
CIE-LCHlch(44.01, 45.55, 148.89°)
OKLaboklab(50.41% -0.105 0.0578)
OKLCHoklch(50.41% 0.12 151.2)
XYZxyz(8.0584, 13.8429, 6.9489)
Luminance0.1384 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F773F #771F57
analogous
#2B771F #1F773F #1F776B
triadic
#1F773F #3F1F77 #773F1F
tetradic
#1F773F #1F2B77 #771F57 #776B1F
square
#1F773F #1F2B77 #771F57 #776B1F
split-complementary
#1F773F #6B1F77 #771F2B
monochromatic
#06180D #124625 #1F773F #2CA859 #43CE75

Accessibility & contrast

On white

5.57
#1F773F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#1F773F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F773F
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F773F#FFFFFF#000000##FFFFFF
##1F773F1.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776D3B
Deuteranopia (green-blind)
#6D6543
Tritanopia (blue-blind)
#00756A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #1f773f;
/* rgb */ color: rgb(31, 119, 63);
/* oklch */ color: oklch(50.4% 0.120 151.2);
Tailwind
colors: {
  custom: {
    50: '#689f75',
    500: '#1f773f',
    950: '#000000',
  },
}
SCSS
$custom: #1f773f;
$custom-light: #689f75;
$custom-dark: #000000;
JSON
{
  "hex": "#1f773f",
  "rgb": {
    "r": 31,
    "g": 119,
    "b": 63
  },
  "hsl": {
    "h": 141.818,
    "s": 58.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.5041,
    "c": 0.11986,
    "h": 151.2
  },
  "luminance": 0.13844
}

Semantic roles & 50–950 ramp

primary
#1F773F
secondary
#AB4786
accent
#46A9E2
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#070E08
muted
#7A7E7B

Preview Lab

Preview with #1F773F

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

Preview Lab → · Contrast checker → · Palette generator →

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