#1F8747#1F8747

#1F8747 is a mid, vivid green. Relative luminance 0.181; OKLCH L 55.1% C 0.134 H 151.3°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#1F8747
RGBrgb(31, 135, 71)
HSLhsl(143, 63%, 33%)
HSVhsv(143, 77%, 53%)
CMYKcmyk(77%, 0%, 47.4%, 47.1%)
CIE-LABlab(49.58, -43.81, 26.27)
CIE-LCHlch(49.58, 51.08, 149.05°)
OKLaboklab(55.06% -0.1178 0.0644)
OKLCHoklch(55.06% 0.134 151.3)
XYZxyz(10.3655, 18.0730, 8.9022)
Luminance0.1807 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8747 #871F5F
analogous
#2B871F #1F8747 #1F877B
triadic
#1F8747 #471F87 #87471F
tetradic
#1F8747 #1F2B87 #871F5F #877B1F
square
#1F8747 #1F2B87 #871F5F #877B1F
split-complementary
#1F8747 #7B1F87 #871F2B
monochromatic
#082313 #14552D #1F8747 #2AB961 #4BD680

Accessibility & contrast

On white

4.55
#1F8747 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#1F8747 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8747
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8747#FFFFFF#000000##000000
##1F87471.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#877B42
Deuteranopia (green-blind)
#7B724B
Tritanopia (blue-blind)
#008578
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #1f8747;
/* rgb */ color: rgb(31, 135, 71);
/* oklch */ color: oklch(55.1% 0.134 151.3);
Tailwind
colors: {
  custom: {
    50: '#6cab7b',
    500: '#1f8747',
    950: '#000000',
  },
}
SCSS
$custom: #1f8747;
$custom-light: #6cab7b;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8747",
  "rgb": {
    "r": 31,
    "g": 135,
    "b": 71
  },
  "hsl": {
    "h": 143.077,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.55059,
    "c": 0.13427,
    "h": 151.3
  },
  "luminance": 0.18074
}

Semantic roles & 50–950 ramp

primary
#1F8747
secondary
#B84A8E
accent
#42A7E6
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#081009
muted
#7A7F7B

Preview Lab

Preview with #1F8747

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

Preview Lab → · Contrast checker → · Palette generator →

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