#1F773E#1F773E

#1F773E is a mid, vivid green. Relative luminance 0.138; OKLCH L 50.4% C 0.121 H 150.8°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#1F773E
RGBrgb(31, 119, 62)
HSLhsl(141, 59%, 29%)
HSVhsv(141, 74%, 47%)
CMYKcmyk(73.9%, 0%, 47.9%, 53.3%)
CIE-LABlab(43.99, -39.18, 24.07)
CIE-LCHlch(43.99, 45.98, 148.43°)
OKLaboklab(50.39% -0.1055 0.059)
OKLCHoklch(50.39% 0.121 150.8)
XYZxyz(8.0307, 13.8319, 6.8031)
Luminance0.1383 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F773E #771F58
analogous
#2C771F #1F773E #1F776A
triadic
#1F773E #3E1F77 #773E1F
tetradic
#1F773E #1F2C77 #771F58 #776A1F
square
#1F773E #1F2C77 #771F58 #776A1F
split-complementary
#1F773E #6A1F77 #771F2C
monochromatic
#06180D #124625 #1F773E #2CA857 #43CE74

Accessibility & contrast

On white

5.58
#1F773E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #1F773E
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F773E#FFFFFF#000000##FFFFFF
##1F773E1.005.583.775.58
#FFFFFF5.581.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786C3A
Deuteranopia (green-blind)
#6D6542
Tritanopia (blue-blind)
#007569
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #1f773e;
/* rgb */ color: rgb(31, 119, 62);
/* oklch */ color: oklch(50.4% 0.121 150.8);
Tailwind
colors: {
  custom: {
    50: '#689f74',
    500: '#1f773e',
    950: '#000000',
  },
}
SCSS
$custom: #1f773e;
$custom-light: #689f74;
$custom-dark: #000000;
JSON
{
  "hex": "#1f773e",
  "rgb": {
    "r": 31,
    "g": 119,
    "b": 62
  },
  "hsl": {
    "h": 141.136,
    "s": 58.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.50391,
    "c": 0.12086,
    "h": 150.8
  },
  "luminance": 0.13833
}

Semantic roles & 50–950 ramp

primary
#1F773E
secondary
#AB4788
accent
#46ABE2
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#070E08
muted
#7A7E7B

Preview Lab

Preview with #1F773E

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

Preview Lab → · Contrast checker → · Palette generator →

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