#3A781A#3A781A

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

Color values

HEX#3A781A
RGBrgb(58, 120, 26)
HSLhsl(100, 64%, 29%)
HSVhsv(100, 78%, 47%)
CMYKcmyk(51.7%, 0%, 78.3%, 52.9%)
CIE-LABlab(44.81, -37.23, 42.48)
CIE-LCHlch(44.81, 56.48, 131.24°)
OKLaboklab(51.19% -0.1032 0.0951)
OKLCHoklch(51.19% 0.14 137.3)
XYZxyz(8.6476, 14.4064, 3.3021)
Luminance0.1441 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A781A #581A78
analogous
#69781A #3A781A #1A7829
triadic
#3A781A #1A3A78 #781A3A
tetradic
#3A781A #1A6978 #581A78 #78291A
square
#3A781A #1A6978 #581A78 #78291A
split-complementary
#3A781A #291A78 #781A69
monochromatic
#0C1905 #22460F #3A781A #52AA25 #6DD438

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3A781A#FFFFFF#000000##FFFFFF
##3A781A1.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)
#7C6D05
Deuteranopia (green-blind)
#746824
Tritanopia (blue-blind)
#367366
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #3a781a;
/* rgb */ color: rgb(58, 120, 26);
/* oklch */ color: oklch(51.2% 0.140 137.3);
Tailwind
colors: {
  custom: {
    50: '#779f5e',
    500: '#3a781a',
    950: '#000000',
  },
}
SCSS
$custom: #3a781a;
$custom-light: #779f5e;
$custom-dark: #000000;
JSON
{
  "hex": "#3a781a",
  "rgb": {
    "r": 58,
    "g": 120,
    "b": 26
  },
  "hsl": {
    "h": 99.574,
    "s": 64.384,
    "l": 28.627
  },
  "oklch": {
    "l": 0.51185,
    "c": 0.14036,
    "h": 137.3
  },
  "luminance": 0.14407
}

Semantic roles & 50–950 ramp

primary
#3A781A
secondary
#8841AC
accent
#40E7AF
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090E05
muted
#7B7E79

Preview Lab

Preview with #3A781A

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

Preview Lab → · Contrast checker → · Palette generator →

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