#3A8A1F#3A8A1F

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

Color values

HEX#3A8A1F
RGBrgb(58, 138, 31)
HSLhsl(105, 63%, 33%)
HSVhsv(105, 78%, 54%)
CMYKcmyk(58%, 0%, 77.5%, 45.9%)
CIE-LABlab(50.89, -44.07, 46.63)
CIE-LCHlch(50.89, 64.16, 133.38°)
OKLaboklab(56.21% -0.1213 0.1046)
OKLCHoklch(56.21% 0.16 139.2)
XYZxyz(11.0803, 19.1745, 4.4132)
Luminance0.1918 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A8A1F #6F1F8A
analogous
#6F8A1F #3A8A1F #1F8A39
triadic
#3A8A1F #1F3A8A #8A1F3A
tetradic
#3A8A1F #1F6F8A #6F1F8A #8A391F
square
#3A8A1F #1F6F8A #6F1F8A #8A391F
split-complementary
#3A8A1F #391F8A #8A1F6F
monochromatic
#102609 #255814 #3A8A1F #4FBC2A #6FD74C

Accessibility & contrast

On white

4.34
#3A8A1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##3A8A1F#FFFFFF#000000##000000
##3A8A1F1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D07
Deuteranopia (green-blind)
#84772B
Tritanopia (blue-blind)
#318576
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #3a8a1f;
/* rgb */ color: rgb(58, 138, 31);
/* oklch */ color: oklch(56.2% 0.160 139.2);
Tailwind
colors: {
  custom: {
    50: '#7aad63',
    500: '#3a8a1f',
    950: '#000000',
  },
}
SCSS
$custom: #3a8a1f;
$custom-light: #7aad63;
$custom-dark: #000000;
JSON
{
  "hex": "#3a8a1f",
  "rgb": {
    "r": 58,
    "g": 138,
    "b": 31
  },
  "hsl": {
    "h": 104.86,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.56206,
    "c": 0.16015,
    "h": 139.2
  },
  "luminance": 0.19175
}

Semantic roles & 50–950 ramp

primary
#3A8A1F
secondary
#9E4BBA
accent
#41E6BD
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #3A8A1F

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

Preview Lab → · Contrast checker → · Palette generator →

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