#3E7822#3E7822

#3E7822 is a mid, vivid green. Relative luminance 0.146; OKLCH L 51.4% C 0.133 H 137.3°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#3E7822
RGBrgb(62, 120, 34)
HSLhsl(100, 56%, 30%)
HSVhsv(100, 72%, 47%)
CMYKcmyk(48.3%, 0%, 71.7%, 52.9%)
CIE-LABlab(45.04, -35.29, 39.59)
CIE-LCHlch(45.04, 53.03, 131.71°)
OKLaboklab(51.44% -0.0977 0.0902)
OKLCHoklch(51.44% 0.133 137.3)
XYZxyz(8.9915, 14.5720, 3.8519)
Luminance0.1457 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E7822 #5C2278
analogous
#697822 #3E7822 #227831
triadic
#3E7822 #223E78 #78223E
tetradic
#3E7822 #226978 #5C2278 #783122
square
#3E7822 #226978 #5C2278 #783122
split-complementary
#3E7822 #312278 #782269
monochromatic
#0D1907 #254814 #3E7822 #57A830 #73CB49

Accessibility & contrast

On white

5.36
#3E7822 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#3E7822 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E7822
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E7822#FFFFFF#000000##FFFFFF
##3E78221.005.363.915.36
#FFFFFF5.361.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6E15
Deuteranopia (green-blind)
#74692A
Tritanopia (blue-blind)
#3B7467
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #3e7822;
/* rgb */ color: rgb(62, 120, 34);
/* oklch */ color: oklch(51.4% 0.133 137.3);
Tailwind
colors: {
  custom: {
    50: '#799f62',
    500: '#3e7822',
    950: '#000000',
  },
}
SCSS
$custom: #3e7822;
$custom-light: #799f62;
$custom-dark: #000000;
JSON
{
  "hex": "#3e7822",
  "rgb": {
    "r": 62,
    "g": 120,
    "b": 34
  },
  "hsl": {
    "h": 100.465,
    "s": 55.844,
    "l": 30.196
  },
  "oklch": {
    "l": 0.51442,
    "c": 0.13298,
    "h": 137.3
  },
  "luminance": 0.14573
}

Semantic roles & 50–950 ramp

primary
#3E7822
secondary
#8C4BAB
accent
#49DFAE
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#090E05
muted
#7B7E7A

Preview Lab

Preview with #3E7822

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

Preview Lab → · Contrast checker → · Palette generator →

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