#1F8941#1F8941

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

Color values

HEX#1F8941
RGBrgb(31, 137, 65)
HSLhsl(139, 63%, 33%)
HSVhsv(139, 77%, 54%)
CMYKcmyk(77.4%, 0%, 52.6%, 46.3%)
CIE-LABlab(50.17, -45.59, 30.21)
CIE-LCHlch(50.17, 54.69, 146.47°)
OKLaboklab(55.52% -0.1225 0.0731)
OKLCHoklch(55.52% 0.143 149.2)
XYZxyz(10.4640, 18.5631, 8.0315)
Luminance0.1856 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8941 #891F67
analogous
#32891F #1F8941 #1F8976
triadic
#1F8941 #411F89 #89411F
tetradic
#1F8941 #1F3289 #891F67 #89761F
square
#1F8941 #1F3289 #891F67 #89761F
split-complementary
#1F8941 #761F89 #891F32
monochromatic
#082512 #145729 #1F8941 #2ABB59 #4CD678

Accessibility & contrast

On white

4.46
#1F8941 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#1F8941 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8941
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8941#FFFFFF#000000##000000
##1F89411.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7D3B
Deuteranopia (green-blind)
#7E7446
Tritanopia (blue-blind)
#008678
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #1f8941;
/* rgb */ color: rgb(31, 137, 65);
/* oklch */ color: oklch(55.5% 0.143 149.2);
Tailwind
colors: {
  custom: {
    50: '#6cac77',
    500: '#1f8941',
    950: '#000000',
  },
}
SCSS
$custom: #1f8941;
$custom-light: #6cac77;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8941",
  "rgb": {
    "r": 31,
    "g": 137,
    "b": 65
  },
  "hsl": {
    "h": 139.245,
    "s": 63.095,
    "l": 32.941
  },
  "oklch": {
    "l": 0.55516,
    "c": 0.14268,
    "h": 149.2
  },
  "luminance": 0.18564
}

Semantic roles & 50–950 ramp

primary
#1F8941
secondary
#B94B96
accent
#42B1E6
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #1F8941

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

Preview Lab → · Contrast checker → · Palette generator →

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