#2A781A#2A781A

#2A781A is a mid, vivid green. Relative luminance 0.140; OKLCH L 50.5% C 0.148 H 140.7°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#2A781A
RGBrgb(42, 120, 26)
HSLhsl(110, 64%, 29%)
HSVhsv(110, 78%, 47%)
CMYKcmyk(65%, 0%, 78.3%, 52.9%)
CIE-LABlab(44.23, -41.81, 41.71)
CIE-LCHlch(44.23, 59.06, 135.06°)
OKLaboklab(50.54% -0.1145 0.0937)
OKLCHoklch(50.54% 0.148 140.7)
XYZxyz(7.8574, 13.9990, 3.2651)
Luminance0.1400 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A781A #681A78
analogous
#59781A #2A781A #1A7839
triadic
#2A781A #1A2A78 #781A2A
tetradic
#2A781A #1A5978 #681A78 #78391A
square
#2A781A #1A5978 #681A78 #78391A
split-complementary
#2A781A #391A78 #781A59
monochromatic
#091905 #18460F #2A781A #3CAA25 #53D438

Accessibility & contrast

On white

5.53
#2A781A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#2A781A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A781A
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A781A#FFFFFF#000000##FFFFFF
##2A781A1.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C06
Deuteranopia (green-blind)
#726624
Tritanopia (blue-blind)
#1E7466
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #2a781a;
/* rgb */ color: rgb(42, 120, 26);
/* oklch */ color: oklch(50.5% 0.148 140.7);
Tailwind
colors: {
  custom: {
    50: '#6fa05e',
    500: '#2a781a',
    950: '#000000',
  },
}
SCSS
$custom: #2a781a;
$custom-light: #6fa05e;
$custom-dark: #000000;
JSON
{
  "hex": "#2a781a",
  "rgb": {
    "r": 42,
    "g": 120,
    "b": 26
  },
  "hsl": {
    "h": 109.787,
    "s": 64.384,
    "l": 28.627
  },
  "oklch": {
    "l": 0.50545,
    "c": 0.14794,
    "h": 140.7
  },
  "luminance": 0.14
}

Semantic roles & 50–950 ramp

primary
#2A781A
secondary
#9A41AC
accent
#40E7CB
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080F05
muted
#7B7E79

Preview Lab

Preview with #2A781A

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

Preview Lab → · Contrast checker → · Palette generator →

#2A781A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva