#1F8646#1F8646

#1F8646 is a mid, vivid green. Relative luminance 0.178; OKLCH L 54.8% C 0.134 H 151.1°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#1F8646
RGBrgb(31, 134, 70)
HSLhsl(143, 62%, 32%)
HSVhsv(143, 77%, 53%)
CMYKcmyk(76.9%, 0%, 47.8%, 47.5%)
CIE-LABlab(49.23, -43.60, 26.36)
CIE-LCHlch(49.23, 50.95, 148.84°)
OKLaboklab(54.76% -0.1172 0.0646)
OKLCHoklch(54.76% 0.134 151.1)
XYZxyz(10.1948, 17.7825, 8.6882)
Luminance0.1778 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8646 #861F5F
analogous
#2C861F #1F8646 #1F8679
triadic
#1F8646 #461F86 #86461F
tetradic
#1F8646 #1F2C86 #861F5F #86791F
square
#1F8646 #1F2C86 #861F5F #86791F
split-complementary
#1F8646 #791F86 #861F2C
monochromatic
#082312 #14542C #1F8646 #2AB860 #4AD57F

Accessibility & contrast

On white

4.61
#1F8646 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#1F8646 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #1F8646
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8646#FFFFFF#000000##FFFFFF
##1F86461.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877A41
Deuteranopia (green-blind)
#7A724A
Tritanopia (blue-blind)
#008477
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #1f8646;
/* rgb */ color: rgb(31, 134, 70);
/* oklch */ color: oklch(54.8% 0.134 151.1);
Tailwind
colors: {
  custom: {
    50: '#6caa7a',
    500: '#1f8646',
    950: '#000000',
  },
}
SCSS
$custom: #1f8646;
$custom-light: #6caa7a;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8646",
  "rgb": {
    "r": 31,
    "g": 134,
    "b": 70
  },
  "hsl": {
    "h": 142.718,
    "s": 62.424,
    "l": 32.353
  },
  "oklch": {
    "l": 0.54762,
    "c": 0.13387,
    "h": 151.1
  },
  "luminance": 0.17784
}

Semantic roles & 50–950 ramp

primary
#1F8646
secondary
#B8498E
accent
#42A8E5
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#081009
muted
#7A7F7B

Preview Lab

Preview with #1F8646

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

Preview Lab → · Contrast checker → · Palette generator →

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