#2B792A#2B792A

#2B792A is a mid, vivid green. Relative luminance 0.144; OKLCH L 51.0% C 0.137 H 143.0°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#2B792A
RGBrgb(43, 121, 42)
HSLhsl(119, 48%, 32%)
HSVhsv(119, 65%, 47%)
CMYKcmyk(64.5%, 0%, 65.3%, 52.5%)
CIE-LABlab(44.74, -40.41, 35.44)
CIE-LCHlch(44.74, 53.75, 138.75°)
OKLaboklab(51.01% -0.1098 0.0826)
OKLCHoklch(51.01% 0.137 143)
XYZxyz(8.2511, 14.3547, 4.5260)
Luminance0.1436 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B792A #782A79
analogous
#52792A #2B792A #2A7951
triadic
#2B792A #2A2B79 #792A2B
tetradic
#2B792A #2A5279 #782A79 #79512A
square
#2B792A #2A5279 #782A79 #79512A
split-complementary
#2B792A #512A79 #792A52
monochromatic
#0B1E0A #1B4C1A #2B792A #3BA63A #5AC558

Accessibility & contrast

On white

5.42
#2B792A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#2B792A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B792A
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B792A#FFFFFF#000000##FFFFFF
##2B792A1.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6E21
Deuteranopia (green-blind)
#726731
Tritanopia (blue-blind)
#1C7568
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2b792a;
/* rgb */ color: rgb(43, 121, 42);
/* oklch */ color: oklch(51.0% 0.137 143.0);
Tailwind
colors: {
  custom: {
    50: '#6ea067',
    500: '#2b792a',
    950: '#000000',
  },
}
SCSS
$custom: #2b792a;
$custom-light: #6ea067;
$custom-dark: #000000;
JSON
{
  "hex": "#2b792a",
  "rgb": {
    "r": 43,
    "g": 121,
    "b": 42
  },
  "hsl": {
    "h": 119.241,
    "s": 48.466,
    "l": 31.961
  },
  "oklch": {
    "l": 0.51014,
    "c": 0.13742,
    "h": 143
  },
  "luminance": 0.14356
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B792A

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

Preview Lab → · Contrast checker → · Palette generator →

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