#3A7F1B#3A7F1B

#3A7F1B is a mid, vivid green. Relative luminance 0.162; OKLCH L 53.1% C 0.149 H 138.1°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#3A7F1B
RGBrgb(58, 127, 27)
HSLhsl(101, 65%, 30%)
HSVhsv(101, 79%, 50%)
CMYKcmyk(54.3%, 0%, 78.7%, 50.2%)
CIE-LABlab(47.18, -40.03, 44.42)
CIE-LCHlch(47.18, 59.80, 132.02°)
OKLaboklab(53.14% -0.1107 0.0993)
OKLCHoklch(53.14% 0.149 138.1)
XYZxyz(9.5318, 16.1567, 3.6530)
Luminance0.1616 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7F1B #601B7F
analogous
#6C7F1B #3A7F1B #1B7F2E
triadic
#3A7F1B #1B3A7F #7F1B3A
tetradic
#3A7F1B #1B6C7F #601B7F #7F2E1B
square
#3A7F1B #1B6C7F #601B7F #7F2E1B
split-complementary
#3A7F1B #2E1B7F #7F1B6C
monochromatic
#0C1A06 #234D10 #3A7F1B #51B126 #6DD63E

Accessibility & contrast

On white

4.96
#3A7F1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#3A7F1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A7F1B
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A7F1B#FFFFFF#000000##FFFFFF
##3A7F1B1.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837304
Deuteranopia (green-blind)
#7A6E26
Tritanopia (blue-blind)
#347A6C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #3a7f1b;
/* rgb */ color: rgb(58, 127, 27);
/* oklch */ color: oklch(53.1% 0.149 138.1);
Tailwind
colors: {
  custom: {
    50: '#78a560',
    500: '#3a7f1b',
    950: '#000000',
  },
}
SCSS
$custom: #3a7f1b;
$custom-light: #78a560;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7f1b",
  "rgb": {
    "r": 58,
    "g": 127,
    "b": 27
  },
  "hsl": {
    "h": 101.4,
    "s": 64.935,
    "l": 30.196
  },
  "oklch": {
    "l": 0.53138,
    "c": 0.14873,
    "h": 138.1
  },
  "luminance": 0.16157
}

Semantic roles & 50–950 ramp

primary
#3A7F1B
secondary
#9043B3
accent
#40E8B4
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3A7F1B

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

Preview Lab → · Contrast checker → · Palette generator →

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