#3A7B1B#3A7B1B

#3A7B1B is a mid, vivid green. Relative luminance 0.151; OKLCH L 52.0% C 0.144 H 137.7°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#3A7B1B
RGBrgb(58, 123, 27)
HSLhsl(101, 64%, 29%)
HSVhsv(101, 78%, 48%)
CMYKcmyk(52.8%, 0%, 78%, 51.8%)
CIE-LABlab(45.83, -38.40, 43.11)
CIE-LCHlch(45.83, 57.73, 131.69°)
OKLaboklab(52.03% -0.1063 0.0966)
OKLCHoklch(52.03% 0.144 137.7)
XYZxyz(9.0254, 15.1439, 3.4842)
Luminance0.1515 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7B1B #5C1B7B
analogous
#6A7B1B #3A7B1B #1B7B2C
triadic
#3A7B1B #1B3A7B #7B1B3A
tetradic
#3A7B1B #1B6A7B #5C1B7B #7B2C1B
square
#3A7B1B #1B6A7B #5C1B7B #7B2C1B
split-complementary
#3A7B1B #2C1B7B #7B1B6A
monochromatic
#0C1906 #224910 #3A7B1B #52AD26 #6DD43C

Accessibility & contrast

On white

5.21
#3A7B1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#3A7B1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A7B1B
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A7B1B#FFFFFF#000000##FFFFFF
##3A7B1B1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7006
Deuteranopia (green-blind)
#776A25
Tritanopia (blue-blind)
#357669
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #3a7b1b;
/* rgb */ color: rgb(58, 123, 27);
/* oklch */ color: oklch(52.0% 0.144 137.7);
Tailwind
colors: {
  custom: {
    50: '#77a25f',
    500: '#3a7b1b',
    950: '#000000',
  },
}
SCSS
$custom: #3a7b1b;
$custom-light: #77a25f;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7b1b",
  "rgb": {
    "r": 58,
    "g": 123,
    "b": 27
  },
  "hsl": {
    "h": 100.625,
    "s": 64,
    "l": 29.412
  },
  "oklch": {
    "l": 0.52027,
    "c": 0.14364,
    "h": 137.7
  },
  "luminance": 0.15145
}

Semantic roles & 50–950 ramp

primary
#3A7B1B
secondary
#8C43AF
accent
#41E7B1
background
#F7FAF5
surface
#EEF3EA
border
#C9CDC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #3A7B1B

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

Preview Lab → · Contrast checker → · Palette generator →

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