#1F8841#1F8841

#1F8841 is a mid, vivid green. Relative luminance 0.183; OKLCH L 55.2% C 0.141 H 149.3°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#1F8841
RGBrgb(31, 136, 65)
HSLhsl(139, 63%, 33%)
HSVhsv(139, 77%, 53%)
CMYKcmyk(77.2%, 0%, 52.2%, 46.7%)
CIE-LABlab(49.83, -45.21, 29.79)
CIE-LCHlch(49.83, 54.15, 146.62°)
OKLaboklab(55.24% -0.1215 0.0721)
OKLCHoklch(55.24% 0.141 149.3)
XYZxyz(10.3225, 18.2801, 7.9844)
Luminance0.1828 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8841 #881F66
analogous
#31881F #1F8841 #1F8876
triadic
#1F8841 #411F88 #88411F
tetradic
#1F8841 #1F3188 #881F66 #88761F
square
#1F8841 #1F3188 #881F66 #88761F
split-complementary
#1F8841 #761F88 #881F31
monochromatic
#082411 #145629 #1F8841 #2ABA59 #4BD678

Accessibility & contrast

On white

4.51
#1F8841 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#1F8841 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8841
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8841#FFFFFF#000000##000000
##1F88411.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#897C3B
Deuteranopia (green-blind)
#7D7346
Tritanopia (blue-blind)
#008578
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #1f8841;
/* rgb */ color: rgb(31, 136, 65);
/* oklch */ color: oklch(55.2% 0.141 149.3);
Tailwind
colors: {
  custom: {
    50: '#6cac77',
    500: '#1f8841',
    950: '#000000',
  },
}
SCSS
$custom: #1f8841;
$custom-light: #6cac77;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8841",
  "rgb": {
    "r": 31,
    "g": 136,
    "b": 65
  },
  "hsl": {
    "h": 139.429,
    "s": 62.874,
    "l": 32.745
  },
  "oklch": {
    "l": 0.55236,
    "c": 0.14134,
    "h": 149.3
  },
  "luminance": 0.18281
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1F8841

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

Preview Lab → · Contrast checker → · Palette generator →

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