#3C781C#3C781C

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

Color values

HEX#3C781C
RGBrgb(60, 120, 28)
HSLhsl(99, 62%, 29%)
HSVhsv(99, 77%, 47%)
CMYKcmyk(50%, 0%, 76.7%, 52.9%)
CIE-LABlab(44.91, -36.44, 41.85)
CIE-LCHlch(44.91, 55.49, 131.04°)
OKLaboklab(51.29% -0.1011 0.0941)
OKLCHoklch(51.29% 0.138 137)
XYZxyz(8.7893, 14.4768, 3.4296)
Luminance0.1448 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C781C #581C78
analogous
#6A781C #3C781C #1C782A
triadic
#3C781C #1C3C78 #781C3C
tetradic
#3C781C #1C6A78 #581C78 #782A1C
square
#3C781C #1C6A78 #581C78 #782A1C
split-complementary
#3C781C #2A1C78 #781C6A
monochromatic
#0C1906 #234610 #3C781C #55AA28 #71D23D

Accessibility & contrast

On white

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

On black

3.90
#3C781C on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3C781C#FFFFFF#000000##FFFFFF
##3C781C1.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3c781c;
/* rgb */ color: rgb(60, 120, 28);
/* oklch */ color: oklch(51.3% 0.138 137.0);
Tailwind
colors: {
  custom: {
    50: '#789f5f',
    500: '#3c781c',
    950: '#000000',
  },
}
SCSS
$custom: #3c781c;
$custom-light: #789f5f;
$custom-dark: #000000;
JSON
{
  "hex": "#3c781c",
  "rgb": {
    "r": 60,
    "g": 120,
    "b": 28
  },
  "hsl": {
    "h": 99.13,
    "s": 62.162,
    "l": 29.02
  },
  "oklch": {
    "l": 0.51294,
    "c": 0.1381,
    "h": 137
  },
  "luminance": 0.14477
}

Semantic roles & 50–950 ramp

primary
#3C781C
secondary
#8844AC
accent
#43E5AD
background
#F7F9F5
surface
#EEF2EA
border
#C9CCC6
text
#090E05
muted
#7B7E79

Preview Lab

Preview with #3C781C

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

Preview Lab → · Contrast checker → · Palette generator →

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