#1F8347#1F8347

#1F8347 is a mid, vivid green. Relative luminance 0.170; OKLCH L 53.9% C 0.129 H 152.0°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#1F8347
RGBrgb(31, 131, 71)
HSLhsl(144, 62%, 32%)
HSVhsv(144, 76%, 51%)
CMYKcmyk(76.3%, 0%, 45.8%, 48.6%)
CIE-LABlab(48.23, -42.26, 24.54)
CIE-LCHlch(48.23, 48.87, 149.86°)
OKLaboklab(53.94% -0.1137 0.0604)
OKLCHoklch(53.94% 0.129 152)
XYZxyz(9.8178, 16.9777, 8.7196)
Luminance0.1698 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8347 #831F5B
analogous
#29831F #1F8347 #1F8379
triadic
#1F8347 #471F83 #83471F
tetradic
#1F8347 #1F2983 #831F5B #83791F
square
#1F8347 #1F2983 #831F5B #83791F
split-complementary
#1F8347 #791F83 #831F29
monochromatic
#082011 #13522C #1F8347 #2BB462 #49D480

Accessibility & contrast

On white

4.78
#1F8347 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#1F8347 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F8347
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8347#FFFFFF#000000##FFFFFF
##1F83471.004.784.404.78
#FFFFFF4.781.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837843
Deuteranopia (green-blind)
#776F4B
Tritanopia (blue-blind)
#008174
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #1f8347;
/* rgb */ color: rgb(31, 131, 71);
/* oklch */ color: oklch(53.9% 0.129 152.0);
Tailwind
colors: {
  custom: {
    50: '#6ba87b',
    500: '#1f8347',
    950: '#000000',
  },
}
SCSS
$custom: #1f8347;
$custom-light: #6ba87b;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8347",
  "rgb": {
    "r": 31,
    "g": 131,
    "b": 71
  },
  "hsl": {
    "h": 144,
    "s": 61.728,
    "l": 31.765
  },
  "oklch": {
    "l": 0.53941,
    "c": 0.12877,
    "h": 152
  },
  "luminance": 0.16979
}

Semantic roles & 50–950 ramp

primary
#1F8347
secondary
#B6488A
accent
#43A4E5
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#081009
muted
#7A7F7B

Preview Lab

Preview with #1F8347

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

Preview Lab → · Contrast checker → · Palette generator →

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