#3A842E#3A842E

#3A842E is a mid, vivid green. Relative luminance 0.176; OKLCH L 54.7% C 0.142 H 141.0°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#3A842E
RGBrgb(58, 132, 46)
HSLhsl(112, 48%, 35%)
HSVhsv(112, 65%, 52%)
CMYKcmyk(56.1%, 0%, 65.2%, 48.2%)
CIE-LABlab(49.01, -40.37, 38.47)
CIE-LCHlch(49.01, 55.76, 136.38°)
OKLaboklab(54.69% -0.1104 0.0894)
OKLCHoklch(54.69% 0.142 141)
XYZxyz(10.4888, 17.5985, 5.4284)
Luminance0.1760 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A842E #782E84
analogous
#65842E #3A842E #2E844D
triadic
#3A842E #2E3A84 #842E3A
tetradic
#3A842E #2E6584 #782E84 #844D2E
square
#3A842E #2E6584 #782E84 #844D2E
split-complementary
#3A842E #4D2E84 #842E65
monochromatic
#12290E #26571E #3A842E #4EB13E #72C964

Accessibility & contrast

On white

4.65
#3A842E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#3A842E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #3A842E
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A842E#FFFFFF#000000##FFFFFF
##3A842E1.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877824
Deuteranopia (green-blind)
#7E7235
Tritanopia (blue-blind)
#318072
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #3a842e;
/* rgb */ color: rgb(58, 132, 46);
/* oklch */ color: oklch(54.7% 0.142 141.0);
Tailwind
colors: {
  custom: {
    50: '#78a86a',
    500: '#3a842e',
    950: '#000000',
  },
}
SCSS
$custom: #3a842e;
$custom-light: #78a86a;
$custom-dark: #000000;
JSON
{
  "hex": "#3a842e",
  "rgb": {
    "r": 58,
    "g": 132,
    "b": 46
  },
  "hsl": {
    "h": 111.628,
    "s": 48.315,
    "l": 34.902
  },
  "oklch": {
    "l": 0.5469,
    "c": 0.14203,
    "h": 141
  },
  "luminance": 0.17599
}

Semantic roles & 50–950 ramp

primary
#3A842E
secondary
#A45EB0
accent
#50D8C5
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #3A842E

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

Preview Lab → · Contrast checker → · Palette generator →

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