#2B791E#2B791E

#2B791E is a mid, vivid green. Relative luminance 0.143; OKLCH L 50.9% C 0.146 H 141.1°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#2B791E
RGBrgb(43, 121, 30)
HSLhsl(111, 60%, 30%)
HSVhsv(111, 75%, 47%)
CMYKcmyk(64.5%, 0%, 75.2%, 52.5%)
CIE-LABlab(44.63, -41.61, 40.59)
CIE-LCHlch(44.63, 58.13, 135.71°)
OKLaboklab(50.9% -0.1138 0.092)
OKLCHoklch(50.9% 0.146 141.1)
XYZxyz(8.0676, 14.2813, 3.5595)
Luminance0.1428 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B791E #6C1E79
analogous
#58791E #2B791E #1E793F
triadic
#2B791E #1E2B79 #791E2B
tetradic
#2B791E #1E5879 #6C1E79 #793F1E
square
#2B791E #1E5879 #6C1E79 #793F1E
split-complementary
#2B791E #3F1E79 #791E58
monochromatic
#091906 #1A4812 #2B791E #3CAA2A #56D041

Accessibility & contrast

On white

5.45
#2B791E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#2B791E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B791E
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B791E#FFFFFF#000000##FFFFFF
##2B791E1.005.453.865.45
#FFFFFF5.451.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D0E
Deuteranopia (green-blind)
#736727
Tritanopia (blue-blind)
#1E7567
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2b791e;
/* rgb */ color: rgb(43, 121, 30);
/* oklch */ color: oklch(50.9% 0.146 141.1);
Tailwind
colors: {
  custom: {
    50: '#6fa060',
    500: '#2b791e',
    950: '#000000',
  },
}
SCSS
$custom: #2b791e;
$custom-light: #6fa060;
$custom-dark: #000000;
JSON
{
  "hex": "#2b791e",
  "rgb": {
    "r": 43,
    "g": 121,
    "b": 30
  },
  "hsl": {
    "h": 111.429,
    "s": 60.265,
    "l": 29.608
  },
  "oklch": {
    "l": 0.50895,
    "c": 0.14629,
    "h": 141.1
  },
  "luminance": 0.14282
}

Semantic roles & 50–950 ramp

primary
#2B791E
secondary
#9E46AD
accent
#44E3CD
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080F05
muted
#7B7E79

Preview Lab

Preview with #2B791E

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

Preview Lab → · Contrast checker → · Palette generator →

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