#2A782A#2A782A

#2A782A is a mid, vivid green. Relative luminance 0.141; OKLCH L 50.7% C 0.137 H 143.2°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#2A782A
RGBrgb(42, 120, 42)
HSLhsl(120, 48%, 32%)
HSVhsv(120, 65%, 47%)
CMYKcmyk(65%, 0%, 65%, 52.9%)
CIE-LABlab(44.36, -40.26, 35.01)
CIE-LCHlch(44.36, 53.35, 138.99°)
OKLaboklab(50.7% -0.1093 0.0817)
OKLCHoklch(50.7% 0.137 143.2)
XYZxyz(8.0888, 14.0916, 4.4837)
Luminance0.1409 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A782A #782A78
analogous
#51782A #2A782A #2A7851
triadic
#2A782A #2A2A78 #782A2A
tetradic
#2A782A #2A5178 #782A78 #78512A
square
#2A782A #2A5178 #782A78 #78512A
split-complementary
#2A782A #512A78 #782A51
monochromatic
#0A1D0A #1A4B1A #2A782A #3AA53A #58C558

Accessibility & contrast

On white

5.50
#2A782A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#2A782A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A782A
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A782A#FFFFFF#000000##FFFFFF
##2A782A1.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6D21
Deuteranopia (green-blind)
#716631
Tritanopia (blue-blind)
#1A7567
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #2a782a;
/* rgb */ color: rgb(42, 120, 42);
/* oklch */ color: oklch(50.7% 0.137 143.2);
Tailwind
colors: {
  custom: {
    50: '#6ea067',
    500: '#2a782a',
    950: '#000000',
  },
}
SCSS
$custom: #2a782a;
$custom-light: #6ea067;
$custom-dark: #000000;
JSON
{
  "hex": "#2a782a",
  "rgb": {
    "r": 42,
    "g": 120,
    "b": 42
  },
  "hsl": {
    "h": 120,
    "s": 48.148,
    "l": 31.765
  },
  "oklch": {
    "l": 0.50697,
    "c": 0.13651,
    "h": 143.2
  },
  "luminance": 0.14092
}

Semantic roles & 50–950 ramp

primary
#2A782A
secondary
#AA54AA
accent
#50D8D8
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080F06
muted
#7B7E7A

Preview Lab

Preview with #2A782A

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

Preview Lab → · Contrast checker → · Palette generator →

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