#3A7E1B#3A7E1B

#3A7E1B is a mid, vivid green. Relative luminance 0.159; OKLCH L 52.9% C 0.147 H 138.0°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#3A7E1B
RGBrgb(58, 126, 27)
HSLhsl(101, 65%, 30%)
HSVhsv(101, 79%, 49%)
CMYKcmyk(54%, 0%, 78.6%, 50.6%)
CIE-LABlab(46.84, -39.62, 44.10)
CIE-LCHlch(46.84, 59.28, 131.94°)
OKLaboklab(52.86% -0.1096 0.0987)
OKLCHoklch(52.86% 0.147 138)
XYZxyz(9.4033, 15.8997, 3.6101)
Luminance0.1590 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7E1B #5F1B7E
analogous
#6C7E1B #3A7E1B #1B7E2D
triadic
#3A7E1B #1B3A7E #7E1B3A
tetradic
#3A7E1B #1B6C7E #5F1B7E #7E2D1B
square
#3A7E1B #1B6C7E #5F1B7E #7E2D1B
split-complementary
#3A7E1B #2D1B7E #7E1B6C
monochromatic
#0C1905 #234C10 #3A7E1B #51B026 #6DD63E

Accessibility & contrast

On white

5.02
#3A7E1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#3A7E1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A7E1B
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A7E1B#FFFFFF#000000##FFFFFF
##3A7E1B1.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827304
Deuteranopia (green-blind)
#796D26
Tritanopia (blue-blind)
#35796B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #3a7e1b;
/* rgb */ color: rgb(58, 126, 27);
/* oklch */ color: oklch(52.9% 0.147 138.0);
Tailwind
colors: {
  custom: {
    50: '#78a45f',
    500: '#3a7e1b',
    950: '#000000',
  },
}
SCSS
$custom: #3a7e1b;
$custom-light: #78a45f;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7e1b",
  "rgb": {
    "r": 58,
    "g": 126,
    "b": 27
  },
  "hsl": {
    "h": 101.212,
    "s": 64.706,
    "l": 30
  },
  "oklch": {
    "l": 0.5286,
    "c": 0.14747,
    "h": 138
  },
  "luminance": 0.159
}

Semantic roles & 50–950 ramp

primary
#3A7E1B
secondary
#8F43B2
accent
#40E8B3
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #3A7E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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