#1F774A#1F774A

#1F774A is a mid, moderate green. Relative luminance 0.140; OKLCH L 50.6% C 0.109 H 156.1°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#1F774A
RGBrgb(31, 119, 74)
HSLhsl(149, 59%, 29%)
HSVhsv(149, 74%, 47%)
CMYKcmyk(73.9%, 0%, 37.8%, 53.3%)
CIE-LABlab(44.20, -36.80, 17.55)
CIE-LCHlch(44.20, 40.77, 154.51°)
OKLaboklab(50.63% -0.0996 0.044)
OKLCHoklch(50.63% 0.109 156.1)
XYZxyz(8.3971, 13.9784, 8.7328)
Luminance0.1398 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F774A #771F4C
analogous
#20771F #1F774A #1F7776
triadic
#1F774A #4A1F77 #774A1F
tetradic
#1F774A #1F2077 #771F4C #77761F
square
#1F774A #1F2077 #771F4C #77761F
split-complementary
#1F774A #761F77 #771F20
monochromatic
#06180F #12462C #1F774A #2CA868 #43CE87

Accessibility & contrast

On white

5.53
#1F774A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#1F774A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F774A
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F774A#FFFFFF#000000##FFFFFF
##1F774A1.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766D47
Deuteranopia (green-blind)
#6B654D
Tritanopia (blue-blind)
#00766B
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #1f774a;
/* rgb */ color: rgb(31, 119, 74);
/* oklch */ color: oklch(50.6% 0.109 156.1);
Tailwind
colors: {
  custom: {
    50: '#689f7d',
    500: '#1f774a',
    950: '#000000',
  },
}
SCSS
$custom: #1f774a;
$custom-light: #689f7d;
$custom-dark: #000000;
JSON
{
  "hex": "#1f774a",
  "rgb": {
    "r": 31,
    "g": 119,
    "b": 74
  },
  "hsl": {
    "h": 149.318,
    "s": 58.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.50634,
    "c": 0.10886,
    "h": 156.1
  },
  "luminance": 0.13979
}

Semantic roles & 50–950 ramp

primary
#1F774A
secondary
#AB477A
accent
#4696E2
background
#F6F9F7
surface
#EBF2EE
border
#C6CCC9
text
#070E09
muted
#7A7E7B

Preview Lab

Preview with #1F774A

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

Preview Lab → · Contrast checker → · Palette generator →

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