#3A7C2A#3A7C2A

#3A7C2A is a mid, vivid green. Relative luminance 0.155; OKLCH L 52.4% C 0.134 H 139.9°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#3A7C2A
RGBrgb(58, 124, 42)
HSLhsl(108, 49%, 33%)
HSVhsv(108, 66%, 49%)
CMYKcmyk(53.2%, 0%, 66.1%, 51.4%)
CIE-LABlab(46.29, -37.50, 37.31)
CIE-LCHlch(46.29, 52.90, 135.14°)
OKLaboklab(52.44% -0.1028 0.0865)
OKLCHoklch(52.44% 0.134 139.9)
XYZxyz(9.3701, 15.4813, 4.6845)
Luminance0.1548 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7C2A #6C2A7C
analogous
#637C2A #3A7C2A #2A7C43
triadic
#3A7C2A #2A3A7C #7C2A3A
tetradic
#3A7C2A #2A637C #6C2A7C #7C432A
square
#3A7C2A #2A637C #6C2A7C #7C432A
split-complementary
#3A7C2A #432A7C #7C2A63
monochromatic
#0F210B #254E1B #3A7C2A #4FAA39 #6FC759

Accessibility & contrast

On white

5.13
#3A7C2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#3A7C2A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A7C2A
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A7C2A#FFFFFF#000000##FFFFFF
##3A7C2A1.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7120
Deuteranopia (green-blind)
#776C31
Tritanopia (blue-blind)
#33786B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #3a7c2a;
/* rgb */ color: rgb(58, 124, 42);
/* oklch */ color: oklch(52.4% 0.134 139.9);
Tailwind
colors: {
  custom: {
    50: '#77a267',
    500: '#3a7c2a',
    950: '#000000',
  },
}
SCSS
$custom: #3a7c2a;
$custom-light: #77a267;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7c2a",
  "rgb": {
    "r": 58,
    "g": 124,
    "b": 42
  },
  "hsl": {
    "h": 108.293,
    "s": 49.398,
    "l": 32.549
  },
  "oklch": {
    "l": 0.5244,
    "c": 0.13437,
    "h": 139.9
  },
  "luminance": 0.15482
}

Semantic roles & 50–950 ramp

primary
#3A7C2A
secondary
#9B55AD
accent
#4FD9BE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #3A7C2A

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

Preview Lab → · Contrast checker → · Palette generator →

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