#2B7934#2B7934

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

Color values

HEX#2B7934
RGBrgb(43, 121, 52)
HSLhsl(127, 48%, 32%)
HSVhsv(127, 64%, 47%)
CMYKcmyk(64.5%, 0%, 57%, 52.5%)
CIE-LABlab(44.85, -39.11, 30.59)
CIE-LCHlch(44.85, 49.65, 141.97°)
OKLaboklab(51.15% -0.1058 0.073)
OKLCHoklch(51.15% 0.129 145.4)
XYZxyz(8.4529, 14.4354, 5.5890)
Luminance0.1444 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7934 #792B70
analogous
#49792B #2B7934 #2B795B
triadic
#2B7934 #342B79 #79342B
tetradic
#2B7934 #2B4979 #792B70 #795B2B
square
#2B7934 #2B4979 #792B70 #795B2B
split-complementary
#2B7934 #5B2B79 #792B49
monochromatic
#0B1F0D #1B4C21 #2B7934 #3BA647 #5AC466

Accessibility & contrast

On white

5.40
#2B7934 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#2B7934 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7934
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7934#FFFFFF#000000##FFFFFF
##2B79341.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6E2E
Deuteranopia (green-blind)
#716739
Tritanopia (blue-blind)
#19766A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2b7934;
/* rgb */ color: rgb(43, 121, 52);
/* oklch */ color: oklch(51.1% 0.129 145.4);
Tailwind
colors: {
  custom: {
    50: '#6ea06d',
    500: '#2b7934',
    950: '#000000',
  },
}
SCSS
$custom: #2b7934;
$custom-light: #6ea06d;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7934",
  "rgb": {
    "r": 43,
    "g": 121,
    "b": 52
  },
  "hsl": {
    "h": 126.923,
    "s": 47.561,
    "l": 32.157
  },
  "oklch": {
    "l": 0.51145,
    "c": 0.12859,
    "h": 145.4
  },
  "luminance": 0.14436
}

Semantic roles & 50–950 ramp

primary
#2B7934
secondary
#AA56A0
accent
#51C8D7
background
#F6F9F6
surface
#ECF2EC
border
#C7CCC7
text
#080F07
muted
#7B7E7A

Preview Lab

Preview with #2B7934

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

Preview Lab → · Contrast checker → · Palette generator →

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