#1F864B#1F864B

#1F864B is a mid, vivid green. Relative luminance 0.178; OKLCH L 54.9% C 0.129 H 152.9°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#1F864B
RGBrgb(31, 134, 75)
HSLhsl(146, 62%, 32%)
HSVhsv(146, 77%, 53%)
CMYKcmyk(76.9%, 0%, 44%, 47.5%)
CIE-LABlab(49.31, -42.68, 23.73)
CIE-LCHlch(49.31, 48.83, 150.92°)
OKLaboklab(54.85% -0.1149 0.0587)
OKLCHoklch(54.85% 0.129 152.9)
XYZxyz(10.3592, 17.8483, 9.5543)
Luminance0.1785 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F864B #861F5A
analogous
#27861F #1F864B #1F867E
triadic
#1F864B #4B1F86 #864B1F
tetradic
#1F864B #1F2786 #861F5A #867E1F
square
#1F864B #1F2786 #861F5A #867E1F
split-complementary
#1F864B #7E1F86 #861F27
monochromatic
#082313 #14542F #1F864B #2AB867 #4AD586

Accessibility & contrast

On white

4.60
#1F864B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#1F864B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #1F864B
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F864B#FFFFFF#000000##FFFFFF
##1F864B1.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867A47
Deuteranopia (green-blind)
#7A724F
Tritanopia (blue-blind)
#008478
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #1f864b;
/* rgb */ color: rgb(31, 134, 75);
/* oklch */ color: oklch(54.9% 0.129 152.9);
Tailwind
colors: {
  custom: {
    50: '#6baa7e',
    500: '#1f864b',
    950: '#000000',
  },
}
SCSS
$custom: #1f864b;
$custom-light: #6baa7e;
$custom-dark: #000000;
JSON
{
  "hex": "#1f864b",
  "rgb": {
    "r": 31,
    "g": 134,
    "b": 75
  },
  "hsl": {
    "h": 145.631,
    "s": 62.424,
    "l": 32.353
  },
  "oklch": {
    "l": 0.54854,
    "c": 0.12901,
    "h": 152.9
  },
  "luminance": 0.1785
}

Semantic roles & 50–950 ramp

primary
#1F864B
secondary
#B84988
accent
#42A0E5
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#08100A
muted
#7A7F7C

Preview Lab

Preview with #1F864B

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

Preview Lab → · Contrast checker → · Palette generator →

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