#1F8847#1F8847

#1F8847 is a mid, vivid green. Relative luminance 0.184; OKLCH L 55.3% C 0.136 H 151.2°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#1F8847
RGBrgb(31, 136, 71)
HSLhsl(143, 63%, 33%)
HSVhsv(143, 77%, 53%)
CMYKcmyk(77.2%, 0%, 47.8%, 46.7%)
CIE-LABlab(49.92, -44.19, 26.70)
CIE-LCHlch(49.92, 51.63, 148.86°)
OKLaboklab(55.34% -0.1188 0.0654)
OKLCHoklch(55.34% 0.136 151.2)
XYZxyz(10.5057, 18.3533, 8.9489)
Luminance0.1835 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8847 #881F60
analogous
#2C881F #1F8847 #1F887B
triadic
#1F8847 #471F88 #88471F
tetradic
#1F8847 #1F2C88 #881F60 #887B1F
square
#1F8847 #1F2C88 #881F60 #887B1F
split-complementary
#1F8847 #7B1F88 #881F2C
monochromatic
#082413 #14562D #1F8847 #2ABA61 #4BD680

Accessibility & contrast

On white

4.50
#1F8847 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#1F8847 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8847
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8847#FFFFFF#000000##000000
##1F88471.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#897C42
Deuteranopia (green-blind)
#7C734C
Tritanopia (blue-blind)
#008678
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #1f8847;
/* rgb */ color: rgb(31, 136, 71);
/* oklch */ color: oklch(55.3% 0.136 151.2);
Tailwind
colors: {
  custom: {
    50: '#6cac7b',
    500: '#1f8847',
    950: '#000000',
  },
}
SCSS
$custom: #1f8847;
$custom-light: #6cac7b;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8847",
  "rgb": {
    "r": 31,
    "g": 136,
    "b": 71
  },
  "hsl": {
    "h": 142.857,
    "s": 62.874,
    "l": 32.745
  },
  "oklch": {
    "l": 0.55338,
    "c": 0.13563,
    "h": 151.2
  },
  "luminance": 0.18355
}

Semantic roles & 50–950 ramp

primary
#1F8847
secondary
#B94A8F
accent
#42A7E6
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #1F8847

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

Preview Lab → · Contrast checker → · Palette generator →

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