#3A7D1B#3A7D1B

#3A7D1B is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.6% C 0.146 H 137.9°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#3A7D1B
RGBrgb(58, 125, 27)
HSLhsl(101, 64%, 30%)
HSVhsv(101, 78%, 49%)
CMYKcmyk(53.6%, 0%, 78.4%, 51%)
CIE-LABlab(46.51, -39.22, 43.77)
CIE-LCHlch(46.51, 58.77, 131.86°)
OKLaboklab(52.58% -0.1085 0.098)
OKLCHoklch(52.58% 0.146 137.9)
XYZxyz(9.2760, 15.6452, 3.5677)
Luminance0.1565 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7D1B #5E1B7D
analogous
#6B7D1B #3A7D1B #1B7D2D
triadic
#3A7D1B #1B3A7D #7D1B3A
tetradic
#3A7D1B #1B6B7D #5E1B7D #7D2D1B
square
#3A7D1B #1B6B7D #5E1B7D #7D2D1B
split-complementary
#3A7D1B #2D1B7D #7D1B6B
monochromatic
#0C1905 #234B10 #3A7D1B #51AF26 #6DD53D

Accessibility & contrast

On white

5.09
#3A7D1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#3A7D1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A7D1B
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A7D1B#FFFFFF#000000##FFFFFF
##3A7D1B1.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817205
Deuteranopia (green-blind)
#796C25
Tritanopia (blue-blind)
#35786A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #3a7d1b;
/* rgb */ color: rgb(58, 125, 27);
/* oklch */ color: oklch(52.6% 0.146 137.9);
Tailwind
colors: {
  custom: {
    50: '#78a35f',
    500: '#3a7d1b',
    950: '#000000',
  },
}
SCSS
$custom: #3a7d1b;
$custom-light: #78a35f;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7d1b",
  "rgb": {
    "r": 58,
    "g": 125,
    "b": 27
  },
  "hsl": {
    "h": 101.02,
    "s": 64.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.52582,
    "c": 0.1462,
    "h": 137.9
  },
  "luminance": 0.15646
}

Semantic roles & 50–950 ramp

primary
#3A7D1B
secondary
#8E43B1
accent
#40E7B3
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #3A7D1B

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

Preview Lab → · Contrast checker → · Palette generator →

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