#3E781B#3E781B

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

Color values

HEX#3E781B
RGBrgb(62, 120, 27)
HSLhsl(97, 63%, 29%)
HSVhsv(97, 78%, 47%)
CMYKcmyk(48.3%, 0%, 77.5%, 52.9%)
CIE-LABlab(44.99, -35.84, 42.34)
CIE-LCHlch(44.99, 55.47, 130.24°)
OKLaboklab(51.38% -0.0997 0.0949)
OKLCHoklch(51.38% 0.138 136.4)
XYZxyz(8.9007, 14.5356, 3.3734)
Luminance0.1454 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E781B #551B78
analogous
#6D781B #3E781B #1B7827
triadic
#3E781B #1B3E78 #781B3E
tetradic
#3E781B #1B6D78 #551B78 #78271B
square
#3E781B #1B6D78 #551B78 #78271B
split-complementary
#3E781B #271B78 #781B6D
monochromatic
#0D1906 #244610 #3E781B #58AA26 #74D33B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #3e781b;
/* rgb */ color: rgb(62, 120, 27);
/* oklch */ color: oklch(51.4% 0.138 136.4);
Tailwind
colors: {
  custom: {
    50: '#799f5f',
    500: '#3e781b',
    950: '#000000',
  },
}
SCSS
$custom: #3e781b;
$custom-light: #799f5f;
$custom-dark: #000000;
JSON
{
  "hex": "#3e781b",
  "rgb": {
    "r": 62,
    "g": 120,
    "b": 27
  },
  "hsl": {
    "h": 97.419,
    "s": 63.265,
    "l": 28.824
  },
  "oklch": {
    "l": 0.51384,
    "c": 0.13766,
    "h": 136.4
  },
  "luminance": 0.14536
}

Semantic roles & 50–950 ramp

primary
#3E781B
secondary
#8443AC
accent
#41E6A8
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E05
muted
#7C7E79

Preview Lab

Preview with #3E781B

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

Preview Lab → · Contrast checker → · Palette generator →

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