#3A8A27#3A8A27

#3A8A27 is a mid, vivid green. Relative luminance 0.192; OKLCH L 56.3% C 0.155 H 140.2°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#3A8A27
RGBrgb(58, 138, 39)
HSLhsl(108, 56%, 35%)
HSVhsv(108, 72%, 54%)
CMYKcmyk(58%, 0%, 71.7%, 45.9%)
CIE-LABlab(50.95, -43.44, 43.62)
CIE-LCHlch(50.95, 61.56, 134.88°)
OKLaboklab(56.27% -0.1191 0.0994)
OKLCHoklch(56.27% 0.155 140.2)
XYZxyz(11.1991, 19.2220, 5.0391)
Luminance0.1922 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A8A27 #77278A
analogous
#6C8A27 #3A8A27 #278A46
triadic
#3A8A27 #273A8A #8A273A
tetradic
#3A8A27 #276C8A #77278A #8A4627
square
#3A8A27 #276C8A #77278A #8A4627
split-complementary
#3A8A27 #46278A #8A276C
monochromatic
#122B0C #265A1A #3A8A27 #4EBA34 #71D15B

Accessibility & contrast

On white

4.33
#3A8A27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#3A8A27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A8A27
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A8A27#FFFFFF#000000##000000
##3A8A271.004.334.844.84
#FFFFFF4.331.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D18
Deuteranopia (green-blind)
#847730
Tritanopia (blue-blind)
#308576
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #3a8a27;
/* rgb */ color: rgb(58, 138, 39);
/* oklch */ color: oklch(56.3% 0.155 140.2);
Tailwind
colors: {
  custom: {
    50: '#79ad67',
    500: '#3a8a27',
    950: '#000000',
  },
}
SCSS
$custom: #3a8a27;
$custom-light: #79ad67;
$custom-dark: #000000;
JSON
{
  "hex": "#3a8a27",
  "rgb": {
    "r": 58,
    "g": 138,
    "b": 39
  },
  "hsl": {
    "h": 108.485,
    "s": 55.932,
    "l": 34.706
  },
  "oklch": {
    "l": 0.5627,
    "c": 0.15514,
    "h": 140.2
  },
  "luminance": 0.19223
}

Semantic roles & 50–950 ramp

primary
#3A8A27
secondary
#A357B6
accent
#49DFC2
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #3A8A27

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

Preview Lab → · Contrast checker → · Palette generator →

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