#2B792C#2B792C

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

Color values

HEX#2B792C
RGBrgb(43, 121, 44)
HSLhsl(121, 48%, 32%)
HSVhsv(121, 64%, 47%)
CMYKcmyk(64.5%, 0%, 63.6%, 52.5%)
CIE-LABlab(44.76, -40.17, 34.50)
CIE-LCHlch(44.76, 52.95, 139.34°)
OKLaboklab(51.04% -0.1091 0.0808)
OKLCHoklch(51.04% 0.136 143.5)
XYZxyz(8.2878, 14.3694, 4.7192)
Luminance0.1437 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B792C #792B78
analogous
#51792B #2B792C #2B7953
triadic
#2B792C #2C2B79 #792C2B
tetradic
#2B792C #2B5179 #792B78 #79532B
square
#2B792C #2B5179 #792B78 #79532B
split-complementary
#2B792C #532B79 #792B51
monochromatic
#0B1F0B #1B4C1C #2B792C #3BA63C #5AC45B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B792C#FFFFFF#000000##FFFFFF
##2B792C1.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)
#7B6E23
Deuteranopia (green-blind)
#726732
Tritanopia (blue-blind)
#1B7669
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2b792c;
/* rgb */ color: rgb(43, 121, 44);
/* oklch */ color: oklch(51.0% 0.136 143.5);
Tailwind
colors: {
  custom: {
    50: '#6ea068',
    500: '#2b792c',
    950: '#000000',
  },
}
SCSS
$custom: #2b792c;
$custom-light: #6ea068;
$custom-dark: #000000;
JSON
{
  "hex": "#2b792c",
  "rgb": {
    "r": 43,
    "g": 121,
    "b": 44
  },
  "hsl": {
    "h": 120.769,
    "s": 47.561,
    "l": 32.157
  },
  "oklch": {
    "l": 0.51038,
    "c": 0.13574,
    "h": 143.5
  },
  "luminance": 0.1437
}

Semantic roles & 50–950 ramp

primary
#2B792C
secondary
#AA56A9
accent
#51D5D7
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080F06
muted
#7B7E7A

Preview Lab

Preview with #2B792C

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

Preview Lab → · Contrast checker → · Palette generator →

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