#2B6845#2B6845

#2B6845 is a mid, moderate green. Relative luminance 0.108; OKLCH L 46.7% C 0.086 H 155.7°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#2B6845
RGBrgb(43, 104, 69)
HSLhsl(146, 41%, 29%)
HSVhsv(146, 59%, 41%)
CMYKcmyk(58.7%, 0%, 33.7%, 59.2%)
CIE-LABlab(39.32, -28.64, 13.93)
CIE-LCHlch(39.32, 31.85, 154.07°)
OKLaboklab(46.69% -0.078 0.0352)
OKLCHoklch(46.69% 0.086 155.7)
XYZxyz(7.0202, 10.8433, 7.3521)
Luminance0.1084 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B6845 #682B4E
analogous
#30682B #2B6845 #2B6864
triadic
#2B6845 #452B68 #68452B
tetradic
#2B6845 #2B3068 #682B4E #68642B
square
#2B6845 #2B3068 #682B4E #68642B
split-complementary
#2B6845 #642B68 #682B30
monochromatic
#09160E #193D28 #2B6845 #3D9362 #55B97F

Accessibility & contrast

On white

6.63
#2B6845 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#2B6845 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B6845
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B6845#FFFFFF#000000##FFFFFF
##2B68451.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#686043
Deuteranopia (green-blind)
#5F5A47
Tritanopia (blue-blind)
#18675F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2b6845;
/* rgb */ color: rgb(43, 104, 69);
/* oklch */ color: oklch(46.7% 0.086 155.7);
Tailwind
colors: {
  custom: {
    50: '#6a9379',
    500: '#2b6845',
    950: '#000000',
  },
}
SCSS
$custom: #2b6845;
$custom-light: #6a9379;
$custom-dark: #000000;
JSON
{
  "hex": "#2b6845",
  "rgb": {
    "r": 43,
    "g": 104,
    "b": 69
  },
  "hsl": {
    "h": 145.574,
    "s": 41.497,
    "l": 28.824
  },
  "oklch": {
    "l": 0.46689,
    "c": 0.08562,
    "h": 155.7
  },
  "luminance": 0.10844
}

Semantic roles & 50–950 ramp

primary
#2B6845
secondary
#9A557D
accent
#569DD1
background
#F6F9F7
surface
#EBF1ED
border
#C6CBC8
text
#070D09
muted
#7A7E7B

Preview Lab

Preview with #2B6845

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

Preview Lab → · Contrast checker → · Palette generator →

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