#3E7828#3E7828

#3E7828 is a mid, vivid green. Relative luminance 0.146; OKLCH L 51.5% C 0.128 H 138.2°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#3E7828
RGBrgb(62, 120, 40)
HSLhsl(104, 50%, 31%)
HSVhsv(104, 67%, 47%)
CMYKcmyk(48.3%, 0%, 66.7%, 52.9%)
CIE-LABlab(45.09, -34.72, 36.97)
CIE-LCHlch(45.09, 50.72, 133.20°)
OKLaboklab(51.5% -0.0957 0.0855)
OKLCHoklch(51.5% 0.128 138.2)
XYZxyz(9.0858, 14.6097, 4.3483)
Luminance0.1461 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E7828 #622878
analogous
#667828 #3E7828 #28783A
triadic
#3E7828 #283E78 #78283E
tetradic
#3E7828 #286678 #622878 #783A28
square
#3E7828 #286678 #622878 #783A28
split-complementary
#3E7828 #3A2878 #782866
monochromatic
#0F1C09 #264A19 #3E7828 #56A637 #74C654

Accessibility & contrast

On white

5.35
#3E7828 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#3E7828 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E7828
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E7828#FFFFFF#000000##FFFFFF
##3E78281.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6E1E
Deuteranopia (green-blind)
#74692F
Tritanopia (blue-blind)
#3A7467
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #3e7828;
/* rgb */ color: rgb(62, 120, 40);
/* oklch */ color: oklch(51.5% 0.128 138.2);
Tailwind
colors: {
  custom: {
    50: '#799f66',
    500: '#3e7828',
    950: '#000000',
  },
}
SCSS
$custom: #3e7828;
$custom-light: #799f66;
$custom-dark: #000000;
JSON
{
  "hex": "#3e7828",
  "rgb": {
    "r": 62,
    "g": 120,
    "b": 40
  },
  "hsl": {
    "h": 103.5,
    "s": 50,
    "l": 31.373
  },
  "oklch": {
    "l": 0.51502,
    "c": 0.12833,
    "h": 138.2
  },
  "luminance": 0.1461
}

Semantic roles & 50–950 ramp

primary
#3E7828
secondary
#9252AA
accent
#4EDAB3
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#090E06
muted
#7B7E7A

Preview Lab

Preview with #3E7828

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

Preview Lab → · Contrast checker → · Palette generator →

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