#3E8A1F#3E8A1F

#3E8A1F is a mid, vivid green. Relative luminance 0.193; OKLCH L 56.4% C 0.158 H 138.5°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#3E8A1F
RGBrgb(62, 138, 31)
HSLhsl(103, 63%, 33%)
HSVhsv(103, 78%, 54%)
CMYKcmyk(55.1%, 0%, 77.5%, 45.9%)
CIE-LABlab(51.04, -42.93, 46.82)
CIE-LCHlch(51.04, 63.52, 132.52°)
OKLaboklab(56.37% -0.1185 0.1049)
OKLCHoklch(56.37% 0.158 138.5)
XYZxyz(11.3220, 19.2991, 4.4245)
Luminance0.1930 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E8A1F #6B1F8A
analogous
#738A1F #3E8A1F #1F8A35
triadic
#3E8A1F #1F3E8A #8A1F3E
tetradic
#3E8A1F #1F738A #6B1F8A #8A351F
square
#3E8A1F #1F738A #6B1F8A #8A351F
split-complementary
#3E8A1F #351F8A #8A1F73
monochromatic
#112609 #285814 #3E8A1F #54BC2A #75D74C

Accessibility & contrast

On white

4.32
#3E8A1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#3E8A1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3E8A1F
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E8A1F#FFFFFF#000000##000000
##3E8A1F1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D07
Deuteranopia (green-blind)
#85772A
Tritanopia (blue-blind)
#378576
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #3e8a1f;
/* rgb */ color: rgb(62, 138, 31);
/* oklch */ color: oklch(56.4% 0.158 138.5);
Tailwind
colors: {
  custom: {
    50: '#7cad63',
    500: '#3e8a1f',
    950: '#000000',
  },
}
SCSS
$custom: #3e8a1f;
$custom-light: #7cad63;
$custom-dark: #000000;
JSON
{
  "hex": "#3e8a1f",
  "rgb": {
    "r": 62,
    "g": 138,
    "b": 31
  },
  "hsl": {
    "h": 102.617,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.56366,
    "c": 0.15828,
    "h": 138.5
  },
  "luminance": 0.193
}

Semantic roles & 50–950 ramp

primary
#3E8A1F
secondary
#9A4BBA
accent
#41E6B7
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #3E8A1F

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

Preview Lab → · Contrast checker → · Palette generator →

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