#1F8943#1F8943

#1F8943 is a mid, vivid green. Relative luminance 0.186; OKLCH L 55.5% C 0.141 H 149.8°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#1F8943
RGBrgb(31, 137, 67)
HSLhsl(140, 63%, 33%)
HSVhsv(140, 77%, 54%)
CMYKcmyk(77.4%, 0%, 51.1%, 46.3%)
CIE-LABlab(50.20, -45.26, 29.19)
CIE-LCHlch(50.20, 53.86, 147.18°)
OKLaboklab(55.55% -0.1216 0.0709)
OKLCHoklch(55.55% 0.141 149.8)
XYZxyz(10.5230, 18.5866, 8.3421)
Luminance0.1859 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8943 #891F65
analogous
#30891F #1F8943 #1F8978
triadic
#1F8943 #431F89 #89431F
tetradic
#1F8943 #1F3089 #891F65 #89781F
square
#1F8943 #1F3089 #891F65 #89781F
split-complementary
#1F8943 #781F89 #891F30
monochromatic
#082512 #14572B #1F8943 #2ABB5B #4CD67B

Accessibility & contrast

On white

4.45
#1F8943 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#1F8943 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8943
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8943#FFFFFF#000000##000000
##1F89431.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7D3D
Deuteranopia (green-blind)
#7E7448
Tritanopia (blue-blind)
#008679
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #1f8943;
/* rgb */ color: rgb(31, 137, 67);
/* oklch */ color: oklch(55.5% 0.141 149.8);
Tailwind
colors: {
  custom: {
    50: '#6cac78',
    500: '#1f8943',
    950: '#000000',
  },
}
SCSS
$custom: #1f8943;
$custom-light: #6cac78;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8943",
  "rgb": {
    "r": 31,
    "g": 137,
    "b": 67
  },
  "hsl": {
    "h": 140.377,
    "s": 63.095,
    "l": 32.941
  },
  "oklch": {
    "l": 0.55548,
    "c": 0.1408,
    "h": 149.8
  },
  "luminance": 0.18588
}

Semantic roles & 50–950 ramp

primary
#1F8943
secondary
#B94B94
accent
#42AEE6
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #1F8943

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

Preview Lab → · Contrast checker → · Palette generator →

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