#3E781A#3E781A

#3E781A is a mid, vivid yellow-green. Relative luminance 0.145; OKLCH L 51.4% C 0.138 H 136.3°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#3E781A
RGBrgb(62, 120, 26)
HSLhsl(97, 64%, 29%)
HSVhsv(97, 78%, 47%)
CMYKcmyk(48.3%, 0%, 78.3%, 52.9%)
CIE-LABlab(44.99, -35.91, 42.71)
CIE-LCHlch(44.99, 55.80, 130.06°)
OKLaboklab(51.38% -0.0999 0.0955)
OKLCHoklch(51.38% 0.138 136.3)
XYZxyz(8.8893, 14.5311, 3.3135)
Luminance0.1453 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E781A #541A78
analogous
#6D781A #3E781A #1A7825
triadic
#3E781A #1A3E78 #781A3E
tetradic
#3E781A #1A6D78 #541A78 #78251A
square
#3E781A #1A6D78 #541A78 #78251A
split-complementary
#3E781A #251A78 #781A6D
monochromatic
#0D1905 #24460F #3E781A #58AA25 #74D438

Accessibility & contrast

On white

5.38
#3E781A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#3E781A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E781A
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E781A#FFFFFF#000000##FFFFFF
##3E781A1.005.383.915.38
#FFFFFF5.381.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D05
Deuteranopia (green-blind)
#756924
Tritanopia (blue-blind)
#3B7366
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #3e781a;
/* rgb */ color: rgb(62, 120, 26);
/* oklch */ color: oklch(51.4% 0.138 136.3);
Tailwind
colors: {
  custom: {
    50: '#799f5e',
    500: '#3e781a',
    950: '#000000',
  },
}
SCSS
$custom: #3e781a;
$custom-light: #799f5e;
$custom-dark: #000000;
JSON
{
  "hex": "#3e781a",
  "rgb": {
    "r": 62,
    "g": 120,
    "b": 26
  },
  "hsl": {
    "h": 97.021,
    "s": 64.384,
    "l": 28.627
  },
  "oklch": {
    "l": 0.51377,
    "c": 0.13826,
    "h": 136.3
  },
  "luminance": 0.14532
}

Semantic roles & 50–950 ramp

primary
#3E781A
secondary
#8341AC
accent
#40E7A7
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E05
muted
#7C7E79

Preview Lab

Preview with #3E781A

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

Preview Lab → · Contrast checker → · Palette generator →

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