#3E8A21#3E8A21

#3E8A21 is a mid, vivid green. Relative luminance 0.193; OKLCH L 56.4% C 0.157 H 138.7°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#3E8A21
RGBrgb(62, 138, 33)
HSLhsl(103, 61%, 34%)
HSVhsv(103, 76%, 54%)
CMYKcmyk(55.1%, 0%, 76.1%, 45.9%)
CIE-LABlab(51.05, -42.79, 46.11)
CIE-LCHlch(51.05, 62.90, 132.86°)
OKLaboklab(56.38% -0.118 0.1037)
OKLCHoklch(56.38% 0.157 138.7)
XYZxyz(11.3492, 19.3100, 4.5677)
Luminance0.1931 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E8A21 #6D218A
analogous
#728A21 #3E8A21 #218A38
triadic
#3E8A21 #213E8A #8A213E
tetradic
#3E8A21 #21728A #6D218A #8A3821
square
#3E8A21 #21728A #6D218A #8A3821
split-complementary
#3E8A21 #38218A #8A2172
monochromatic
#122709 #285915 #3E8A21 #54BB2D #75D550

Accessibility & contrast

On white

4.32
#3E8A21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#3E8A21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3E8A21
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E8A21#FFFFFF#000000##000000
##3E8A211.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E0C
Deuteranopia (green-blind)
#85772C
Tritanopia (blue-blind)
#378576
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #3e8a21;
/* rgb */ color: rgb(62, 138, 33);
/* oklch */ color: oklch(56.4% 0.157 138.7);
Tailwind
colors: {
  custom: {
    50: '#7cad64',
    500: '#3e8a21',
    950: '#000000',
  },
}
SCSS
$custom: #3e8a21;
$custom-light: #7cad64;
$custom-dark: #000000;
JSON
{
  "hex": "#3e8a21",
  "rgb": {
    "r": 62,
    "g": 138,
    "b": 33
  },
  "hsl": {
    "h": 103.429,
    "s": 61.404,
    "l": 33.529
  },
  "oklch": {
    "l": 0.5638,
    "c": 0.15711,
    "h": 138.7
  },
  "luminance": 0.19311
}

Semantic roles & 50–950 ramp

primary
#3E8A21
secondary
#9B4EB9
accent
#43E5B8
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #3E8A21

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

Preview Lab → · Contrast checker → · Palette generator →

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