#3E8126#3E8126

#3E8126 is a mid, vivid green. Relative luminance 0.169; OKLCH L 54.0% C 0.142 H 138.7°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#3E8126
RGBrgb(62, 129, 38)
HSLhsl(104, 54%, 33%)
HSVhsv(104, 71%, 51%)
CMYKcmyk(51.9%, 0%, 70.5%, 49.4%)
CIE-LABlab(48.09, -38.74, 41.09)
CIE-LCHlch(48.09, 56.47, 133.32°)
OKLaboklab(53.96% -0.1067 0.0939)
OKLCHoklch(53.96% 0.142 138.7)
XYZxyz(10.1863, 16.8638, 4.5516)
Luminance0.1686 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E8126 #692681
analogous
#6B8126 #3E8126 #26813C
triadic
#3E8126 #263E81 #81263E
tetradic
#3E8126 #266B81 #692681 #813C26
square
#3E8126 #266B81 #692681 #813C26
split-complementary
#3E8126 #3C2681 #81266B
monochromatic
#11220A #275218 #3E8126 #55B034 #74CD55

Accessibility & contrast

On white

4.80
#3E8126 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#3E8126 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E8126
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E8126#FFFFFF#000000##FFFFFF
##3E81261.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857619
Deuteranopia (green-blind)
#7C702E
Tritanopia (blue-blind)
#387D6F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #3e8126;
/* rgb */ color: rgb(62, 129, 38);
/* oklch */ color: oklch(54.0% 0.142 138.7);
Tailwind
colors: {
  custom: {
    50: '#7aa666',
    500: '#3e8126',
    950: '#000000',
  },
}
SCSS
$custom: #3e8126;
$custom-light: #7aa666;
$custom-dark: #000000;
JSON
{
  "hex": "#3e8126",
  "rgb": {
    "r": 62,
    "g": 129,
    "b": 38
  },
  "hsl": {
    "h": 104.176,
    "s": 54.491,
    "l": 32.745
  },
  "oklch": {
    "l": 0.53955,
    "c": 0.14217,
    "h": 138.7
  },
  "luminance": 0.16865
}

Semantic roles & 50–950 ramp

primary
#3E8126
secondary
#9851B1
accent
#4ADEB7
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A0F06
muted
#7C7F7A

Preview Lab

Preview with #3E8126

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

Preview Lab → · Contrast checker → · Palette generator →

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