#2B6840#2B6840

#2B6840 is a mid, moderate green. Relative luminance 0.108; OKLCH L 46.6% C 0.091 H 152.5°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#2B6840
RGBrgb(43, 104, 64)
HSLhsl(141, 41%, 29%)
HSVhsv(141, 59%, 41%)
CMYKcmyk(58.7%, 0%, 38.5%, 59.2%)
CIE-LABlab(39.21, -29.70, 16.76)
CIE-LCHlch(39.21, 34.10, 150.57°)
OKLaboklab(46.57% -0.0806 0.042)
OKLCHoklch(46.57% 0.091 152.5)
XYZxyz(6.8715, 10.7838, 6.5689)
Luminance0.1078 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B6840 #682B53
analogous
#35682B #2B6840 #2B685F
triadic
#2B6840 #402B68 #68402B
tetradic
#2B6840 #2B3568 #682B53 #685F2B
square
#2B6840 #2B3568 #682B53 #685F2B
split-complementary
#2B6840 #5F2B68 #682B35
monochromatic
#09160D #193D25 #2B6840 #3D935B #55B977

Accessibility & contrast

On white

6.65
#2B6840 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#2B6840 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B6840
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B6840#FFFFFF#000000##FFFFFF
##2B68401.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#68603D
Deuteranopia (green-blind)
#605A43
Tritanopia (blue-blind)
#1A675E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2b6840;
/* rgb */ color: rgb(43, 104, 64);
/* oklch */ color: oklch(46.6% 0.091 152.5);
Tailwind
colors: {
  custom: {
    50: '#6a9475',
    500: '#2b6840',
    950: '#000000',
  },
}
SCSS
$custom: #2b6840;
$custom-light: #6a9475;
$custom-dark: #000000;
JSON
{
  "hex": "#2b6840",
  "rgb": {
    "r": 43,
    "g": 104,
    "b": 64
  },
  "hsl": {
    "h": 140.656,
    "s": 41.497,
    "l": 28.824
  },
  "oklch": {
    "l": 0.46572,
    "c": 0.09085,
    "h": 152.5
  },
  "luminance": 0.10784
}

Semantic roles & 50–950 ramp

primary
#2B6840
secondary
#9A5582
accent
#56A7D1
background
#F6F9F7
surface
#EBF1ED
border
#C6CBC8
text
#070D08
muted
#7A7E7B

Preview Lab

Preview with #2B6840

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

Preview Lab → · Contrast checker → · Palette generator →

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