#2B7945#2B7945

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

Color values

HEX#2B7945
RGBrgb(43, 121, 69)
HSLhsl(140, 48%, 32%)
HSVhsv(140, 64%, 47%)
CMYKcmyk(64.5%, 0%, 43%, 52.5%)
CIE-LABlab(45.11, -36.27, 21.65)
CIE-LCHlch(45.11, 42.25, 149.17°)
OKLaboklab(51.44% -0.098 0.0537)
OKLCHoklch(51.44% 0.112 151.3)
XYZxyz(8.9071, 14.6171, 7.9811)
Luminance0.1462 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7945 #792B5F
analogous
#38792B #2B7945 #2B796C
triadic
#2B7945 #452B79 #79452B
tetradic
#2B7945 #2B3879 #792B5F #796C2B
square
#2B7945 #2B3879 #792B5F #796C2B
split-complementary
#2B7945 #6C2B79 #792B38
monochromatic
#0B1F12 #1B4C2B #2B7945 #3BA65F #5AC47D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B7945#FFFFFF#000000##FFFFFF
##2B79451.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796F41
Deuteranopia (green-blind)
#6F6848
Tritanopia (blue-blind)
#10776C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2b7945;
/* rgb */ color: rgb(43, 121, 69);
/* oklch */ color: oklch(51.4% 0.112 151.3);
Tailwind
colors: {
  custom: {
    50: '#6da079',
    500: '#2b7945',
    950: '#000000',
  },
}
SCSS
$custom: #2b7945;
$custom-light: #6da079;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7945",
  "rgb": {
    "r": 43,
    "g": 121,
    "b": 69
  },
  "hsl": {
    "h": 140,
    "s": 47.561,
    "l": 32.157
  },
  "oklch": {
    "l": 0.51437,
    "c": 0.11176,
    "h": 151.3
  },
  "luminance": 0.14618
}

Semantic roles & 50–950 ramp

primary
#2B7945
secondary
#AA568E
accent
#51AAD7
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#080F09
muted
#7B7E7B

Preview Lab

Preview with #2B7945

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

Preview Lab → · Contrast checker → · Palette generator →

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