#1F8741#1F8741

#1F8741 is a mid, vivid green. Relative luminance 0.180; OKLCH L 55.0% C 0.140 H 149.4°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#1F8741
RGBrgb(31, 135, 65)
HSLhsl(140, 63%, 33%)
HSVhsv(140, 77%, 53%)
CMYKcmyk(77%, 0%, 51.9%, 47.1%)
CIE-LABlab(49.50, -44.84, 29.37)
CIE-LCHlch(49.50, 53.61, 146.77°)
OKLaboklab(54.96% -0.1205 0.0712)
OKLCHoklch(54.96% 0.14 149.4)
XYZxyz(10.1823, 17.9997, 7.9377)
Luminance0.1800 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8741 #871F65
analogous
#31871F #1F8741 #1F8775
triadic
#1F8741 #411F87 #87411F
tetradic
#1F8741 #1F3187 #871F65 #87751F
square
#1F8741 #1F3187 #871F65 #87751F
split-complementary
#1F8741 #751F87 #871F31
monochromatic
#082311 #145529 #1F8741 #2AB959 #4BD678

Accessibility & contrast

On white

4.57
#1F8741 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#1F8741 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8741
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8741#FFFFFF#000000##000000
##1F87411.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#887B3B
Deuteranopia (green-blind)
#7C7246
Tritanopia (blue-blind)
#008477
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #1f8741;
/* rgb */ color: rgb(31, 135, 65);
/* oklch */ color: oklch(55.0% 0.140 149.4);
Tailwind
colors: {
  custom: {
    50: '#6cab77',
    500: '#1f8741',
    950: '#000000',
  },
}
SCSS
$custom: #1f8741;
$custom-light: #6cab77;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8741",
  "rgb": {
    "r": 31,
    "g": 135,
    "b": 65
  },
  "hsl": {
    "h": 139.615,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.54956,
    "c": 0.14,
    "h": 149.4
  },
  "luminance": 0.18001
}

Semantic roles & 50–950 ramp

primary
#1F8741
secondary
#B84A94
accent
#42B0E6
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #1F8741

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

Preview Lab → · Contrast checker → · Palette generator →

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