#2B7048#2B7048

#2B7048 is a mid, moderate green. Relative luminance 0.126; OKLCH L 49.0% C 0.095 H 155.0°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#2B7048
RGBrgb(43, 112, 72)
HSLhsl(145, 45%, 30%)
HSVhsv(145, 62%, 44%)
CMYKcmyk(61.6%, 0%, 35.7%, 56.1%)
CIE-LABlab(42.11, -31.71, 15.94)
CIE-LCHlch(42.11, 35.49, 153.30°)
OKLaboklab(48.99% -0.0861 0.0401)
OKLCHoklch(48.99% 0.095 155)
XYZxyz(7.9595, 12.5691, 8.1362)
Luminance0.1257 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7048 #702B53
analogous
#31702B #2B7048 #2B706A
triadic
#2B7048 #482B70 #70482B
tetradic
#2B7048 #2B3170 #702B53 #706A2B
square
#2B7048 #2B3170 #702B53 #706A2B
split-complementary
#2B7048 #6A2B70 #702B31
monochromatic
#09180F #1A442C #2B7048 #3C9C64 #57BE82

Accessibility & contrast

On white

5.98
#2B7048 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#2B7048 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7048
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7048#FFFFFF#000000##FFFFFF
##2B70481.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706745
Deuteranopia (green-blind)
#66614B
Tritanopia (blue-blind)
#136F66
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2b7048;
/* rgb */ color: rgb(43, 112, 72);
/* oklch */ color: oklch(49.0% 0.095 155.0);
Tailwind
colors: {
  custom: {
    50: '#6c9a7b',
    500: '#2b7048',
    950: '#000000',
  },
}
SCSS
$custom: #2b7048;
$custom-light: #6c9a7b;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7048",
  "rgb": {
    "r": 43,
    "g": 112,
    "b": 72
  },
  "hsl": {
    "h": 145.217,
    "s": 44.516,
    "l": 30.392
  },
  "oklch": {
    "l": 0.48994,
    "c": 0.09504,
    "h": 155
  },
  "luminance": 0.1257
}

Semantic roles & 50–950 ramp

primary
#2B7048
secondary
#A25582
accent
#549ED4
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#070E09
muted
#7A7E7B

Preview Lab

Preview with #2B7048

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

Preview Lab → · Contrast checker → · Palette generator →

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