#1F7244#1F7244

#1F7244 is a mid, moderate green. Relative luminance 0.127; OKLCH L 49.1% C 0.108 H 154.5°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#1F7244
RGBrgb(31, 114, 68)
HSLhsl(147, 57%, 28%)
HSVhsv(147, 73%, 45%)
CMYKcmyk(72.8%, 0%, 40.4%, 55.3%)
CIE-LABlab(42.37, -35.96, 18.57)
CIE-LCHlch(42.37, 40.47, 152.69°)
OKLaboklab(49.09% -0.0971 0.0464)
OKLCHoklch(49.09% 0.108 154.5)
XYZxyz(7.6251, 12.7424, 7.5254)
Luminance0.1274 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7244 #721F4D
analogous
#23721F #1F7244 #1F726D
triadic
#1F7244 #441F72 #72441F
tetradic
#1F7244 #1F2372 #721F4D #726D1F
square
#1F7244 #1F2372 #721F4D #726D1F
split-complementary
#1F7244 #6D1F72 #721F23
monochromatic
#07180E #124227 #1F7244 #2CA261 #40CB7E

Accessibility & contrast

On white

5.92
#1F7244 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#1F7244 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7244
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7244#FFFFFF#000000##FFFFFF
##1F72441.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726841
Deuteranopia (green-blind)
#676147
Tritanopia (blue-blind)
#007166
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #1f7244;
/* rgb */ color: rgb(31, 114, 68);
/* oklch */ color: oklch(49.1% 0.108 154.5);
Tailwind
colors: {
  custom: {
    50: '#679b78',
    500: '#1f7244',
    950: '#000000',
  },
}
SCSS
$custom: #1f7244;
$custom-light: #679b78;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7244",
  "rgb": {
    "r": 31,
    "g": 114,
    "b": 68
  },
  "hsl": {
    "h": 146.747,
    "s": 57.241,
    "l": 28.431
  },
  "oklch": {
    "l": 0.4909,
    "c": 0.10763,
    "h": 154.5
  },
  "luminance": 0.12743
}

Semantic roles & 50–950 ramp

primary
#1F7244
secondary
#A6477C
accent
#479CE0
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#070E09
muted
#7A7E7B

Preview Lab

Preview with #1F7244

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

Preview Lab → · Contrast checker → · Palette generator →

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