#3A8927#3A8927

#3A8927 is a mid, vivid green. Relative luminance 0.189; OKLCH L 56.0% C 0.154 H 140.1°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#3A8927
RGBrgb(58, 137, 39)
HSLhsl(108, 56%, 35%)
HSVhsv(108, 72%, 54%)
CMYKcmyk(57.7%, 0%, 71.5%, 46.3%)
CIE-LABlab(50.61, -43.05, 43.27)
CIE-LCHlch(50.61, 61.04, 134.85°)
OKLaboklab(56% -0.1181 0.0987)
OKLCHoklch(56% 0.154 140.1)
XYZxyz(11.0563, 18.9364, 4.9915)
Luminance0.1894 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A8927 #762789
analogous
#6B8927 #3A8927 #278945
triadic
#3A8927 #273A89 #89273A
tetradic
#3A8927 #276B89 #762789 #894527
square
#3A8927 #276B89 #762789 #894527
split-complementary
#3A8927 #452789 #89276B
monochromatic
#122A0C #265919 #3A8927 #4EB935 #71D05A

Accessibility & contrast

On white

4.39
#3A8927 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#3A8927 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A8927
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A8927#FFFFFF#000000##000000
##3A89271.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D18
Deuteranopia (green-blind)
#837630
Tritanopia (blue-blind)
#318475
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #3a8927;
/* rgb */ color: rgb(58, 137, 39);
/* oklch */ color: oklch(56.0% 0.154 140.1);
Tailwind
colors: {
  custom: {
    50: '#79ac67',
    500: '#3a8927',
    950: '#000000',
  },
}
SCSS
$custom: #3a8927;
$custom-light: #79ac67;
$custom-dark: #000000;
JSON
{
  "hex": "#3a8927",
  "rgb": {
    "r": 58,
    "g": 137,
    "b": 39
  },
  "hsl": {
    "h": 108.367,
    "s": 55.682,
    "l": 34.51
  },
  "oklch": {
    "l": 0.55995,
    "c": 0.15386,
    "h": 140.1
  },
  "luminance": 0.18937
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3A8927

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

Preview Lab → · Contrast checker → · Palette generator →

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