#2B782A#2B782A

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

Color values

HEX#2B782A
RGBrgb(43, 120, 42)
HSLhsl(119, 48%, 32%)
HSVhsv(119, 65%, 47%)
CMYKcmyk(64.2%, 0%, 65%, 52.9%)
CIE-LABlab(44.39, -40.02, 35.05)
CIE-LCHlch(44.39, 53.20, 138.78°)
OKLaboklab(50.73% -0.1087 0.0818)
OKLCHoklch(50.73% 0.136 143.1)
XYZxyz(8.1302, 14.1129, 4.4857)
Luminance0.1411 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B782A #772A78
analogous
#52782A #2B782A #2A7850
triadic
#2B782A #2A2B78 #782A2B
tetradic
#2B782A #2A5278 #772A78 #78502A
square
#2B782A #2A5278 #772A78 #78502A
split-complementary
#2B782A #502A78 #782A52
monochromatic
#0B1D0A #1B4B1A #2B782A #3BA53A #59C558

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B782A#FFFFFF#000000##FFFFFF
##2B782A1.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

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

Design tokens & code

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

Semantic roles & 50–950 ramp

primary
#2B782A
secondary
#A954AA
accent
#50D8D6
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080F06
muted
#7B7E7A

Preview Lab

Preview with #2B782A

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

Preview Lab → · Contrast checker → · Palette generator →

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