#3A781B#3A781B

#3A781B is a mid, vivid green. Relative luminance 0.144; OKLCH L 51.2% C 0.140 H 137.5°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#3A781B
RGBrgb(58, 120, 27)
HSLhsl(100, 63%, 29%)
HSVhsv(100, 78%, 47%)
CMYKcmyk(51.7%, 0%, 77.5%, 52.9%)
CIE-LABlab(44.82, -37.16, 42.11)
CIE-LCHlch(44.82, 56.16, 131.43°)
OKLaboklab(51.19% -0.103 0.0945)
OKLCHoklch(51.19% 0.14 137.5)
XYZxyz(8.6589, 14.4110, 3.3620)
Luminance0.1441 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A781B #591B78
analogous
#69781B #3A781B #1B782B
triadic
#3A781B #1B3A78 #781B3A
tetradic
#3A781B #1B6978 #591B78 #782B1B
square
#3A781B #1B6978 #591B78 #782B1B
split-complementary
#3A781B #2B1B78 #781B69
monochromatic
#0C1906 #224610 #3A781B #52AA26 #6DD33B

Accessibility & contrast

On white

5.41
#3A781B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#3A781B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A781B
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A781B#FFFFFF#000000##FFFFFF
##3A781B1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D08
Deuteranopia (green-blind)
#746825
Tritanopia (blue-blind)
#367466
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #3a781b;
/* rgb */ color: rgb(58, 120, 27);
/* oklch */ color: oklch(51.2% 0.140 137.5);
Tailwind
colors: {
  custom: {
    50: '#779f5f',
    500: '#3a781b',
    950: '#000000',
  },
}
SCSS
$custom: #3a781b;
$custom-light: #779f5f;
$custom-dark: #000000;
JSON
{
  "hex": "#3a781b",
  "rgb": {
    "r": 58,
    "g": 120,
    "b": 27
  },
  "hsl": {
    "h": 100,
    "s": 63.265,
    "l": 28.824
  },
  "oklch": {
    "l": 0.51192,
    "c": 0.13977,
    "h": 137.5
  },
  "luminance": 0.14412
}

Semantic roles & 50–950 ramp

primary
#3A781B
secondary
#8943AC
accent
#41E6AF
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090E05
muted
#7B7E79

Preview Lab

Preview with #3A781B

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

Preview Lab → · Contrast checker → · Palette generator →

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