#2B6331#2B6331

#2B6331 is a dark, moderate green. Relative luminance 0.097; OKLCH L 44.9% C 0.099 H 145.8°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#2B6331
RGBrgb(43, 99, 49)
HSLhsl(126, 39%, 28%)
HSVhsv(126, 57%, 39%)
CMYKcmyk(56.6%, 0%, 50.5%, 61.2%)
CIE-LABlab(37.22, -30.19, 22.86)
CIE-LCHlch(37.22, 37.87, 142.87°)
OKLaboklab(44.85% -0.0819 0.0556)
OKLCHoklch(44.85% 0.099 145.8)
XYZxyz(6.0121, 9.6585, 4.4526)
Luminance0.0966 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B6331 #632B5D
analogous
#41632B #2B6331 #2B634D
triadic
#2B6331 #312B63 #63312B
tetradic
#2B6331 #2B4163 #632B5D #634D2B
square
#2B6331 #2B4163 #632B5D #634D2B
split-complementary
#2B6331 #4D2B63 #632B41
monochromatic
#09150B #18381C #2B6331 #3E8E46 #54B55E

Accessibility & contrast

On white

7.16
#2B6331 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#2B6331 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B6331
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B6331#FFFFFF#000000##FFFFFF
##2B63311.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645B2D
Deuteranopia (green-blind)
#5D5634
Tritanopia (blue-blind)
#216157
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2b6331;
/* rgb */ color: rgb(43, 99, 49);
/* oklch */ color: oklch(44.9% 0.099 145.8);
Tailwind
colors: {
  custom: {
    50: '#6a906a',
    500: '#2b6331',
    950: '#000000',
  },
}
SCSS
$custom: #2b6331;
$custom-light: #6a906a;
$custom-dark: #000000;
JSON
{
  "hex": "#2b6331",
  "rgb": {
    "r": 43,
    "g": 99,
    "b": 49
  },
  "hsl": {
    "h": 126.429,
    "s": 39.437,
    "l": 27.843
  },
  "oklch": {
    "l": 0.44854,
    "c": 0.09898,
    "h": 145.8
  },
  "luminance": 0.09659
}

Semantic roles & 50–950 ramp

primary
#2B6331
secondary
#95558E
accent
#58C3CF
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#070C06
muted
#7A7D7A

Preview Lab

Preview with #2B6331

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

Preview Lab → · Contrast checker → · Palette generator →

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