#1F7D49#1F7D49

#1F7D49 is a mid, moderate green. Relative luminance 0.154; OKLCH L 52.3% C 0.118 H 154.1°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#1F7D49
RGBrgb(31, 125, 73)
HSLhsl(147, 60%, 31%)
HSVhsv(147, 75%, 49%)
CMYKcmyk(75.2%, 0%, 41.6%, 51%)
CIE-LABlab(46.23, -39.49, 20.81)
CIE-LCHlch(46.23, 44.64, 152.21°)
OKLaboklab(52.3% -0.1065 0.0518)
OKLCHoklch(52.3% 0.118 154.1)
XYZxyz(9.1005, 15.4385, 8.8024)
Luminance0.1544 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7D49 #7D1F53
analogous
#247D1F #1F7D49 #1F7D78
triadic
#1F7D49 #491F7D #7D491F
tetradic
#1F7D49 #1F247D #7D1F53 #7D781F
square
#1F7D49 #1F247D #7D1F53 #7D781F
split-complementary
#1F7D49 #781F7D #7D1F24
monochromatic
#071B10 #134C2C #1F7D49 #2BAE66 #45D184

Accessibility & contrast

On white

5.14
#1F7D49 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#1F7D49 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7D49
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7D49#FFFFFF#000000##FFFFFF
##1F7D491.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D7245
Deuteranopia (green-blind)
#716A4C
Tritanopia (blue-blind)
#007B70
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #1f7d49;
/* rgb */ color: rgb(31, 125, 73);
/* oklch */ color: oklch(52.3% 0.118 154.1);
Tailwind
colors: {
  custom: {
    50: '#69a37c',
    500: '#1f7d49',
    950: '#000000',
  },
}
SCSS
$custom: #1f7d49;
$custom-light: #69a37c;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7d49",
  "rgb": {
    "r": 31,
    "g": 125,
    "b": 73
  },
  "hsl": {
    "h": 146.809,
    "s": 60.256,
    "l": 30.588
  },
  "oklch": {
    "l": 0.52299,
    "c": 0.11842,
    "h": 154.1
  },
  "luminance": 0.1544
}

Semantic roles & 50–950 ramp

primary
#1F7D49
secondary
#B04881
accent
#449CE3
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #1F7D49

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

Preview Lab → · Contrast checker → · Palette generator →

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