#1F8947#1F8947

#1F8947 is a mid, vivid green. Relative luminance 0.186; OKLCH L 55.6% C 0.137 H 151.0°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#1F8947
RGBrgb(31, 137, 71)
HSLhsl(143, 63%, 33%)
HSVhsv(143, 77%, 54%)
CMYKcmyk(77.4%, 0%, 48.2%, 46.3%)
CIE-LABlab(50.26, -44.57, 27.13)
CIE-LCHlch(50.26, 52.18, 148.67°)
OKLaboklab(55.62% -0.1198 0.0664)
OKLCHoklch(55.62% 0.137 151)
XYZxyz(10.6472, 18.6363, 8.9960)
Luminance0.1864 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8947 #891F61
analogous
#2C891F #1F8947 #1F897C
triadic
#1F8947 #471F89 #89471F
tetradic
#1F8947 #1F2C89 #891F61 #897C1F
square
#1F8947 #1F2C89 #891F61 #897C1F
split-complementary
#1F8947 #7C1F89 #891F2C
monochromatic
#082513 #14572D #1F8947 #2ABB61 #4CD680

Accessibility & contrast

On white

4.44
#1F8947 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#1F8947 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8947
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8947#FFFFFF#000000##000000
##1F89471.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7D42
Deuteranopia (green-blind)
#7D744C
Tritanopia (blue-blind)
#008779
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #1f8947;
/* rgb */ color: rgb(31, 137, 71);
/* oklch */ color: oklch(55.6% 0.137 151.0);
Tailwind
colors: {
  custom: {
    50: '#6cac7b',
    500: '#1f8947',
    950: '#000000',
  },
}
SCSS
$custom: #1f8947;
$custom-light: #6cac7b;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8947",
  "rgb": {
    "r": 31,
    "g": 137,
    "b": 71
  },
  "hsl": {
    "h": 142.642,
    "s": 63.095,
    "l": 32.941
  },
  "oklch": {
    "l": 0.55616,
    "c": 0.13699,
    "h": 151
  },
  "luminance": 0.18638
}

Semantic roles & 50–950 ramp

primary
#1F8947
secondary
#B94B8F
accent
#42A8E6
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #1F8947

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

Preview Lab → · Contrast checker → · Palette generator →

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