#2B7946#2B7946

#2B7946 is a mid, moderate green. Relative luminance 0.146; OKLCH L 51.5% C 0.111 H 151.8°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#2B7946
RGBrgb(43, 121, 70)
HSLhsl(141, 48%, 32%)
HSVhsv(141, 64%, 47%)
CMYKcmyk(64.5%, 0%, 42.1%, 52.5%)
CIE-LABlab(45.12, -36.08, 21.11)
CIE-LCHlch(45.12, 41.81, 149.67°)
OKLaboklab(51.46% -0.0975 0.0524)
OKLCHoklch(51.46% 0.111 151.8)
XYZxyz(8.9384, 14.6296, 8.1459)
Luminance0.1463 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7946 #792B5E
analogous
#37792B #2B7946 #2B796D
triadic
#2B7946 #462B79 #79462B
tetradic
#2B7946 #2B3779 #792B5E #796D2B
square
#2B7946 #2B3779 #792B5E #796D2B
split-complementary
#2B7946 #6D2B79 #792B37
monochromatic
#0B1F12 #1B4C2C #2B7946 #3BA660 #5AC47F

Accessibility & contrast

On white

5.35
#2B7946 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#2B7946 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7946
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7946#FFFFFF#000000##FFFFFF
##2B79461.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796F42
Deuteranopia (green-blind)
#6F6849
Tritanopia (blue-blind)
#0F776C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2b7946;
/* rgb */ color: rgb(43, 121, 70);
/* oklch */ color: oklch(51.5% 0.111 151.8);
Tailwind
colors: {
  custom: {
    50: '#6da07a',
    500: '#2b7946',
    950: '#000000',
  },
}
SCSS
$custom: #2b7946;
$custom-light: #6da07a;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7946",
  "rgb": {
    "r": 43,
    "g": 121,
    "b": 70
  },
  "hsl": {
    "h": 140.769,
    "s": 47.561,
    "l": 32.157
  },
  "oklch": {
    "l": 0.51457,
    "c": 0.11074,
    "h": 151.8
  },
  "luminance": 0.14631
}

Semantic roles & 50–950 ramp

primary
#2B7946
secondary
#AA568D
accent
#51A9D7
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#080F09
muted
#7B7E7B

Preview Lab

Preview with #2B7946

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

Preview Lab → · Contrast checker → · Palette generator →

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