#2B7249#2B7249

#2B7249 is a mid, moderate green. Relative luminance 0.130; OKLCH L 49.6% C 0.097 H 155.0°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#2B7249
RGBrgb(43, 114, 73)
HSLhsl(145, 45%, 31%)
HSVhsv(145, 62%, 45%)
CMYKcmyk(62.3%, 0%, 36%, 55.3%)
CIE-LABlab(42.81, -32.40, 16.30)
CIE-LCHlch(42.81, 36.27, 153.29°)
OKLaboklab(49.57% -0.088 0.041)
OKLCHoklch(49.57% 0.097 155)
XYZxyz(8.2155, 13.0285, 8.3838)
Luminance0.1303 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7249 #722B54
analogous
#30722B #2B7249 #2B726C
triadic
#2B7249 #492B72 #72492B
tetradic
#2B7249 #2B3072 #722B54 #726C2B
square
#2B7249 #2B3072 #722B54 #726C2B
split-complementary
#2B7249 #6C2B72 #722B30
monochromatic
#091910 #1A462D #2B7249 #3C9E65 #58C084

Accessibility & contrast

On white

5.82
#2B7249 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#2B7249 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7249
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7249#FFFFFF#000000##FFFFFF
##2B72491.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726946
Deuteranopia (green-blind)
#68624C
Tritanopia (blue-blind)
#117167
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2b7249;
/* rgb */ color: rgb(43, 114, 73);
/* oklch */ color: oklch(49.6% 0.097 155.0);
Tailwind
colors: {
  custom: {
    50: '#6c9b7c',
    500: '#2b7249',
    950: '#000000',
  },
}
SCSS
$custom: #2b7249;
$custom-light: #6c9b7c;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7249",
  "rgb": {
    "r": 43,
    "g": 114,
    "b": 73
  },
  "hsl": {
    "h": 145.352,
    "s": 45.223,
    "l": 30.784
  },
  "oklch": {
    "l": 0.49574,
    "c": 0.09709,
    "h": 155
  },
  "luminance": 0.13029
}

Semantic roles & 50–950 ramp

primary
#2B7249
secondary
#A45583
accent
#539ED5
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#070E09
muted
#7A7E7B

Preview Lab

Preview with #2B7249

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

Preview Lab → · Contrast checker → · Palette generator →

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