#3A7F1D#3A7F1D

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

Color values

HEX#3A7F1D
RGBrgb(58, 127, 29)
HSLhsl(102, 63%, 31%)
HSVhsv(102, 77%, 50%)
CMYKcmyk(54.3%, 0%, 77.2%, 50.2%)
CIE-LABlab(47.19, -39.89, 43.71)
CIE-LCHlch(47.19, 59.17, 132.38°)
OKLaboklab(53.15% -0.1102 0.0982)
OKLCHoklch(53.15% 0.148 138.3)
XYZxyz(9.5557, 16.1663, 3.7790)
Luminance0.1617 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7F1D #621D7F
analogous
#6B7F1D #3A7F1D #1D7F31
triadic
#3A7F1D #1D3A7F #7F1D3A
tetradic
#3A7F1D #1D6B7F #621D7F #7F311D
square
#3A7F1D #1D6B7F #621D7F #7F311D
split-complementary
#3A7F1D #311D7F #7F1D6B
monochromatic
#0C1B06 #234D12 #3A7F1D #51B128 #6ED442

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3A7F1D#FFFFFF#000000##FFFFFF
##3A7F1D1.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)
#837308
Deuteranopia (green-blind)
#7A6E27
Tritanopia (blue-blind)
#347A6C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #3a7f1d;
/* rgb */ color: rgb(58, 127, 29);
/* oklch */ color: oklch(53.2% 0.148 138.3);
Tailwind
colors: {
  custom: {
    50: '#78a560',
    500: '#3a7f1d',
    950: '#000000',
  },
}
SCSS
$custom: #3a7f1d;
$custom-light: #78a560;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7f1d",
  "rgb": {
    "r": 58,
    "g": 127,
    "b": 29
  },
  "hsl": {
    "h": 102.245,
    "s": 62.821,
    "l": 30.588
  },
  "oklch": {
    "l": 0.53152,
    "c": 0.14757,
    "h": 138.3
  },
  "luminance": 0.16167
}

Semantic roles & 50–950 ramp

primary
#3A7F1D
secondary
#9245B2
accent
#42E6B5
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #3A7F1D

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

Preview Lab → · Contrast checker → · Palette generator →

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