#3B781A#3B781A

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

Color values

HEX#3B781A
RGBrgb(59, 120, 26)
HSLhsl(99, 64%, 29%)
HSVhsv(99, 78%, 47%)
CMYKcmyk(50.8%, 0%, 78.3%, 52.9%)
CIE-LABlab(44.85, -36.91, 42.53)
CIE-LCHlch(44.85, 56.31, 130.95°)
OKLaboklab(51.23% -0.1024 0.0952)
OKLCHoklch(51.23% 0.14 137.1)
XYZxyz(8.7063, 14.4367, 3.3049)
Luminance0.1444 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B781A #571A78
analogous
#6A781A #3B781A #1A7828
triadic
#3B781A #1A3B78 #781A3B
tetradic
#3B781A #1A6A78 #571A78 #78281A
square
#3B781A #1A6A78 #571A78 #78281A
split-complementary
#3B781A #281A78 #781A6A
monochromatic
#0C1905 #22460F #3B781A #54AA25 #6FD438

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #3b781a;
/* rgb */ color: rgb(59, 120, 26);
/* oklch */ color: oklch(51.2% 0.140 137.1);
Tailwind
colors: {
  custom: {
    50: '#789f5e',
    500: '#3b781a',
    950: '#000000',
  },
}
SCSS
$custom: #3b781a;
$custom-light: #789f5e;
$custom-dark: #000000;
JSON
{
  "hex": "#3b781a",
  "rgb": {
    "r": 59,
    "g": 120,
    "b": 26
  },
  "hsl": {
    "h": 98.936,
    "s": 64.384,
    "l": 28.627
  },
  "oklch": {
    "l": 0.51232,
    "c": 0.13985,
    "h": 137.1
  },
  "luminance": 0.14437
}

Semantic roles & 50–950 ramp

primary
#3B781A
secondary
#8741AC
accent
#40E7AD
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090E05
muted
#7B7E79

Preview Lab

Preview with #3B781A

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

Preview Lab → · Contrast checker → · Palette generator →

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