#2A782B#2A782B

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

Color values

HEX#2A782B
RGBrgb(42, 120, 43)
HSLhsl(121, 48%, 32%)
HSVhsv(121, 65%, 47%)
CMYKcmyk(65%, 0%, 64.2%, 52.9%)
CIE-LABlab(44.37, -40.14, 34.54)
CIE-LCHlch(44.37, 52.96, 139.29°)
OKLaboklab(50.71% -0.109 0.0808)
OKLCHoklch(50.71% 0.136 143.4)
XYZxyz(8.1069, 14.0988, 4.5791)
Luminance0.1410 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A782B #782A77
analogous
#50782A #2A782B #2A7852
triadic
#2A782B #2B2A78 #782B2A
tetradic
#2A782B #2A5078 #782A77 #78522A
square
#2A782B #2A5078 #782A77 #78522A
split-complementary
#2A782B #522A78 #782A50
monochromatic
#0A1D0B #1A4B1B #2A782B #3AA53B #58C559

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A782B#FFFFFF#000000##FFFFFF
##2A782B1.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)
#7A6D22
Deuteranopia (green-blind)
#716631
Tritanopia (blue-blind)
#1A7568
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #2a782b;
/* rgb */ color: rgb(42, 120, 43);
/* oklch */ color: oklch(50.7% 0.136 143.4);
Tailwind
colors: {
  custom: {
    50: '#6ea067',
    500: '#2a782b',
    950: '#000000',
  },
}
SCSS
$custom: #2a782b;
$custom-light: #6ea067;
$custom-dark: #000000;
JSON
{
  "hex": "#2a782b",
  "rgb": {
    "r": 42,
    "g": 120,
    "b": 43
  },
  "hsl": {
    "h": 120.769,
    "s": 48.148,
    "l": 31.765
  },
  "oklch": {
    "l": 0.50709,
    "c": 0.13567,
    "h": 143.4
  },
  "luminance": 0.141
}

Semantic roles & 50–950 ramp

primary
#2A782B
secondary
#AA54A9
accent
#50D6D8
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080F06
muted
#7B7E7A

Preview Lab

Preview with #2A782B

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

Preview Lab → · Contrast checker → · Palette generator →

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