#2B7929#2B7929

#2B7929 is a mid, vivid green. Relative luminance 0.143; OKLCH L 51.0% C 0.138 H 142.8°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#2B7929
RGBrgb(43, 121, 41)
HSLhsl(119, 49%, 32%)
HSVhsv(119, 66%, 47%)
CMYKcmyk(64.5%, 0%, 66.1%, 52.5%)
CIE-LABlab(44.73, -40.52, 35.90)
CIE-LCHlch(44.73, 54.14, 138.46°)
OKLaboklab(51% -0.1102 0.0835)
OKLCHoklch(51% 0.138 142.8)
XYZxyz(8.2334, 14.3476, 4.4329)
Luminance0.1435 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7929 #772979
analogous
#537929 #2B7929 #29794F
triadic
#2B7929 #292B79 #79292B
tetradic
#2B7929 #295379 #772979 #794F29
square
#2B7929 #295379 #772979 #794F29
split-complementary
#2B7929 #4F2979 #792953
monochromatic
#0B1E0A #1B4B1A #2B7929 #3BA738 #59C656

Accessibility & contrast

On white

5.43
#2B7929 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2B7929
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7929#FFFFFF#000000##FFFFFF
##2B79291.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b7929;
/* rgb */ color: rgb(43, 121, 41);
/* oklch */ color: oklch(51.0% 0.138 142.8);
Tailwind
colors: {
  custom: {
    50: '#6ea066',
    500: '#2b7929',
    950: '#000000',
  },
}
SCSS
$custom: #2b7929;
$custom-light: #6ea066;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7929",
  "rgb": {
    "r": 43,
    "g": 121,
    "b": 41
  },
  "hsl": {
    "h": 118.5,
    "s": 49.383,
    "l": 31.765
  },
  "oklch": {
    "l": 0.51003,
    "c": 0.13824,
    "h": 142.8
  },
  "luminance": 0.14348
}

Semantic roles & 50–950 ramp

primary
#2B7929
secondary
#A953AB
accent
#4FD9D5
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080F06
muted
#7B7E7A

Preview Lab

Preview with #2B7929

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

Preview Lab → · Contrast checker → · Palette generator →

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