#3C781B#3C781B

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

Color values

HEX#3C781B
RGBrgb(60, 120, 27)
HSLhsl(99, 63%, 29%)
HSVhsv(99, 78%, 47%)
CMYKcmyk(50%, 0%, 77.5%, 52.9%)
CIE-LABlab(44.90, -36.51, 42.23)
CIE-LCHlch(44.90, 55.82, 130.85°)
OKLaboklab(51.29% -0.1013 0.0947)
OKLCHoklch(51.29% 0.139 136.9)
XYZxyz(8.7775, 14.4721, 3.3676)
Luminance0.1447 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C781B #571B78
analogous
#6B781B #3C781B #1B7829
triadic
#3C781B #1B3C78 #781B3C
tetradic
#3C781B #1B6B78 #571B78 #78291B
square
#3C781B #1B6B78 #571B78 #78291B
split-complementary
#3C781B #291B78 #781B6B
monochromatic
#0C1906 #234610 #3C781B #55AA26 #71D33B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3C781B#FFFFFF#000000##FFFFFF
##3C781B1.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)
#7C6D08
Deuteranopia (green-blind)
#746825
Tritanopia (blue-blind)
#397366
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #3c781b;
/* rgb */ color: rgb(60, 120, 27);
/* oklch */ color: oklch(51.3% 0.139 136.9);
Tailwind
colors: {
  custom: {
    50: '#789f5f',
    500: '#3c781b',
    950: '#000000',
  },
}
SCSS
$custom: #3c781b;
$custom-light: #789f5f;
$custom-dark: #000000;
JSON
{
  "hex": "#3c781b",
  "rgb": {
    "r": 60,
    "g": 120,
    "b": 27
  },
  "hsl": {
    "h": 98.71,
    "s": 63.265,
    "l": 28.824
  },
  "oklch": {
    "l": 0.51287,
    "c": 0.13872,
    "h": 136.9
  },
  "luminance": 0.14473
}

Semantic roles & 50–950 ramp

primary
#3C781B
secondary
#8743AC
accent
#41E6AC
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090E05
muted
#7B7E79

Preview Lab

Preview with #3C781B

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

Preview Lab → · Contrast checker → · Palette generator →

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