#3A7920#3A7920

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

Color values

HEX#3A7920
RGBrgb(58, 121, 32)
HSLhsl(102, 58%, 30%)
HSVhsv(102, 74%, 47%)
CMYKcmyk(52.1%, 0%, 73.6%, 52.5%)
CIE-LABlab(45.19, -37.19, 40.52)
CIE-LCHlch(45.19, 55.00, 132.54°)
OKLaboklab(51.51% -0.1027 0.0919)
OKLCHoklch(51.51% 0.138 138.2)
XYZxyz(8.8427, 14.6779, 3.7334)
Luminance0.1468 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7920 #5F2079
analogous
#667920 #3A7920 #207933
triadic
#3A7920 #203A79 #79203A
tetradic
#3A7920 #206679 #5F2079 #793320
square
#3A7920 #206679 #5F2079 #793320
split-complementary
#3A7920 #332079 #792066
monochromatic
#0C1806 #234913 #3A7920 #51A92D #6DCE45

Accessibility & contrast

On white

5.34
#3A7920 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#3A7920 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A7920
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A7920#FFFFFF#000000##FFFFFF
##3A79201.005.343.945.34
#FFFFFF5.341.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E12
Deuteranopia (green-blind)
#756929
Tritanopia (blue-blind)
#357567
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #3a7920;
/* rgb */ color: rgb(58, 121, 32);
/* oklch */ color: oklch(51.5% 0.138 138.2);
Tailwind
colors: {
  custom: {
    50: '#77a061',
    500: '#3a7920',
    950: '#000000',
  },
}
SCSS
$custom: #3a7920;
$custom-light: #77a061;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7920",
  "rgb": {
    "r": 58,
    "g": 121,
    "b": 32
  },
  "hsl": {
    "h": 102.472,
    "s": 58.17,
    "l": 30
  },
  "oklch": {
    "l": 0.5151,
    "c": 0.13784,
    "h": 138.2
  },
  "luminance": 0.14679
}

Semantic roles & 50–950 ramp

primary
#3A7920
secondary
#8F49AC
accent
#46E1B4
background
#F7F9F5
surface
#EEF2EA
border
#C9CCC6
text
#090F05
muted
#7B7E79

Preview Lab

Preview with #3A7920

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

Preview Lab → · Contrast checker → · Palette generator →

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