#2A781E#2A781E

#2A781E is a mid, vivid green. Relative luminance 0.140; OKLCH L 50.6% C 0.145 H 141.2°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#2A781E
RGBrgb(42, 120, 30)
HSLhsl(112, 60%, 29%)
HSVhsv(112, 75%, 47%)
CMYKcmyk(65%, 0%, 75%, 52.9%)
CIE-LABlab(44.26, -41.48, 40.20)
CIE-LCHlch(44.26, 57.77, 135.90°)
OKLaboklab(50.58% -0.1133 0.0912)
OKLCHoklch(50.58% 0.145 141.2)
XYZxyz(7.9053, 14.0182, 3.5172)
Luminance0.1402 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A781E #6C1E78
analogous
#57781E #2A781E #1E783F
triadic
#2A781E #1E2A78 #781E2A
tetradic
#2A781E #1E5778 #6C1E78 #783F1E
square
#2A781E #1E5778 #6C1E78 #783F1E
split-complementary
#2A781E #3F1E78 #781E57
monochromatic
#091806 #194712 #2A781E #3BA92A #54CF41

Accessibility & contrast

On white

5.52
#2A781E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2A781E
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A781E#FFFFFF#000000##FFFFFF
##2A781E1.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6D0E
Deuteranopia (green-blind)
#726627
Tritanopia (blue-blind)
#1D7466
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #2a781e;
/* rgb */ color: rgb(42, 120, 30);
/* oklch */ color: oklch(50.6% 0.145 141.2);
Tailwind
colors: {
  custom: {
    50: '#6ea060',
    500: '#2a781e',
    950: '#000000',
  },
}
SCSS
$custom: #2a781e;
$custom-light: #6ea060;
$custom-dark: #000000;
JSON
{
  "hex": "#2a781e",
  "rgb": {
    "r": 42,
    "g": 120,
    "b": 30
  },
  "hsl": {
    "h": 112,
    "s": 60,
    "l": 29.412
  },
  "oklch": {
    "l": 0.50577,
    "c": 0.14545,
    "h": 141.2
  },
  "luminance": 0.14019
}

Semantic roles & 50–950 ramp

primary
#2A781E
secondary
#9E46AC
accent
#45E3CE
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080F05
muted
#7B7E79

Preview Lab

Preview with #2A781E

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

Preview Lab → · Contrast checker → · Palette generator →

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