#1F772C#1F772C

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

Color values

HEX#1F772C
RGBrgb(31, 119, 44)
HSLhsl(129, 59%, 29%)
HSVhsv(129, 74%, 47%)
CMYKcmyk(73.9%, 0%, 63%, 53.3%)
CIE-LABlab(43.75, -41.98, 33.27)
CIE-LCHlch(43.75, 53.57, 141.61°)
OKLaboklab(50.11% -0.1134 0.0782)
OKLCHoklch(50.11% 0.138 145.4)
XYZxyz(7.6160, 13.6660, 4.6188)
Luminance0.1367 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F772C #771F6A
analogous
#3E771F #1F772C #1F7758
triadic
#1F772C #2C1F77 #772C1F
tetradic
#1F772C #1F3E77 #771F6A #77581F
square
#1F772C #1F3E77 #771F6A #77581F
split-complementary
#1F772C #581F77 #771F3E
monochromatic
#061809 #12461A #1F772C #2CA83E #43CE57

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F772C#FFFFFF#000000##FFFFFF
##1F772C1.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)
#796C24
Deuteranopia (green-blind)
#6F6532
Tritanopia (blue-blind)
#007467
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #1f772c;
/* rgb */ color: rgb(31, 119, 44);
/* oklch */ color: oklch(50.1% 0.138 145.4);
Tailwind
colors: {
  custom: {
    50: '#699f68',
    500: '#1f772c',
    950: '#000000',
  },
}
SCSS
$custom: #1f772c;
$custom-light: #699f68;
$custom-dark: #000000;
JSON
{
  "hex": "#1f772c",
  "rgb": {
    "r": 31,
    "g": 119,
    "b": 44
  },
  "hsl": {
    "h": 128.864,
    "s": 58.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.50114,
    "c": 0.13773,
    "h": 145.4
  },
  "luminance": 0.13667
}

Semantic roles & 50–950 ramp

primary
#1F772C
secondary
#AB479C
accent
#46CBE2
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070F06
muted
#7A7E7A

Preview Lab

Preview with #1F772C

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

Preview Lab → · Contrast checker → · Palette generator →

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