#2B7943#2B7943

#2B7943 is a mid, moderate green. Relative luminance 0.146; OKLCH L 51.4% C 0.114 H 150.5°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#2B7943
RGBrgb(43, 121, 67)
HSLhsl(138, 48%, 32%)
HSVhsv(138, 64%, 47%)
CMYKcmyk(64.5%, 0%, 44.6%, 52.5%)
CIE-LABlab(45.07, -36.65, 22.73)
CIE-LCHlch(45.07, 43.13, 148.19°)
OKLaboklab(51.4% -0.099 0.0561)
OKLCHoklch(51.4% 0.114 150.5)
XYZxyz(8.8461, 14.5927, 7.6596)
Luminance0.1459 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7943 #792B61
analogous
#3A792B #2B7943 #2B796A
triadic
#2B7943 #432B79 #79432B
tetradic
#2B7943 #2B3A79 #792B61 #796A2B
square
#2B7943 #2B3A79 #792B61 #796A2B
split-complementary
#2B7943 #6A2B79 #792B3A
monochromatic
#0B1F11 #1B4C2A #2B7943 #3BA65C #5AC47B

Accessibility & contrast

On white

5.36
#2B7943 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#2B7943 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7943
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7943#FFFFFF#000000##FFFFFF
##2B79431.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6F3F
Deuteranopia (green-blind)
#706847
Tritanopia (blue-blind)
#11776C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2b7943;
/* rgb */ color: rgb(43, 121, 67);
/* oklch */ color: oklch(51.4% 0.114 150.5);
Tailwind
colors: {
  custom: {
    50: '#6da078',
    500: '#2b7943',
    950: '#000000',
  },
}
SCSS
$custom: #2b7943;
$custom-light: #6da078;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7943",
  "rgb": {
    "r": 43,
    "g": 121,
    "b": 67
  },
  "hsl": {
    "h": 138.462,
    "s": 47.561,
    "l": 32.157
  },
  "oklch": {
    "l": 0.51398,
    "c": 0.11379,
    "h": 150.5
  },
  "luminance": 0.14594
}

Semantic roles & 50–950 ramp

primary
#2B7943
secondary
#AA5690
accent
#51AED7
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#080F09
muted
#7B7E7B

Preview Lab

Preview with #2B7943

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

Preview Lab → · Contrast checker → · Palette generator →

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