#3E7A22#3E7A22

#3E7A22 is a mid, vivid green. Relative luminance 0.151; OKLCH L 52.0% C 0.136 H 137.5°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#3E7A22
RGBrgb(62, 122, 34)
HSLhsl(101, 56%, 31%)
HSVhsv(101, 72%, 48%)
CMYKcmyk(49.2%, 0%, 72.1%, 52.2%)
CIE-LABlab(45.71, -36.15, 40.29)
CIE-LCHlch(45.71, 54.13, 131.90°)
OKLaboklab(51.99% -0.1 0.0917)
OKLCHoklch(51.99% 0.136 137.5)
XYZxyz(9.2346, 15.0581, 3.9330)
Luminance0.1506 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E7A22 #5E227A
analogous
#6A7A22 #3E7A22 #227A32
triadic
#3E7A22 #223E7A #7A223E
tetradic
#3E7A22 #226A7A #5E227A #7A3222
square
#3E7A22 #226A7A #5E227A #7A3222
split-complementary
#3E7A22 #32227A #7A226A
monochromatic
#0D1A07 #264A15 #3E7A22 #56AA2F #73CD4A

Accessibility & contrast

On white

5.23
#3E7A22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#3E7A22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E7A22
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E7A22#FFFFFF#000000##FFFFFF
##3E7A221.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F15
Deuteranopia (green-blind)
#766A2A
Tritanopia (blue-blind)
#3A7668
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #3e7a22;
/* rgb */ color: rgb(62, 122, 34);
/* oklch */ color: oklch(52.0% 0.136 137.5);
Tailwind
colors: {
  custom: {
    50: '#79a162',
    500: '#3e7a22',
    950: '#000000',
  },
}
SCSS
$custom: #3e7a22;
$custom-light: #79a162;
$custom-dark: #000000;
JSON
{
  "hex": "#3e7a22",
  "rgb": {
    "r": 62,
    "g": 122,
    "b": 34
  },
  "hsl": {
    "h": 100.909,
    "s": 56.41,
    "l": 30.588
  },
  "oklch": {
    "l": 0.51993,
    "c": 0.13568,
    "h": 137.5
  },
  "luminance": 0.15059
}

Semantic roles & 50–950 ramp

primary
#3E7A22
secondary
#8E4BAD
accent
#48E0AF
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#090F05
muted
#7B7E7A

Preview Lab

Preview with #3E7A22

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

Preview Lab → · Contrast checker → · Palette generator →

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