#1F7F4A#1F7F4A

#1F7F4A is a mid, vivid green. Relative luminance 0.160; OKLCH L 52.9% C 0.120 H 154.0°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#1F7F4A
RGBrgb(31, 127, 74)
HSLhsl(147, 61%, 31%)
HSVhsv(147, 76%, 50%)
CMYKcmyk(75.6%, 0%, 41.7%, 50.2%)
CIE-LABlab(46.93, -40.10, 21.17)
CIE-LCHlch(46.93, 45.34, 152.17°)
OKLaboklab(52.88% -0.1081 0.0527)
OKLCHoklch(52.88% 0.12 154)
XYZxyz(9.3896, 15.9634, 9.0636)
Luminance0.1596 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7F4A #7F1F54
analogous
#247F1F #1F7F4A #1F7F7A
triadic
#1F7F4A #4A1F7F #7F4A1F
tetradic
#1F7F4A #1F247F #7F1F54 #7F7A1F
square
#1F7F4A #1F247F #7F1F54 #7F7A1F
split-complementary
#1F7F4A #7A1F7F #7F1F24
monochromatic
#071D11 #134E2D #1F7F4A #2BB067 #46D285

Accessibility & contrast

On white

5.01
#1F7F4A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#1F7F4A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7F4A
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7F4A#FFFFFF#000000##FFFFFF
##1F7F4A1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7446
Deuteranopia (green-blind)
#736C4E
Tritanopia (blue-blind)
#007D72
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #1f7f4a;
/* rgb */ color: rgb(31, 127, 74);
/* oklch */ color: oklch(52.9% 0.120 154.0);
Tailwind
colors: {
  custom: {
    50: '#6aa57d',
    500: '#1f7f4a',
    950: '#000000',
  },
}
SCSS
$custom: #1f7f4a;
$custom-light: #6aa57d;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7f4a",
  "rgb": {
    "r": 31,
    "g": 127,
    "b": 74
  },
  "hsl": {
    "h": 146.875,
    "s": 60.759,
    "l": 30.98
  },
  "oklch": {
    "l": 0.5288,
    "c": 0.12024,
    "h": 154
  },
  "luminance": 0.15964
}

Semantic roles & 50–950 ramp

primary
#1F7F4A
secondary
#B24882
accent
#449CE4
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #1F7F4A

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

Preview Lab → · Contrast checker → · Palette generator →

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