#3E8D1F#3E8D1F

#3E8D1F is a mid, vivid green. Relative luminance 0.202; OKLCH L 57.2% C 0.162 H 138.7°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#3E8D1F
RGBrgb(62, 141, 31)
HSLhsl(103, 64%, 34%)
HSVhsv(103, 78%, 55%)
CMYKcmyk(56%, 0%, 78%, 44.7%)
CIE-LABlab(52.03, -44.10, 47.79)
CIE-LCHlch(52.03, 65.03, 132.70°)
OKLaboklab(57.19% -0.1217 0.1069)
OKLCHoklch(57.19% 0.162 138.7)
XYZxyz(11.7584, 20.1719, 4.5700)
Luminance0.2017 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E8D1F #6E1F8D
analogous
#758D1F #3E8D1F #1F8D37
triadic
#3E8D1F #1F3E8D #8D1F3E
tetradic
#3E8D1F #1F758D #6E1F8D #8D371F
square
#3E8D1F #1F758D #6E1F8D #8D371F
split-complementary
#3E8D1F #371F8D #8D1F75
monochromatic
#122909 #285B14 #3E8D1F #54BF2A #75D84E

Accessibility & contrast

On white

4.17
#3E8D1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#3E8D1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3E8D1F
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E8D1F#FFFFFF#000000##000000
##3E8D1F1.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#918005
Deuteranopia (green-blind)
#877A2B
Tritanopia (blue-blind)
#378878
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #3e8d1f;
/* rgb */ color: rgb(62, 141, 31);
/* oklch */ color: oklch(57.2% 0.162 138.7);
Tailwind
colors: {
  custom: {
    50: '#7caf63',
    500: '#3e8d1f',
    950: '#000000',
  },
}
SCSS
$custom: #3e8d1f;
$custom-light: #7caf63;
$custom-dark: #000000;
JSON
{
  "hex": "#3e8d1f",
  "rgb": {
    "r": 62,
    "g": 141,
    "b": 31
  },
  "hsl": {
    "h": 103.091,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.57187,
    "c": 0.16198,
    "h": 138.7
  },
  "luminance": 0.20173
}

Semantic roles & 50–950 ramp

primary
#3E8D1F
secondary
#9C4DBB
accent
#41E7B8
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #3E8D1F

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

Preview Lab → · Contrast checker → · Palette generator →

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