#2A783A#2A783A

#2A783A is a mid, vivid green. Relative luminance 0.142; OKLCH L 50.9% C 0.122 H 147.4°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#2A783A
RGBrgb(42, 120, 58)
HSLhsl(132, 48%, 32%)
HSVhsv(132, 65%, 47%)
CMYKcmyk(65%, 0%, 51.7%, 52.9%)
CIE-LABlab(44.56, -38.02, 27.04)
CIE-LCHlch(44.56, 46.65, 144.58°)
OKLaboklab(50.92% -0.1027 0.0656)
OKLCHoklch(50.92% 0.122 147.4)
XYZxyz(8.4345, 14.2298, 6.3043)
Luminance0.1423 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A783A #782A68
analogous
#41782A #2A783A #2A7861
triadic
#2A783A #3A2A78 #783A2A
tetradic
#2A783A #2A4178 #782A68 #78612A
square
#2A783A #2A4178 #782A68 #78612A
split-complementary
#2A783A #612A78 #782A41
monochromatic
#0A1D0E #1A4B24 #2A783A #3AA550 #58C56E

Accessibility & contrast

On white

5.46
#2A783A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#2A783A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A783A
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A783A#FFFFFF#000000##FFFFFF
##2A783A1.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796E35
Deuteranopia (green-blind)
#70673E
Tritanopia (blue-blind)
#14756A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #2a783a;
/* rgb */ color: rgb(42, 120, 58);
/* oklch */ color: oklch(50.9% 0.122 147.4);
Tailwind
colors: {
  custom: {
    50: '#6da071',
    500: '#2a783a',
    950: '#000000',
  },
}
SCSS
$custom: #2a783a;
$custom-light: #6da071;
$custom-dark: #000000;
JSON
{
  "hex": "#2a783a",
  "rgb": {
    "r": 42,
    "g": 120,
    "b": 58
  },
  "hsl": {
    "h": 132.308,
    "s": 48.148,
    "l": 31.765
  },
  "oklch": {
    "l": 0.50924,
    "c": 0.12183,
    "h": 147.4
  },
  "luminance": 0.14231
}

Semantic roles & 50–950 ramp

primary
#2A783A
secondary
#AA5498
accent
#50BCD8
background
#F6F9F6
surface
#ECF2EC
border
#C7CCC7
text
#080F08
muted
#7B7E7B

Preview Lab

Preview with #2A783A

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

Preview Lab → · Contrast checker → · Palette generator →

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