#3E8B1F#3E8B1F

#3E8B1F is a mid, vivid green. Relative luminance 0.196; OKLCH L 56.6% C 0.160 H 138.6°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#3E8B1F
RGBrgb(62, 139, 31)
HSLhsl(103, 64%, 33%)
HSVhsv(103, 78%, 55%)
CMYKcmyk(55.4%, 0%, 77.7%, 45.5%)
CIE-LABlab(51.37, -43.32, 47.14)
CIE-LCHlch(51.37, 64.02, 132.58°)
OKLaboklab(56.64% -0.1196 0.1056)
OKLCHoklch(56.64% 0.16 138.6)
XYZxyz(11.4661, 19.5874, 4.4726)
Luminance0.1959 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E8B1F #6C1F8B
analogous
#748B1F #3E8B1F #1F8B36
triadic
#3E8B1F #1F3E8B #8B1F3E
tetradic
#3E8B1F #1F748B #6C1F8B #8B361F
square
#3E8B1F #1F748B #6C1F8B #8B361F
split-complementary
#3E8B1F #361F8B #8B1F74
monochromatic
#112709 #285914 #3E8B1F #54BD2A #75D74D

Accessibility & contrast

On white

4.27
#3E8B1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#3E8B1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3E8B1F
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E8B1F#FFFFFF#000000##000000
##3E8B1F1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E06
Deuteranopia (green-blind)
#86782B
Tritanopia (blue-blind)
#378677
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #3e8b1f;
/* rgb */ color: rgb(62, 139, 31);
/* oklch */ color: oklch(56.6% 0.160 138.6);
Tailwind
colors: {
  custom: {
    50: '#7cae63',
    500: '#3e8b1f',
    950: '#000000',
  },
}
SCSS
$custom: #3e8b1f;
$custom-light: #7cae63;
$custom-dark: #000000;
JSON
{
  "hex": "#3e8b1f",
  "rgb": {
    "r": 62,
    "g": 139,
    "b": 31
  },
  "hsl": {
    "h": 102.778,
    "s": 63.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.5664,
    "c": 0.15951,
    "h": 138.6
  },
  "luminance": 0.19588
}

Semantic roles & 50–950 ramp

primary
#3E8B1F
secondary
#9A4CBA
accent
#41E7B7
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #3E8B1F

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

Preview Lab → · Contrast checker → · Palette generator →

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