#1F7D4A#1F7D4A

#1F7D4A is a mid, moderate green. Relative luminance 0.155; OKLCH L 52.3% C 0.117 H 154.5°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#1F7D4A
RGBrgb(31, 125, 74)
HSLhsl(147, 60%, 31%)
HSVhsv(147, 75%, 49%)
CMYKcmyk(75.2%, 0%, 40.8%, 51%)
CIE-LABlab(46.25, -39.28, 20.27)
CIE-LCHlch(46.25, 44.21, 152.71°)
OKLaboklab(52.32% -0.106 0.0505)
OKLCHoklch(52.32% 0.117 154.5)
XYZxyz(9.1339, 15.4519, 8.9784)
Luminance0.1545 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7D4A #7D1F52
analogous
#237D1F #1F7D4A #1F7D79
triadic
#1F7D4A #4A1F7D #7D4A1F
tetradic
#1F7D4A #1F237D #7D1F52 #7D791F
square
#1F7D4A #1F237D #7D1F52 #7D791F
split-complementary
#1F7D4A #791F7D #7D1F23
monochromatic
#071B10 #134C2D #1F7D4A #2BAE67 #45D185

Accessibility & contrast

On white

5.13
#1F7D4A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #1F7D4A
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7D4A#FFFFFF#000000##FFFFFF
##1F7D4A1.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D7246
Deuteranopia (green-blind)
#716A4D
Tritanopia (blue-blind)
#007C70
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #1f7d4a;
/* rgb */ color: rgb(31, 125, 74);
/* oklch */ color: oklch(52.3% 0.117 154.5);
Tailwind
colors: {
  custom: {
    50: '#69a37d',
    500: '#1f7d4a',
    950: '#000000',
  },
}
SCSS
$custom: #1f7d4a;
$custom-light: #69a37d;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7d4a",
  "rgb": {
    "r": 31,
    "g": 125,
    "b": 74
  },
  "hsl": {
    "h": 147.447,
    "s": 60.256,
    "l": 30.588
  },
  "oklch": {
    "l": 0.5232,
    "c": 0.11742,
    "h": 154.5
  },
  "luminance": 0.15453
}

Semantic roles & 50–950 ramp

primary
#1F7D4A
secondary
#B04880
accent
#449BE3
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #1F7D4A

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

Preview Lab → · Contrast checker → · Palette generator →

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