#1F772E#1F772E

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

Color values

HEX#1F772E
RGBrgb(31, 119, 46)
HSLhsl(130, 59%, 29%)
HSVhsv(130, 74%, 47%)
CMYKcmyk(73.9%, 0%, 61.3%, 53.3%)
CIE-LABlab(43.77, -41.72, 32.30)
CIE-LCHlch(43.77, 52.76, 142.25°)
OKLaboklab(50.14% -0.1126 0.0763)
OKLCHoklch(50.14% 0.136 145.9)
XYZxyz(7.6545, 13.6814, 4.8216)
Luminance0.1368 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F772E #771F68
analogous
#3C771F #1F772E #1F775A
triadic
#1F772E #2E1F77 #772E1F
tetradic
#1F772E #1F3C77 #771F68 #775A1F
square
#1F772E #1F3C77 #771F68 #775A1F
split-complementary
#1F772E #5A1F77 #771F3C
monochromatic
#061809 #12461B #1F772E #2CA841 #43CE5A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F772E#FFFFFF#000000##FFFFFF
##1F772E1.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)
#796C26
Deuteranopia (green-blind)
#6F6534
Tritanopia (blue-blind)
#007467
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #1f772e;
/* rgb */ color: rgb(31, 119, 46);
/* oklch */ color: oklch(50.1% 0.136 145.9);
Tailwind
colors: {
  custom: {
    50: '#699f69',
    500: '#1f772e',
    950: '#000000',
  },
}
SCSS
$custom: #1f772e;
$custom-light: #699f69;
$custom-dark: #000000;
JSON
{
  "hex": "#1f772e",
  "rgb": {
    "r": 31,
    "g": 119,
    "b": 46
  },
  "hsl": {
    "h": 130.227,
    "s": 58.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.5014,
    "c": 0.136,
    "h": 145.9
  },
  "luminance": 0.13682
}

Semantic roles & 50–950 ramp

primary
#1F772E
secondary
#AB479A
accent
#46C7E2
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070F06
muted
#7A7E7A

Preview Lab

Preview with #1F772E

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

Preview Lab → · Contrast checker → · Palette generator →

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