#3C781A#3C781A

#3C781A is a mid, vivid yellow-green. Relative luminance 0.145; OKLCH L 51.3% C 0.139 H 136.8°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#3C781A
RGBrgb(60, 120, 26)
HSLhsl(98, 64%, 29%)
HSVhsv(98, 78%, 47%)
CMYKcmyk(50%, 0%, 78.3%, 52.9%)
CIE-LABlab(44.90, -36.58, 42.59)
CIE-LCHlch(44.90, 56.14, 130.66°)
OKLaboklab(51.28% -0.1016 0.0953)
OKLCHoklch(51.28% 0.139 136.8)
XYZxyz(8.7661, 14.4676, 3.3077)
Luminance0.1447 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C781A #561A78
analogous
#6B781A #3C781A #1A7827
triadic
#3C781A #1A3C78 #781A3C
tetradic
#3C781A #1A6B78 #561A78 #78271A
square
#3C781A #1A6B78 #561A78 #78271A
split-complementary
#3C781A #271A78 #781A6B
monochromatic
#0D1905 #23460F #3C781A #55AA25 #71D438

Accessibility & contrast

On white

5.39
#3C781A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #3C781A
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C781A#FFFFFF#000000##FFFFFF
##3C781A1.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D05
Deuteranopia (green-blind)
#746824
Tritanopia (blue-blind)
#397366
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #3c781a;
/* rgb */ color: rgb(60, 120, 26);
/* oklch */ color: oklch(51.3% 0.139 136.8);
Tailwind
colors: {
  custom: {
    50: '#789f5e',
    500: '#3c781a',
    950: '#000000',
  },
}
SCSS
$custom: #3c781a;
$custom-light: #789f5e;
$custom-dark: #000000;
JSON
{
  "hex": "#3c781a",
  "rgb": {
    "r": 60,
    "g": 120,
    "b": 26
  },
  "hsl": {
    "h": 98.298,
    "s": 64.384,
    "l": 28.627
  },
  "oklch": {
    "l": 0.51279,
    "c": 0.13932,
    "h": 136.8
  },
  "luminance": 0.14468
}

Semantic roles & 50–950 ramp

primary
#3C781A
secondary
#8641AC
accent
#40E7AB
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090E05
muted
#7B7E79

Preview Lab

Preview with #3C781A

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

Preview Lab → · Contrast checker → · Palette generator →

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