#3E781C#3E781C

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

Color values

HEX#3E781C
RGBrgb(62, 120, 28)
HSLhsl(98, 62%, 29%)
HSVhsv(98, 77%, 47%)
CMYKcmyk(48.3%, 0%, 76.7%, 52.9%)
CIE-LABlab(45.00, -35.77, 41.97)
CIE-LCHlch(45.00, 55.14, 130.44°)
OKLaboklab(51.39% -0.0994 0.0943)
OKLCHoklch(51.39% 0.137 136.5)
XYZxyz(8.9124, 14.5403, 3.4353)
Luminance0.1454 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E781C #561C78
analogous
#6C781C #3E781C #1C7828
triadic
#3E781C #1C3E78 #781C3E
tetradic
#3E781C #1C6C78 #561C78 #78281C
square
#3E781C #1C6C78 #561C78 #78281C
split-complementary
#3E781C #281C78 #781C6C
monochromatic
#0D1906 #244610 #3E781C #58AA28 #74D23D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3E781C#FFFFFF#000000##FFFFFF
##3E781C1.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)
#7C6D0A
Deuteranopia (green-blind)
#756925
Tritanopia (blue-blind)
#3B7366
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #3e781c;
/* rgb */ color: rgb(62, 120, 28);
/* oklch */ color: oklch(51.4% 0.137 136.5);
Tailwind
colors: {
  custom: {
    50: '#799f5f',
    500: '#3e781c',
    950: '#000000',
  },
}
SCSS
$custom: #3e781c;
$custom-light: #799f5f;
$custom-dark: #000000;
JSON
{
  "hex": "#3e781c",
  "rgb": {
    "r": 62,
    "g": 120,
    "b": 28
  },
  "hsl": {
    "h": 97.826,
    "s": 62.162,
    "l": 29.02
  },
  "oklch": {
    "l": 0.51392,
    "c": 0.13704,
    "h": 136.5
  },
  "luminance": 0.14541
}

Semantic roles & 50–950 ramp

primary
#3E781C
secondary
#8644AC
accent
#43E5A9
background
#F7F9F5
surface
#EEF2EA
border
#C9CCC6
text
#0A0E05
muted
#7C7E79

Preview Lab

Preview with #3E781C

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

Preview Lab → · Contrast checker → · Palette generator →

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