#2B6540#2B6540

#2B6540 is a mid, moderate green. Relative luminance 0.102; OKLCH L 45.7% C 0.086 H 153.3°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#2B6540
RGBrgb(43, 101, 64)
HSLhsl(142, 40%, 28%)
HSVhsv(142, 57%, 40%)
CMYKcmyk(57.4%, 0%, 36.6%, 60.4%)
CIE-LABlab(38.18, -28.29, 15.37)
CIE-LCHlch(38.18, 32.20, 151.48°)
OKLaboklab(45.73% -0.0769 0.0386)
OKLCHoklch(45.73% 0.086 153.3)
XYZxyz(6.5749, 10.1905, 6.4700)
Luminance0.1019 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B6540 #652B50
analogous
#33652B #2B6540 #2B655D
triadic
#2B6540 #402B65 #65402B
tetradic
#2B6540 #2B3365 #652B50 #655D2B
square
#2B6540 #2B3365 #652B50 #655D2B
split-complementary
#2B6540 #5D2B65 #652B33
monochromatic
#09150E #193A25 #2B6540 #3D905B #54B678

Accessibility & contrast

On white

6.91
#2B6540 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#2B6540 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B6540
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B6540#FFFFFF#000000##FFFFFF
##2B65401.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655D3E
Deuteranopia (green-blind)
#5D5842
Tritanopia (blue-blind)
#1B645B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2b6540;
/* rgb */ color: rgb(43, 101, 64);
/* oklch */ color: oklch(45.7% 0.086 153.3);
Tailwind
colors: {
  custom: {
    50: '#6a9175',
    500: '#2b6540',
    950: '#000000',
  },
}
SCSS
$custom: #2b6540;
$custom-light: #6a9175;
$custom-dark: #000000;
JSON
{
  "hex": "#2b6540",
  "rgb": {
    "r": 43,
    "g": 101,
    "b": 64
  },
  "hsl": {
    "h": 141.724,
    "s": 40.278,
    "l": 28.235
  },
  "oklch": {
    "l": 0.45728,
    "c": 0.08606,
    "h": 153.3
  },
  "luminance": 0.10191
}

Semantic roles & 50–950 ramp

primary
#2B6540
secondary
#97557F
accent
#58A5D0
background
#F6F8F7
surface
#EBF0ED
border
#C6CBC8
text
#070D08
muted
#7A7D7B

Preview Lab

Preview with #2B6540

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

Preview Lab → · Contrast checker → · Palette generator →

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