#2B782D#2B782D

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

Color values

HEX#2B782D
RGBrgb(43, 120, 45)
HSLhsl(122, 47%, 32%)
HSVhsv(122, 64%, 47%)
CMYKcmyk(64.2%, 0%, 62.5%, 52.9%)
CIE-LABlab(44.43, -39.65, 33.63)
CIE-LCHlch(44.43, 51.99, 139.69°)
OKLaboklab(50.77% -0.1076 0.0791)
OKLCHoklch(50.77% 0.134 143.7)
XYZxyz(8.1859, 14.1352, 4.7791)
Luminance0.1414 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B782D #782B76
analogous
#50782B #2B782D #2B7853
triadic
#2B782D #2D2B78 #782D2B
tetradic
#2B782D #2B5078 #782B76 #78532B
square
#2B782D #2B5078 #782B76 #78532B
split-complementary
#2B782D #532B78 #782B50
monochromatic
#0B1E0B #1B4B1C #2B782D #3BA53E #5AC45C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B782D#FFFFFF#000000##FFFFFF
##2B782D1.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)
#7A6D25
Deuteranopia (green-blind)
#716733
Tritanopia (blue-blind)
#1B7568
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #2b782d;
/* rgb */ color: rgb(43, 120, 45);
/* oklch */ color: oklch(50.8% 0.134 143.7);
Tailwind
colors: {
  custom: {
    50: '#6ea069',
    500: '#2b782d',
    950: '#000000',
  },
}
SCSS
$custom: #2b782d;
$custom-light: #6ea069;
$custom-dark: #000000;
JSON
{
  "hex": "#2b782d",
  "rgb": {
    "r": 43,
    "g": 120,
    "b": 45
  },
  "hsl": {
    "h": 121.558,
    "s": 47.239,
    "l": 31.961
  },
  "oklch": {
    "l": 0.50768,
    "c": 0.13353,
    "h": 143.7
  },
  "luminance": 0.14136
}

Semantic roles & 50–950 ramp

primary
#2B782D
secondary
#AA55A7
accent
#51D3D7
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080F06
muted
#7B7E7A

Preview Lab

Preview with #2B782D

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

Preview Lab → · Contrast checker → · Palette generator →

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