#2A782F#2A782F

#2A782F is a mid, vivid green. Relative luminance 0.141; OKLCH L 50.8% C 0.132 H 144.3°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#2A782F
RGBrgb(42, 120, 47)
HSLhsl(124, 48%, 32%)
HSVhsv(124, 65%, 47%)
CMYKcmyk(65%, 0%, 60.8%, 52.9%)
CIE-LABlab(44.42, -39.63, 32.62)
CIE-LCHlch(44.42, 51.33, 140.54°)
OKLaboklab(50.76% -0.1074 0.0771)
OKLCHoklch(50.76% 0.132 144.3)
XYZxyz(8.1839, 14.1296, 4.9848)
Luminance0.1413 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A782F #782A73
analogous
#4C782A #2A782F #2A7856
triadic
#2A782F #2F2A78 #782F2A
tetradic
#2A782F #2A4C78 #782A73 #78562A
square
#2A782F #2A4C78 #782A73 #78562A
split-complementary
#2A782F #562A78 #782A4C
monochromatic
#0A1D0B #1A4B1D #2A782F #3AA541 #58C55F

Accessibility & contrast

On white

5.49
#2A782F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#2A782F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A782F
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A782F#FFFFFF#000000##FFFFFF
##2A782F1.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6D28
Deuteranopia (green-blind)
#716635
Tritanopia (blue-blind)
#197568
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #2a782f;
/* rgb */ color: rgb(42, 120, 47);
/* oklch */ color: oklch(50.8% 0.132 144.3);
Tailwind
colors: {
  custom: {
    50: '#6da06a',
    500: '#2a782f',
    950: '#000000',
  },
}
SCSS
$custom: #2a782f;
$custom-light: #6da06a;
$custom-dark: #000000;
JSON
{
  "hex": "#2a782f",
  "rgb": {
    "r": 42,
    "g": 120,
    "b": 47
  },
  "hsl": {
    "h": 123.846,
    "s": 48.148,
    "l": 31.765
  },
  "oklch": {
    "l": 0.5076,
    "c": 0.1322,
    "h": 144.3
  },
  "luminance": 0.1413
}

Semantic roles & 50–950 ramp

primary
#2A782F
secondary
#AA54A4
accent
#50CFD8
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#080F06
muted
#7A7E7A

Preview Lab

Preview with #2A782F

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

Preview Lab → · Contrast checker → · Palette generator →

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