#1F772D#1F772D

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

Color values

HEX#1F772D
RGBrgb(31, 119, 45)
HSLhsl(130, 59%, 29%)
HSVhsv(130, 74%, 47%)
CMYKcmyk(73.9%, 0%, 62.2%, 53.3%)
CIE-LABlab(43.76, -41.85, 32.78)
CIE-LCHlch(43.76, 53.16, 141.93°)
OKLaboklab(50.13% -0.113 0.0773)
OKLCHoklch(50.13% 0.137 145.6)
XYZxyz(7.6350, 13.6736, 4.7190)
Luminance0.1367 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F772D #771F69
analogous
#3D771F #1F772D #1F7759
triadic
#1F772D #2D1F77 #772D1F
tetradic
#1F772D #1F3D77 #771F69 #77591F
square
#1F772D #1F3D77 #771F69 #77591F
split-complementary
#1F772D #591F77 #771F3D
monochromatic
#061809 #12461B #1F772D #2CA83F #43CE59

Accessibility & contrast

On white

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

On black

3.73
#1F772D on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##1F772D#FFFFFF#000000##FFFFFF
##1F772D1.005.623.735.62
#FFFFFF5.621.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f772d;
/* rgb */ color: rgb(31, 119, 45);
/* oklch */ color: oklch(50.1% 0.137 145.6);
Tailwind
colors: {
  custom: {
    50: '#699f69',
    500: '#1f772d',
    950: '#000000',
  },
}
SCSS
$custom: #1f772d;
$custom-light: #699f69;
$custom-dark: #000000;
JSON
{
  "hex": "#1f772d",
  "rgb": {
    "r": 31,
    "g": 119,
    "b": 45
  },
  "hsl": {
    "h": 129.545,
    "s": 58.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.50126,
    "c": 0.13687,
    "h": 145.6
  },
  "luminance": 0.13674
}

Semantic roles & 50–950 ramp

primary
#1F772D
secondary
#AB479B
accent
#46C9E2
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070F06
muted
#7A7E7A

Preview Lab

Preview with #1F772D

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

Preview Lab → · Contrast checker → · Palette generator →

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