#2B6342#2B6342

#2B6342 is a mid, moderate green. Relative luminance 0.098; OKLCH L 45.2% C 0.081 H 155.4°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#2B6342
RGBrgb(43, 99, 66)
HSLhsl(145, 39%, 28%)
HSVhsv(145, 57%, 39%)
CMYKcmyk(56.6%, 0%, 33.3%, 61.2%)
CIE-LABlab(37.54, -26.91, 13.30)
CIE-LCHlch(37.54, 30.02, 153.70°)
OKLaboklab(45.21% -0.0734 0.0336)
OKLCHoklch(45.21% 0.081 155.4)
XYZxyz(6.4410, 9.8301, 6.7112)
Luminance0.0983 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B6342 #632B4C
analogous
#30632B #2B6342 #2B635E
triadic
#2B6342 #422B63 #63422B
tetradic
#2B6342 #2B3063 #632B4C #635E2B
square
#2B6342 #2B3063 #632B4C #635E2B
split-complementary
#2B6342 #5E2B63 #632B30
monochromatic
#09150E #183826 #2B6342 #3E8E5E #54B57C

Accessibility & contrast

On white

7.08
#2B6342 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#2B6342 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B6342
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B6342#FFFFFF#000000##FFFFFF
##2B63421.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635C40
Deuteranopia (green-blind)
#5B5644
Tritanopia (blue-blind)
#1B625A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2b6342;
/* rgb */ color: rgb(43, 99, 66);
/* oklch */ color: oklch(45.2% 0.081 155.4);
Tailwind
colors: {
  custom: {
    50: '#699076',
    500: '#2b6342',
    950: '#000000',
  },
}
SCSS
$custom: #2b6342;
$custom-light: #699076;
$custom-dark: #000000;
JSON
{
  "hex": "#2b6342",
  "rgb": {
    "r": 43,
    "g": 99,
    "b": 66
  },
  "hsl": {
    "h": 144.643,
    "s": 39.437,
    "l": 27.843
  },
  "oklch": {
    "l": 0.45213,
    "c": 0.08071,
    "h": 155.4
  },
  "luminance": 0.09831
}

Semantic roles & 50–950 ramp

primary
#2B6342
secondary
#95557B
accent
#589FCF
background
#F6F8F7
surface
#EBF0ED
border
#C6CBC8
text
#070C08
muted
#7A7D7B

Preview Lab

Preview with #2B6342

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

Preview Lab → · Contrast checker → · Palette generator →

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