#2B6829#2B6829

#2B6829 is a mid, moderate green. Relative luminance 0.106; OKLCH L 46.2% C 0.115 H 142.9°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#2B6829
RGBrgb(43, 104, 41)
HSLhsl(118, 43%, 28%)
HSVhsv(118, 61%, 41%)
CMYKcmyk(58.7%, 0%, 60.6%, 59.2%)
CIE-LABlab(38.85, -33.59, 29.19)
CIE-LCHlch(38.85, 44.50, 139.01°)
OKLaboklab(46.16% -0.0914 0.0691)
OKLCHoklch(46.16% 0.115 142.9)
XYZxyz(6.3465, 10.5738, 3.8039)
Luminance0.1057 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B6829 #662968
analogous
#4A6829 #2B6829 #296846
triadic
#2B6829 #292B68 #68292B
tetradic
#2B6829 #294A68 #662968 #684629
square
#2B6829 #294A68 #662968 #684629
split-complementary
#2B6829 #462968 #68294A
monochromatic
#091609 #193C18 #2B6829 #3D943A #54BA51

Accessibility & contrast

On white

6.74
#2B6829 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#2B6829 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B6829
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B6829#FFFFFF#000000##FFFFFF
##2B68291.006.743.116.74
#FFFFFF6.741.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5F23
Deuteranopia (green-blind)
#62592E
Tritanopia (blue-blind)
#22655A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2b6829;
/* rgb */ color: rgb(43, 104, 41);
/* oklch */ color: oklch(46.2% 0.115 142.9);
Tailwind
colors: {
  custom: {
    50: '#6b9465',
    500: '#2b6829',
    950: '#000000',
  },
}
SCSS
$custom: #2b6829;
$custom-light: #6b9465;
$custom-dark: #000000;
JSON
{
  "hex": "#2b6829",
  "rgb": {
    "r": 43,
    "g": 104,
    "b": 41
  },
  "hsl": {
    "h": 118.095,
    "s": 43.448,
    "l": 28.431
  },
  "oklch": {
    "l": 0.46159,
    "c": 0.11457,
    "h": 142.9
  },
  "luminance": 0.10574
}

Semantic roles & 50–950 ramp

primary
#2B6829
secondary
#98529A
accent
#55D3CF
background
#F6F9F6
surface
#ECF1EB
border
#C7CBC6
text
#070D06
muted
#7A7E7A

Preview Lab

Preview with #2B6829

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

Preview Lab → · Contrast checker → · Palette generator →

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