#3A781C#3A781C

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

Color values

HEX#3A781C
RGBrgb(58, 120, 28)
HSLhsl(100, 62%, 29%)
HSVhsv(100, 77%, 47%)
CMYKcmyk(51.7%, 0%, 76.7%, 52.9%)
CIE-LABlab(44.82, -37.09, 41.74)
CIE-LCHlch(44.82, 55.84, 131.62°)
OKLaboklab(51.2% -0.1027 0.0939)
OKLCHoklch(51.2% 0.139 137.6)
XYZxyz(8.6707, 14.4157, 3.4240)
Luminance0.1442 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A781C #5A1C78
analogous
#68781C #3A781C #1C782C
triadic
#3A781C #1C3A78 #781C3A
tetradic
#3A781C #1C6878 #5A1C78 #782C1C
square
#3A781C #1C6878 #5A1C78 #782C1C
split-complementary
#3A781C #2C1C78 #781C68
monochromatic
#0C1906 #224610 #3A781C #52AA28 #6DD23D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3A781C#FFFFFF#000000##FFFFFF
##3A781C1.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)
#7C6D0A
Deuteranopia (green-blind)
#746825
Tritanopia (blue-blind)
#367466
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #3a781c;
/* rgb */ color: rgb(58, 120, 28);
/* oklch */ color: oklch(51.2% 0.139 137.6);
Tailwind
colors: {
  custom: {
    50: '#779f5f',
    500: '#3a781c',
    950: '#000000',
  },
}
SCSS
$custom: #3a781c;
$custom-light: #779f5f;
$custom-dark: #000000;
JSON
{
  "hex": "#3a781c",
  "rgb": {
    "r": 58,
    "g": 120,
    "b": 28
  },
  "hsl": {
    "h": 100.435,
    "s": 62.162,
    "l": 29.02
  },
  "oklch": {
    "l": 0.512,
    "c": 0.13915,
    "h": 137.6
  },
  "luminance": 0.14416
}

Semantic roles & 50–950 ramp

primary
#3A781C
secondary
#8A44AC
accent
#43E5B0
background
#F7F9F5
surface
#EEF2EA
border
#C9CCC6
text
#090E05
muted
#7B7E79

Preview Lab

Preview with #3A781C

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

Preview Lab → · Contrast checker → · Palette generator →

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