#2B7039#2B7039

#2B7039 is a mid, moderate green. Relative luminance 0.124; OKLCH L 48.7% C 0.111 H 147.7°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#2B7039
RGBrgb(43, 112, 57)
HSLhsl(132, 45%, 30%)
HSVhsv(132, 62%, 44%)
CMYKcmyk(61.6%, 0%, 49.1%, 56.1%)
CIE-LABlab(41.84, -34.58, 24.19)
CIE-LCHlch(41.84, 42.20, 145.03°)
OKLaboklab(48.69% -0.0935 0.059)
OKLCHoklch(48.69% 0.111 147.7)
XYZxyz(7.5284, 12.3966, 5.8662)
Luminance0.1240 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7039 #702B62
analogous
#3F702B #2B7039 #2B705B
triadic
#2B7039 #392B70 #70392B
tetradic
#2B7039 #2B3F70 #702B62 #705B2B
square
#2B7039 #2B3F70 #702B62 #705B2B
split-complementary
#2B7039 #5B2B70 #702B3F
monochromatic
#09180C #1A4422 #2B7039 #3C9C50 #57BE6C

Accessibility & contrast

On white

6.04
#2B7039 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#2B7039 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7039
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7039#FFFFFF#000000##FFFFFF
##2B70391.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716635
Deuteranopia (green-blind)
#68603D
Tritanopia (blue-blind)
#1A6E63
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2b7039;
/* rgb */ color: rgb(43, 112, 57);
/* oklch */ color: oklch(48.7% 0.111 147.7);
Tailwind
colors: {
  custom: {
    50: '#6c9a70',
    500: '#2b7039',
    950: '#000000',
  },
}
SCSS
$custom: #2b7039;
$custom-light: #6c9a70;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7039",
  "rgb": {
    "r": 43,
    "g": 112,
    "b": 57
  },
  "hsl": {
    "h": 132.174,
    "s": 44.516,
    "l": 30.392
  },
  "oklch": {
    "l": 0.48688,
    "c": 0.1106,
    "h": 147.7
  },
  "luminance": 0.12397
}

Semantic roles & 50–950 ramp

primary
#2B7039
secondary
#A25592
accent
#54BAD4
background
#F6F9F6
surface
#ECF2EC
border
#C7CCC7
text
#070E07
muted
#7A7E7A

Preview Lab

Preview with #2B7039

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

Preview Lab → · Contrast checker → · Palette generator →

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