#2B7145#2B7145

#2B7145 is a mid, moderate green. Relative luminance 0.128; OKLCH L 49.2% C 0.100 H 153.0°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#2B7145
RGBrgb(43, 113, 69)
HSLhsl(142, 45%, 31%)
HSVhsv(142, 62%, 44%)
CMYKcmyk(61.9%, 0%, 38.9%, 55.7%)
CIE-LABlab(42.39, -32.78, 18.07)
CIE-LCHlch(42.39, 37.43, 151.14°)
OKLaboklab(49.21% -0.0888 0.0452)
OKLCHoklch(49.21% 0.1 153)
XYZxyz(7.9749, 12.7528, 7.6703)
Luminance0.1275 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7145 #712B57
analogous
#34712B #2B7145 #2B7168
triadic
#2B7145 #452B71 #71452B
tetradic
#2B7145 #2B3471 #712B57 #71682B
square
#2B7145 #2B3471 #712B57 #71682B
split-complementary
#2B7145 #682B71 #712B34
monochromatic
#09180F #1A452A #2B7145 #3C9D60 #57BF7E

Accessibility & contrast

On white

5.91
#2B7145 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#2B7145 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7145
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7145#FFFFFF#000000##FFFFFF
##2B71451.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716842
Deuteranopia (green-blind)
#686148
Tritanopia (blue-blind)
#147066
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2b7145;
/* rgb */ color: rgb(43, 113, 69);
/* oklch */ color: oklch(49.2% 0.100 153.0);
Tailwind
colors: {
  custom: {
    50: '#6c9a79',
    500: '#2b7145',
    950: '#000000',
  },
}
SCSS
$custom: #2b7145;
$custom-light: #6c9a79;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7145",
  "rgb": {
    "r": 43,
    "g": 113,
    "b": 69
  },
  "hsl": {
    "h": 142.286,
    "s": 44.872,
    "l": 30.588
  },
  "oklch": {
    "l": 0.49206,
    "c": 0.09967,
    "h": 153
  },
  "luminance": 0.12754
}

Semantic roles & 50–950 ramp

primary
#2B7145
secondary
#A35586
accent
#53A5D5
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#070E09
muted
#7A7E7B

Preview Lab

Preview with #2B7145

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

Preview Lab → · Contrast checker → · Palette generator →

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