#2B792D#2B792D

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

Color values

HEX#2B792D
RGBrgb(43, 121, 45)
HSLhsl(122, 48%, 32%)
HSVhsv(122, 64%, 47%)
CMYKcmyk(64.5%, 0%, 62.8%, 52.5%)
CIE-LABlab(44.77, -40.05, 34.03)
CIE-LCHlch(44.77, 52.55, 139.65°)
OKLaboklab(51.05% -0.1087 0.0799)
OKLCHoklch(51.05% 0.135 143.7)
XYZxyz(8.3068, 14.3770, 4.8194)
Luminance0.1438 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B792D #792B77
analogous
#50792B #2B792D #2B7954
triadic
#2B792D #2D2B79 #792D2B
tetradic
#2B792D #2B5079 #792B77 #79542B
square
#2B792D #2B5079 #792B77 #79542B
split-complementary
#2B792D #542B79 #792B50
monochromatic
#0B1F0B #1B4C1C #2B792D #3BA63E #5AC45D

Accessibility & contrast

On white

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

On black

3.88
#2B792D on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2B792D#FFFFFF#000000##FFFFFF
##2B792D1.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6E25
Deuteranopia (green-blind)
#726733
Tritanopia (blue-blind)
#1B7669
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2b792d;
/* rgb */ color: rgb(43, 121, 45);
/* oklch */ color: oklch(51.1% 0.135 143.7);
Tailwind
colors: {
  custom: {
    50: '#6ea069',
    500: '#2b792d',
    950: '#000000',
  },
}
SCSS
$custom: #2b792d;
$custom-light: #6ea069;
$custom-dark: #000000;
JSON
{
  "hex": "#2b792d",
  "rgb": {
    "r": 43,
    "g": 121,
    "b": 45
  },
  "hsl": {
    "h": 121.538,
    "s": 47.561,
    "l": 32.157
  },
  "oklch": {
    "l": 0.51051,
    "c": 0.13489,
    "h": 143.7
  },
  "luminance": 0.14378
}

Semantic roles & 50–950 ramp

primary
#2B792D
secondary
#AA56A8
accent
#51D4D7
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080F06
muted
#7B7E7A

Preview Lab

Preview with #2B792D

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

Preview Lab → · Contrast checker → · Palette generator →

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