#3A781F#3A781F

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

Color values

HEX#3A781F
RGBrgb(58, 120, 31)
HSLhsl(102, 59%, 30%)
HSVhsv(102, 74%, 47%)
CMYKcmyk(51.7%, 0%, 74.2%, 52.9%)
CIE-LABlab(44.84, -36.85, 40.58)
CIE-LCHlch(44.84, 54.82, 132.24°)
OKLaboklab(51.22% -0.1019 0.0919)
OKLCHoklch(51.22% 0.137 137.9)
XYZxyz(8.7084, 14.4308, 3.6226)
Luminance0.1443 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A781F #5D1F78
analogous
#66781F #3A781F #1F7831
triadic
#3A781F #1F3A78 #781F3A
tetradic
#3A781F #1F6678 #5D1F78 #78311F
square
#3A781F #1F6678 #5D1F78 #78311F
split-complementary
#3A781F #311F78 #781F66
monochromatic
#0C1806 #224712 #3A781F #52A92C #6DCE43

Accessibility & contrast

On white

5.40
#3A781F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#3A781F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A781F
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A781F#FFFFFF#000000##FFFFFF
##3A781F1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a781f;
/* rgb */ color: rgb(58, 120, 31);
/* oklch */ color: oklch(51.2% 0.137 137.9);
Tailwind
colors: {
  custom: {
    50: '#779f61',
    500: '#3a781f',
    950: '#000000',
  },
}
SCSS
$custom: #3a781f;
$custom-light: #779f61;
$custom-dark: #000000;
JSON
{
  "hex": "#3a781f",
  "rgb": {
    "r": 58,
    "g": 120,
    "b": 31
  },
  "hsl": {
    "h": 101.798,
    "s": 58.94,
    "l": 29.608
  },
  "oklch": {
    "l": 0.51224,
    "c": 0.1372,
    "h": 137.9
  },
  "luminance": 0.14431
}

Semantic roles & 50–950 ramp

primary
#3A781F
secondary
#8D47AB
accent
#46E2B3
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#090E05
muted
#7B7E79

Preview Lab

Preview with #3A781F

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

Preview Lab → · Contrast checker → · Palette generator →

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