#1F7E49#1F7E49

#1F7E49 is a mid, moderate green. Relative luminance 0.157; OKLCH L 52.6% C 0.120 H 153.8°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#1F7E49
RGBrgb(31, 126, 73)
HSLhsl(147, 61%, 31%)
HSVhsv(147, 75%, 49%)
CMYKcmyk(75.4%, 0%, 42.1%, 50.6%)
CIE-LABlab(46.57, -39.89, 21.26)
CIE-LCHlch(46.57, 45.20, 151.94°)
OKLaboklab(52.58% -0.1075 0.0528)
OKLCHoklch(52.58% 0.12 153.8)
XYZxyz(9.2277, 15.6930, 8.8448)
Luminance0.1569 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7E49 #7E1F54
analogous
#247E1F #1F7E49 #1F7E78
triadic
#1F7E49 #491F7E #7E491F
tetradic
#1F7E49 #1F247E #7E1F54 #7E781F
square
#1F7E49 #1F247E #7E1F54 #7E781F
split-complementary
#1F7E49 #781F7E #7E1F24
monochromatic
#071C10 #134D2D #1F7E49 #2BAF65 #46D184

Accessibility & contrast

On white

5.07
#1F7E49 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#1F7E49 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7E49
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7E49#FFFFFF#000000##FFFFFF
##1F7E491.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7345
Deuteranopia (green-blind)
#726B4D
Tritanopia (blue-blind)
#007C71
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #1f7e49;
/* rgb */ color: rgb(31, 126, 73);
/* oklch */ color: oklch(52.6% 0.120 153.8);
Tailwind
colors: {
  custom: {
    50: '#6aa47c',
    500: '#1f7e49',
    950: '#000000',
  },
}
SCSS
$custom: #1f7e49;
$custom-light: #6aa47c;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7e49",
  "rgb": {
    "r": 31,
    "g": 126,
    "b": 73
  },
  "hsl": {
    "h": 146.526,
    "s": 60.51,
    "l": 30.784
  },
  "oklch": {
    "l": 0.52579,
    "c": 0.11982,
    "h": 153.8
  },
  "luminance": 0.15694
}

Semantic roles & 50–950 ramp

primary
#1F7E49
secondary
#B14883
accent
#449DE4
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #1F7E49

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

Preview Lab → · Contrast checker → · Palette generator →

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