#1F7C49#1F7C49

#1F7C49 is a mid, moderate green. Relative luminance 0.152; OKLCH L 52.0% C 0.117 H 154.3°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#1F7C49
RGBrgb(31, 124, 73)
HSLhsl(147, 60%, 30%)
HSVhsv(147, 75%, 49%)
CMYKcmyk(75%, 0%, 41.1%, 51.4%)
CIE-LABlab(45.89, -39.08, 20.36)
CIE-LCHlch(45.89, 44.07, 152.48°)
OKLaboklab(52.02% -0.1054 0.0507)
OKLCHoklch(52.02% 0.117 154.3)
XYZxyz(8.9745, 15.1866, 8.7604)
Luminance0.1519 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7C49 #7C1F52
analogous
#237C1F #1F7C49 #1F7C77
triadic
#1F7C49 #491F7C #7C491F
tetradic
#1F7C49 #1F237C #7C1F52 #7C771F
square
#1F7C49 #1F237C #7C1F52 #7C771F
split-complementary
#1F7C49 #771F7C #7C1F23
monochromatic
#071A0F #134B2C #1F7C49 #2BAD66 #45D084

Accessibility & contrast

On white

5.20
#1F7C49 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#1F7C49 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7C49
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7C49#FFFFFF#000000##FFFFFF
##1F7C491.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C7145
Deuteranopia (green-blind)
#70694C
Tritanopia (blue-blind)
#007B6F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #1f7c49;
/* rgb */ color: rgb(31, 124, 73);
/* oklch */ color: oklch(52.0% 0.117 154.3);
Tailwind
colors: {
  custom: {
    50: '#69a37c',
    500: '#1f7c49',
    950: '#000000',
  },
}
SCSS
$custom: #1f7c49;
$custom-light: #69a37c;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7c49",
  "rgb": {
    "r": 31,
    "g": 124,
    "b": 73
  },
  "hsl": {
    "h": 147.097,
    "s": 60,
    "l": 30.392
  },
  "oklch": {
    "l": 0.52018,
    "c": 0.117,
    "h": 154.3
  },
  "luminance": 0.15188
}

Semantic roles & 50–950 ramp

primary
#1F7C49
secondary
#AF4880
accent
#459CE3
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #1F7C49

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

Preview Lab → · Contrast checker → · Palette generator →

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