#2A782C#2A782C

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

Color values

HEX#2A782C
RGBrgb(42, 120, 44)
HSLhsl(122, 48%, 32%)
HSVhsv(122, 65%, 47%)
CMYKcmyk(65%, 0%, 63.3%, 52.9%)
CIE-LABlab(44.38, -40.02, 34.07)
CIE-LCHlch(44.38, 52.55, 139.59°)
OKLaboklab(50.72% -0.1086 0.0799)
OKLCHoklch(50.72% 0.135 143.7)
XYZxyz(8.1255, 14.1062, 4.6770)
Luminance0.1411 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A782C #782A76
analogous
#4F782A #2A782C #2A7853
triadic
#2A782C #2C2A78 #782C2A
tetradic
#2A782C #2A4F78 #782A76 #78532A
square
#2A782C #2A4F78 #782A76 #78532A
split-complementary
#2A782C #532A78 #782A4F
monochromatic
#0A1D0B #1A4B1B #2A782C #3AA53D #58C55B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A782C#FFFFFF#000000##FFFFFF
##2A782C1.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)
#7A6D24
Deuteranopia (green-blind)
#716632
Tritanopia (blue-blind)
#1A7568
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #2a782c;
/* rgb */ color: rgb(42, 120, 44);
/* oklch */ color: oklch(50.7% 0.135 143.7);
Tailwind
colors: {
  custom: {
    50: '#6ea068',
    500: '#2a782c',
    950: '#000000',
  },
}
SCSS
$custom: #2a782c;
$custom-light: #6ea068;
$custom-dark: #000000;
JSON
{
  "hex": "#2a782c",
  "rgb": {
    "r": 42,
    "g": 120,
    "b": 44
  },
  "hsl": {
    "h": 121.538,
    "s": 48.148,
    "l": 31.765
  },
  "oklch": {
    "l": 0.50721,
    "c": 0.13482,
    "h": 143.7
  },
  "luminance": 0.14107
}

Semantic roles & 50–950 ramp

primary
#2A782C
secondary
#AA54A7
accent
#50D4D8
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#080F06
muted
#7A7E7A

Preview Lab

Preview with #2A782C

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

Preview Lab → · Contrast checker → · Palette generator →

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