#3E871F#3E871F

#3E871F is a mid, vivid green. Relative luminance 0.185; OKLCH L 55.5% C 0.155 H 138.3°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#3E871F
RGBrgb(62, 135, 31)
HSLhsl(102, 63%, 33%)
HSVhsv(102, 77%, 53%)
CMYKcmyk(54.1%, 0%, 77%, 47.1%)
CIE-LABlab(50.04, -41.74, 45.84)
CIE-LCHlch(50.04, 62.00, 132.32°)
OKLaboklab(55.54% -0.1153 0.1029)
OKLCHoklch(55.54% 0.155 138.3)
XYZxyz(10.8975, 18.4502, 4.2830)
Luminance0.1845 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E871F #681F87
analogous
#72871F #3E871F #1F8734
triadic
#3E871F #1F3E87 #871F3E
tetradic
#3E871F #1F7287 #681F87 #87341F
square
#3E871F #1F7287 #681F87 #87341F
split-complementary
#3E871F #341F87 #871F72
monochromatic
#102308 #275514 #3E871F #55B92A #74D64B

Accessibility & contrast

On white

4.48
#3E871F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#3E871F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3E871F
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E871F#FFFFFF#000000##000000
##3E871F1.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B08
Deuteranopia (green-blind)
#82752A
Tritanopia (blue-blind)
#388273
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #3e871f;
/* rgb */ color: rgb(62, 135, 31);
/* oklch */ color: oklch(55.5% 0.155 138.3);
Tailwind
colors: {
  custom: {
    50: '#7bab63',
    500: '#3e871f',
    950: '#000000',
  },
}
SCSS
$custom: #3e871f;
$custom-light: #7bab63;
$custom-dark: #000000;
JSON
{
  "hex": "#3e871f",
  "rgb": {
    "r": 62,
    "g": 135,
    "b": 31
  },
  "hsl": {
    "h": 102.115,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.55544,
    "c": 0.15453,
    "h": 138.3
  },
  "luminance": 0.18451
}

Semantic roles & 50–950 ramp

primary
#3E871F
secondary
#974AB8
accent
#42E6B5
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #3E871F

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

Preview Lab → · Contrast checker → · Palette generator →

#3E871F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva