#3E7D1F#3E7D1F

#3E7D1F is a mid, vivid green. Relative luminance 0.158; OKLCH L 52.8% C 0.142 H 137.4°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#3E7D1F
RGBrgb(62, 125, 31)
HSLhsl(100, 60%, 31%)
HSVhsv(100, 75%, 49%)
CMYKcmyk(50.4%, 0%, 75.2%, 51%)
CIE-LABlab(46.70, -37.66, 42.51)
CIE-LCHlch(46.70, 56.79, 131.54°)
OKLaboklab(52.79% -0.1043 0.0959)
OKLCHoklch(52.79% 0.142 137.4)
XYZxyz(9.5672, 15.7896, 3.8396)
Luminance0.1579 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E7D1F #5E1F7D
analogous
#6D7D1F #3E7D1F #1F7D2F
triadic
#3E7D1F #1F3E7D #7D1F3E
tetradic
#3E7D1F #1F6D7D #5E1F7D #7D2F1F
square
#3E7D1F #1F6D7D #5E1F7D #7D2F1F
split-complementary
#3E7D1F #2F1F7D #7D1F6D
monochromatic
#0D1B07 #264C13 #3E7D1F #56AE2B #73D145

Accessibility & contrast

On white

5.05
#3E7D1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#3E7D1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E7D1F
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E7D1F#FFFFFF#000000##FFFFFF
##3E7D1F1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81720E
Deuteranopia (green-blind)
#796D28
Tritanopia (blue-blind)
#3A786B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #3e7d1f;
/* rgb */ color: rgb(62, 125, 31);
/* oklch */ color: oklch(52.8% 0.142 137.4);
Tailwind
colors: {
  custom: {
    50: '#7aa361',
    500: '#3e7d1f',
    950: '#000000',
  },
}
SCSS
$custom: #3e7d1f;
$custom-light: #7aa361;
$custom-dark: #000000;
JSON
{
  "hex": "#3e7d1f",
  "rgb": {
    "r": 62,
    "g": 125,
    "b": 31
  },
  "hsl": {
    "h": 100.213,
    "s": 60.256,
    "l": 30.588
  },
  "oklch": {
    "l": 0.52794,
    "c": 0.1417,
    "h": 137.4
  },
  "luminance": 0.1579
}

Semantic roles & 50–950 ramp

primary
#3E7D1F
secondary
#8E48B0
accent
#44E3AF
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A0F05
muted
#7C7F7A

Preview Lab

Preview with #3E7D1F

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

Preview Lab → · Contrast checker → · Palette generator →

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