#3E781F#3E781F

#3E781F is a mid, vivid yellow-green. Relative luminance 0.146; OKLCH L 51.4% C 0.135 H 136.9°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#3E781F
RGBrgb(62, 120, 31)
HSLhsl(99, 59%, 30%)
HSVhsv(99, 74%, 47%)
CMYKcmyk(48.3%, 0%, 74.2%, 52.9%)
CIE-LABlab(45.02, -35.54, 40.81)
CIE-LCHlch(45.02, 54.12, 131.05°)
OKLaboklab(51.42% -0.0986 0.0924)
OKLCHoklch(51.42% 0.135 136.9)
XYZxyz(8.9501, 14.5554, 3.6339)
Luminance0.1456 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E781F #591F78
analogous
#6B781F #3E781F #1F782D
triadic
#3E781F #1F3E78 #781F3E
tetradic
#3E781F #1F6B78 #591F78 #782D1F
square
#3E781F #1F6B78 #591F78 #782D1F
split-complementary
#3E781F #2D1F78 #781F6B
monochromatic
#0D1806 #254712 #3E781F #57A92C #74CE43

Accessibility & contrast

On white

5.37
#3E781F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #3E781F
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E781F#FFFFFF#000000##FFFFFF
##3E781F1.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6E10
Deuteranopia (green-blind)
#746928
Tritanopia (blue-blind)
#3B7466
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #3e781f;
/* rgb */ color: rgb(62, 120, 31);
/* oklch */ color: oklch(51.4% 0.135 136.9);
Tailwind
colors: {
  custom: {
    50: '#799f61',
    500: '#3e781f',
    950: '#000000',
  },
}
SCSS
$custom: #3e781f;
$custom-light: #799f61;
$custom-dark: #000000;
JSON
{
  "hex": "#3e781f",
  "rgb": {
    "r": 62,
    "g": 120,
    "b": 31
  },
  "hsl": {
    "h": 99.101,
    "s": 58.94,
    "l": 29.608
  },
  "oklch": {
    "l": 0.51416,
    "c": 0.13508,
    "h": 136.9
  },
  "luminance": 0.14556
}

Semantic roles & 50–950 ramp

primary
#3E781F
secondary
#8947AB
accent
#46E2AC
background
#F7F9F5
surface
#EEF2EA
border
#C9CCC6
text
#090E05
muted
#7B7E79

Preview Lab

Preview with #3E781F

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

Preview Lab → · Contrast checker → · Palette generator →

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