#1F772F#1F772F

#1F772F is a mid, vivid green. Relative luminance 0.137; OKLCH L 50.2% C 0.135 H 146.1°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#1F772F
RGBrgb(31, 119, 47)
HSLhsl(131, 59%, 29%)
HSVhsv(131, 74%, 47%)
CMYKcmyk(73.9%, 0%, 60.5%, 53.3%)
CIE-LABlab(43.78, -41.58, 31.81)
CIE-LCHlch(43.78, 52.35, 142.59°)
OKLaboklab(50.15% -0.1122 0.0754)
OKLCHoklch(50.15% 0.135 146.1)
XYZxyz(7.6744, 13.6893, 4.9266)
Luminance0.1369 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F772F #771F67
analogous
#3B771F #1F772F #1F775B
triadic
#1F772F #2F1F77 #772F1F
tetradic
#1F772F #1F3B77 #771F67 #775B1F
square
#1F772F #1F3B77 #771F67 #775B1F
split-complementary
#1F772F #5B1F77 #771F3B
monochromatic
#06180A #12461C #1F772F #2CA842 #43CE5C

Accessibility & contrast

On white

5.62
#1F772F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#1F772F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F772F
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F772F#FFFFFF#000000##FFFFFF
##1F772F1.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796C28
Deuteranopia (green-blind)
#6E6535
Tritanopia (blue-blind)
#007467
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #1f772f;
/* rgb */ color: rgb(31, 119, 47);
/* oklch */ color: oklch(50.2% 0.135 146.1);
Tailwind
colors: {
  custom: {
    50: '#699f6a',
    500: '#1f772f',
    950: '#000000',
  },
}
SCSS
$custom: #1f772f;
$custom-light: #699f6a;
$custom-dark: #000000;
JSON
{
  "hex": "#1f772f",
  "rgb": {
    "r": 31,
    "g": 119,
    "b": 47
  },
  "hsl": {
    "h": 130.909,
    "s": 58.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.50153,
    "c": 0.13512,
    "h": 146.1
  },
  "luminance": 0.1369
}

Semantic roles & 50–950 ramp

primary
#1F772F
secondary
#AB4798
accent
#46C6E2
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070F06
muted
#7A7E7A

Preview Lab

Preview with #1F772F

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

Preview Lab → · Contrast checker → · Palette generator →

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