#3A8B2C#3A8B2C

#3A8B2C is a mid, vivid green. Relative luminance 0.195; OKLCH L 56.6% C 0.153 H 140.9°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#3A8B2C
RGBrgb(58, 139, 44)
HSLhsl(111, 52%, 36%)
HSVhsv(111, 68%, 55%)
CMYKcmyk(58.3%, 0%, 68.3%, 45.5%)
CIE-LABlab(51.32, -43.36, 41.90)
CIE-LCHlch(51.32, 60.30, 135.98°)
OKLaboklab(56.59% -0.1186 0.0964)
OKLCHoklch(56.59% 0.153 140.9)
XYZxyz(11.4316, 19.5456, 5.5527)
Luminance0.1955 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A8B2C #7D2C8B
analogous
#698B2C #3A8B2C #2C8B4D
triadic
#3A8B2C #2C3A8B #8B2C3A
tetradic
#3A8B2C #2C698B #7D2C8B #8B4D2C
square
#3A8B2C #2C698B #7D2C8B #8B4D2C
split-complementary
#3A8B2C #4D2C8B #8B2C69
monochromatic
#132E0F #275D1D #3A8B2C #4DB93B #73CE64

Accessibility & contrast

On white

4.28
#3A8B2C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#3A8B2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A8B2C
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A8B2C#FFFFFF#000000##000000
##3A8B2C1.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E1F
Deuteranopia (green-blind)
#847835
Tritanopia (blue-blind)
#2F8778
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #3a8b2c;
/* rgb */ color: rgb(58, 139, 44);
/* oklch */ color: oklch(56.6% 0.153 140.9);
Tailwind
colors: {
  custom: {
    50: '#79ae6a',
    500: '#3a8b2c',
    950: '#000000',
  },
}
SCSS
$custom: #3a8b2c;
$custom-light: #79ae6a;
$custom-dark: #000000;
JSON
{
  "hex": "#3a8b2c",
  "rgb": {
    "r": 58,
    "g": 139,
    "b": 44
  },
  "hsl": {
    "h": 111.158,
    "s": 51.913,
    "l": 35.882
  },
  "oklch": {
    "l": 0.56591,
    "c": 0.15286,
    "h": 140.9
  },
  "luminance": 0.19547
}

Semantic roles & 50–950 ramp

primary
#3A8B2C
secondary
#A85FB4
accent
#4CDBC6
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1007
muted
#7C7F7A

Preview Lab

Preview with #3A8B2C

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

Preview Lab → · Contrast checker → · Palette generator →

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