#3A951C#3A951C

#3A951C is a mid, vivid green. Relative luminance 0.225; OKLCH L 59.2% C 0.175 H 139.5°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#3A951C
RGBrgb(58, 149, 28)
HSLhsl(105, 68%, 35%)
HSVhsv(105, 81%, 58%)
CMYKcmyk(61.1%, 0%, 81.2%, 41.6%)
CIE-LABlab(54.53, -48.38, 51.11)
CIE-LCHlch(54.53, 70.38, 133.43°)
OKLaboklab(59.21% -0.1331 0.1135)
OKLCHoklch(59.21% 0.175 139.5)
XYZxyz(12.7014, 22.4771, 4.7676)
Luminance0.2248 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A951C #771C95
analogous
#77951C #3A951C #1C953B
triadic
#3A951C #1C3A95 #951C3A
tetradic
#3A951C #1C7795 #771C95 #953B1C
square
#3A951C #1C7795 #771C95 #953B1C
split-complementary
#3A951C #3B1C95 #951C77
monochromatic
#122E09 #266112 #3A951C #4EC926 #71DE4E

Accessibility & contrast

On white

3.82
#3A951C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#3A951C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A951C
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A951C#FFFFFF#000000##000000
##3A951C1.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#998700
Deuteranopia (green-blind)
#8E802B
Tritanopia (blue-blind)
#2F907F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #3a951c;
/* rgb */ color: rgb(58, 149, 28);
/* oklch */ color: oklch(59.2% 0.175 139.5);
Tailwind
colors: {
  custom: {
    50: '#7cb563',
    500: '#3a951c',
    950: '#000000',
  },
}
SCSS
$custom: #3a951c;
$custom-light: #7cb563;
$custom-dark: #000000;
JSON
{
  "hex": "#3a951c",
  "rgb": {
    "r": 58,
    "g": 149,
    "b": 28
  },
  "hsl": {
    "h": 105.124,
    "s": 68.362,
    "l": 34.706
  },
  "oklch": {
    "l": 0.59208,
    "c": 0.1749,
    "h": 139.5
  },
  "luminance": 0.22478
}

Semantic roles & 50–950 ramp

primary
#3A951C
secondary
#A34DC0
accent
#3DEBC0
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0B1106
muted
#7C807A

Preview Lab

Preview with #3A951C

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

Preview Lab → · Contrast checker → · Palette generator →

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