#3A8E1B#3A8E1B

#3A8E1B is a mid, vivid green. Relative luminance 0.203; OKLCH L 57.3% C 0.167 H 139.1°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#3A8E1B
RGBrgb(58, 142, 27)
HSLhsl(104, 68%, 33%)
HSVhsv(104, 81%, 56%)
CMYKcmyk(59.2%, 0%, 81%, 44.3%)
CIE-LABlab(52.20, -45.85, 49.23)
CIE-LCHlch(52.20, 67.27, 132.96°)
OKLaboklab(57.28% -0.1263 0.1094)
OKLCHoklch(57.28% 0.167 139.1)
XYZxyz(11.6153, 20.3237, 4.3475)
Luminance0.2032 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A8E1B #6F1B8E
analogous
#738E1B #3A8E1B #1B8E35
triadic
#3A8E1B #1B3A8E #8E1B3A
tetradic
#3A8E1B #1B738E #6F1B8E #8E351B
square
#3A8E1B #1B738E #6F1B8E #8E351B
split-complementary
#3A8E1B #351B8E #8E1B73
monochromatic
#102707 #255B11 #3A8E1B #4FC125 #6FDC47

Accessibility & contrast

On white

4.15
#3A8E1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#3A8E1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A8E1B
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A8E1B#FFFFFF#000000##000000
##3A8E1B1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#928100
Deuteranopia (green-blind)
#887A29
Tritanopia (blue-blind)
#318979
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #3a8e1b;
/* rgb */ color: rgb(58, 142, 27);
/* oklch */ color: oklch(57.3% 0.167 139.1);
Tailwind
colors: {
  custom: {
    50: '#7bb062',
    500: '#3a8e1b',
    950: '#000000',
  },
}
SCSS
$custom: #3a8e1b;
$custom-light: #7bb062;
$custom-dark: #000000;
JSON
{
  "hex": "#3a8e1b",
  "rgb": {
    "r": 58,
    "g": 142,
    "b": 27
  },
  "hsl": {
    "h": 103.826,
    "s": 68.047,
    "l": 33.137
  },
  "oklch": {
    "l": 0.57281,
    "c": 0.16712,
    "h": 139.1
  },
  "luminance": 0.20325
}

Semantic roles & 50–950 ramp

primary
#3A8E1B
secondary
#9E47BE
accent
#3DEBBC
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#0A1005
muted
#7C7F7A

Preview Lab

Preview with #3A8E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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