#2B6940#2B6940

#2B6940 is a mid, moderate green. Relative luminance 0.110; OKLCH L 46.9% C 0.092 H 152.2°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#2B6940
RGBrgb(43, 105, 64)
HSLhsl(140, 42%, 29%)
HSVhsv(140, 59%, 41%)
CMYKcmyk(59%, 0%, 39%, 58.8%)
CIE-LABlab(39.56, -30.16, 17.21)
CIE-LCHlch(39.56, 34.73, 150.28°)
OKLaboklab(46.85% -0.0818 0.0431)
OKLCHoklch(46.85% 0.092 152.2)
XYZxyz(6.9727, 10.9863, 6.6026)
Luminance0.1099 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B6940 #692B54
analogous
#35692B #2B6940 #2B695F
triadic
#2B6940 #402B69 #69402B
tetradic
#2B6940 #2B3569 #692B54 #695F2B
square
#2B6940 #2B3569 #692B54 #695F2B
split-complementary
#2B6940 #5F2B69 #692B35
monochromatic
#09160D #193E26 #2B6940 #3D945A #55B977

Accessibility & contrast

On white

6.57
#2B6940 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#2B6940 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B6940
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B6940#FFFFFF#000000##FFFFFF
##2B69401.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#69613D
Deuteranopia (green-blind)
#615B43
Tritanopia (blue-blind)
#1A685F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2b6940;
/* rgb */ color: rgb(43, 105, 64);
/* oklch */ color: oklch(46.9% 0.092 152.2);
Tailwind
colors: {
  custom: {
    50: '#6a9475',
    500: '#2b6940',
    950: '#000000',
  },
}
SCSS
$custom: #2b6940;
$custom-light: #6a9475;
$custom-dark: #000000;
JSON
{
  "hex": "#2b6940",
  "rgb": {
    "r": 43,
    "g": 105,
    "b": 64
  },
  "hsl": {
    "h": 140.323,
    "s": 41.892,
    "l": 29.02
  },
  "oklch": {
    "l": 0.46854,
    "c": 0.09245,
    "h": 152.2
  },
  "luminance": 0.10987
}

Semantic roles & 50–950 ramp

primary
#2B6940
secondary
#9B5583
accent
#56A8D2
background
#F6F9F7
surface
#EBF1ED
border
#C6CBC8
text
#070D08
muted
#7A7E7B

Preview Lab

Preview with #2B6940

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

Preview Lab → · Contrast checker → · Palette generator →

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